EClass SelectionTool
- ePackage:
- inherits from:
- referenced by:
PaletteCategory (via Tool)
- contained by:
Editor (via Tool), ToolGenerator (via Tool)
EAttributes
- icon (EString)
Defines the path to the tool icon. The path is relative to the editor’s repository URL.
- id (EString)
Defines an unique id for the tool.
- name (EString)
Defines the tool name.
- providesTemplate (EBoolean)
DragAndDrop needs TEMPLATE, referenced as DROPITEM. EdgeRouting can have TEMPLATE, referenced as EDGEITEM. SelectionTool ignores template.
In the factoryCmd, exactly 1 EOQ Command has the alias TEMPLATE. The factoryCmd is run once and the resulting TEMPLATE then is cloned every time the tool is used. So make sure to only run commands in the factory that influence the TEMPLATE. Integration commands go to DropReception/EdgeDefinition.
- selector (EString)
Defines a condition as an eoq query that returns a Boolean value.
- tooltip (EString)
Defines a tooltip for the tool.
- usesSingleTarget (EBoolean)
This attribute is undocumented.
EReferences
- factoryCmd (CompoundCmd) (lowerBound=0, upperBound=1) (containment)
Defines the command to create the drop item.
- selectionCmd (CompoundCmd) (lowerBound=0, upperBound=1) (containment)
This reference is undocumented.