Class ObjectCreationToolEntry
java.lang.Object
org.eclipse.graphiti.palette.impl.AbstractPaletteEntry
org.eclipse.graphiti.palette.impl.AbstractPaletteToolEntry
org.eclipse.graphiti.palette.impl.ObjectCreationToolEntry
- All Implemented Interfaces:
ICreationToolEntry, IObjectCreationToolEntry, IPaletteEntry, IToolEntry
public class ObjectCreationToolEntry
extends AbstractPaletteToolEntry
implements IObjectCreationToolEntry
The Class ObjectCreationToolEntry creates an palette tool which creates an
object.
-
Field Summary
Fields inherited from class AbstractPaletteToolEntry
features -
Constructor Summary
ConstructorsConstructorDescriptionObjectCreationToolEntry(String label, String description, String iconId, String largeIconId, ICreateFeature createFeature) Creates a newObjectCreationToolEntry. -
Method Summary
Methods inherited from class AbstractPaletteToolEntry
getDescription, getFeatures, getLargeIconIdMethods inherited from class AbstractPaletteEntry
getIconId, getLabelMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ICreationToolEntry
getDescription, getLargeIconIdMethods inherited from interface IPaletteEntry
getIconId, getLabel
-
Constructor Details
-
ObjectCreationToolEntry
public ObjectCreationToolEntry(String label, String description, String iconId, String largeIconId, ICreateFeature createFeature) Creates a newObjectCreationToolEntry.- Parameters:
label- the labeldescription- the descriptioniconId- the icon idlargeIconId- the large icon idcreateFeature- the feature which should be called on creation
-
-
Method Details
-
getCreateFeature
Gets the create feature.- Specified by:
getCreateFeaturein interfaceIObjectCreationToolEntry- Returns:
- the associated creation tool
-