Class AbstractPaletteToolEntry
- java.lang.Object
-
- org.eclipse.graphiti.palette.impl.AbstractPaletteEntry
-
- org.eclipse.graphiti.palette.impl.AbstractPaletteToolEntry
-
- All Implemented Interfaces:
ICreationToolEntry,IPaletteEntry,IToolEntry
- Direct Known Subclasses:
ConnectionCreationToolEntry,ObjectCreationToolEntry
public abstract class AbstractPaletteToolEntry extends AbstractPaletteEntry implements ICreationToolEntry
The Class AbstractPaletteToolEntry.
-
-
Constructor Summary
Constructors Constructor Description AbstractPaletteToolEntry(java.lang.String label, java.lang.String description, java.lang.String iconId, java.lang.String largeIconId)Create a newAbstractPaletteToolEntry.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetDescription()Gets the description.java.util.List<IFeature>getFeatures()Gets the features.java.lang.StringgetLargeIconId()Gets the large icon id.-
Methods inherited from class org.eclipse.graphiti.palette.impl.AbstractPaletteEntry
getIconId, getLabel
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.eclipse.graphiti.palette.IPaletteEntry
getIconId, getLabel
-
-
-
-
Field Detail
-
features
protected java.util.List<IFeature> features
The features.
-
-
Constructor Detail
-
AbstractPaletteToolEntry
public AbstractPaletteToolEntry(java.lang.String label, java.lang.String description, java.lang.String iconId, java.lang.String largeIconId)Create a newAbstractPaletteToolEntry.- Parameters:
label- the labeldescription- the descriptioniconId- the icon idlargeIconId- the large icon id
-
-
Method Detail
-
getDescription
public java.lang.String getDescription()
Description copied from interface:ICreationToolEntryGets the description.- Specified by:
getDescriptionin interfaceICreationToolEntry- Returns:
- the description
-
getFeatures
public java.util.List<IFeature> getFeatures()
Gets the features.- Returns:
- the features
-
getLargeIconId
public java.lang.String getLargeIconId()
Description copied from interface:ICreationToolEntryGets the large icon id.- Specified by:
getLargeIconIdin interfaceICreationToolEntry- Returns:
- the large icon id
-
-