Class: Base

Kekule.ChemObjOperation. Base

new Base(chemObject)

Base operation for ChemObject instance.
Parameters:
Name Type Description
chemObject Kekule.ChemObject Target chem object.
Properties:
Name Type Description
target Kekule.ChemObject Target chem object.
allowCoordBorrow Bool Whether allow borrowing between 2D and 3D when manipulating coords.
The Kekule.Editor.BaseEditor editor object associated.
Source:

Extends

Methods

execute()

Execute this command.
Inherited From:
Source:

isReversible() → {Bool}

Indicate whether this command can be undone. Default is true. Descendants should override this method if unreversible.
Inherited From:
Source:
Returns:
Type
Bool

reverse()

Undo command execution.
Inherited From:
Source:

Kekule.ChemObjOperation. Base

Methods

execute()

Execute this command.
Inherited From:
Source:

isReversible() → {Bool}

Indicate whether this command can be undone. Default is true. Descendants should override this method if unreversible.
Inherited From:
Source:
Returns:
Type
Bool

reverse()

Undo command execution.
Inherited From:
Source: