dundas.controls.ScriptEditorContext Class

 

Inheritance Hierarchy

 
Class
   dundas.EventDisposable
      dundas.controls.ScriptEditorContext
 

Constructors

 
  Name Description
init
 
 

Properties

 
  Name Description
adapter Get the adapter the script is associated with
adapters Gets a list of adapters which populate auto complete is set up for.
content Gets or sets the script that will be shown in the editor, or in the script editor currently.
isDisposed Gets a value indicating whether this instance has been disposed. Inherited from dundas.EventDisposable.
isReadOnly Gets or sets a value indicating whether the editor is in read-only mode.
keyCombo Gets or sets custom key combination to be used by codeMirror for this context.
languageMode Gets or sets the language of the script that will be shown in the editor.
noCanvasEditor Gets whether this context is for a screen which does not have a canvas on it.
saveOnChange Gets a property indicating to save on change or not.
scriptEditor Gets the script editor this context is attached to.
title Gets or sets the title of the script editor control.
uiCache Gets the UI cache table Inherited from dundas.EventDisposable.
 
 

Methods

 
  Name Description
attachToScriptEditor Attach to a script editor.
bind Bind an event to this class object. Inherited from dundas.EventDisposable.
dispose Inherited from dundas.EventDisposable.
fromJObject Applies the property values from a plain object created from JSON to the properties of this instance. Inherited from Class.
raiseBindEvent Fire the event specified with eventName, or subscribe a handler. Inherited from dundas.EventDisposable.
removeFromScriptEditor Remove context from a script editor, and deactivate the script editor, and then dispose of this context.
subscribe Subscribe or unsubscribe an event handler for an event. Inherited from dundas.EventDisposable.
subscribeDisposed Subscribe to the disposed event. Inherited from dundas.EventDisposable.
subscribeDragEnterEvent Subscribe a event handler for drag enter event.
subscribeDragLeaveEvent Subscribe a event handler for drag leave event.
subscribeDragOverEvent Subscribe a event handler for drag over event.
subscribeDropEvent Subscribe a event handler for drop event.
subscribeOnce Subscribe a one time event handler for an event. Inherited from dundas.EventDisposable.
subscribeSaveEvent Subscribe a event handler for the save event.
toJSON Implementation for toJSON to return an object that will include this class's prototype property values when stringified. Inherited from Class.
trigger Raise an event. Inherited from dundas.EventDisposable.
unbind Unsubscribe an event. if handler is specified, unsubscribe that handler. if no parameters are specified, unbind everything. Inherited from dundas.EventDisposable.
unbindAll unsubscribe all events. Inherited from dundas.EventDisposable.