Class: ContentBlockIaController

Kekule.Editor. ContentBlockIaController

new ContentBlockIaController()

Base controller to add or edit content block in document.
Source:

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
Source:

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
Inherited From:
Source:

initialize()

Source:

setEditor(editor)

Set associated editor.
Parameters:
Name Type Description
editor Kekule.ChemWidget.BaseEditor
Inherited From:
Source: