EClass DragAndDrop

Defines a drag&drop tool.

ePackage:

tools

inherits from:

Tool

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)

This attribute is undocumented.

tooltip (EString)

Defines a tooltip for the tool.

EReferences

factoryCmd (CompoundCmd) (lowerBound=0, upperBound=1) (containment)

Defines the command to create the drop item.

preview (Shape) (lowerBound=0, upperBound=1)

Defines the preview that is shown while dragging. The preview is defined by a shape object.