Class: MergeConnectorsBase

Kekule.ChemStructOperation. MergeConnectorsBase

new MergeConnectorsBase(target, dest, coordMode, enableStructFragmentMerge)

Operation of merging two connectors as one.
Parameters:
Name Type Description
target Kekule.ChemStructureConnector Source connector.
dest Kekule.ChemStructureConnector Destination connector.
coordMode Int Coord mode of current editor.
enableStructFragmentMerge Bool If true, molecule will be also merged when merging connectors between different molecule.
Properties:
Name Type Description
target Kekule.ChemStructureConnector Source connector.
dest Kekule.ChemStructureConnector Destination connector.
coordMode Int Coord mode of current editor.
enableStructFragmentMerge Bool If true, molecule will be also merged when merging connectors between different molecule.
Source:

Extends

Methods

execute()

Execute this command.
Inherited From:
Source:

getMergeNodeOperationClass()

Returns the concrete node merge operation, descendants should override this method.
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.ChemStructOperation. MergeConnectorsBase

Methods

execute()

Execute this command.
Inherited From:
Source:

getMergeNodeOperationClass()

Returns the concrete node merge operation, descendants should override this method.
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: