new ActionOnEditor(editor, caption, hint, explicitGroup)
Base class for actions for chem editor only.
Parameters:
Name | Type | Description |
---|---|---|
editor |
Kekule.Editor.BaseEditor | Target editor object. |
caption |
String | |
hint |
String | |
explicitGroup |
String | Use this property to explicitly set child actions to different group. |
Extends
Methods
-
getEditor() → {Kekule.Editor.BaseEditor}
-
Returns target chem editor object.
Returns:
-
getPreferredWidgetClass() → {null}
-
Returns the widget class that best fit this action. Descendants may override this method.
Returns:
- Type
- null