new ContentBlockIaController()
Base controller to add or edit content block in document.
Extends
Methods
-
execute(chemSpace, baseCoord, block)
-
Called when IaController is selected and mouse clicked on document. Need to modify block or create new one when param block is null. Descendants need to override this method.
Parameters:
Name Type Description chemSpace
Kekule.ChemSpace baseCoord
Hash block
Kekule.ContentBlock -
getDefId()
-
Returns the preferred id for this controller.
- Inherited From:
- Source:
-
getEditor() → {Kekule.ChemWidget.BaseEditor}
-
Return associated editor.
- Inherited From:
- Source:
Returns:
- Type
- Kekule.ChemWidget.BaseEditor
-
getEditorConfigs() → {Object}
-
Get config object of editor.
- Inherited From:
- Source:
Returns:
- Type
- Object
-
hotTrackOnObj(obj)
-
Show a hot track marker on obj in editor.
Parameters:
Name Type Description obj
Kekule.ChemObject -
initialize()
-
setEditor(editor)
-
Set associated editor.
Parameters:
Name Type Description editor
Kekule.ChemWidget.BaseEditor - Inherited From:
- Source: