Class: MergeConnectorsPreview

Kekule.ChemStructOperation. MergeConnectorsPreview

new MergeConnectorsPreview(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.
Source:

Extends

Methods

execute()

Execute this command.
Inherited From:
Source:

getMergeNodeOperationClass()

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