org.eclipse.graphiti.palette.impl
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.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
createFeature
private ICreateFeature createFeature
ObjectCreationToolEntry
public ObjectCreationToolEntry(String label,
String description,
String iconId,
String largeIconId,
ICreateFeature createFeature)
- Creates a new
ObjectCreationToolEntry
.
- Parameters:
label
- the labeldescription
- the descriptioniconId
- the icon idlargeIconId
- the large icon idcreateFeature
- the feature which should be called on creation
getCreateFeature
public ICreateFeature getCreateFeature()
- Gets the create feature.
- Specified by:
getCreateFeature
in interface IObjectCreationToolEntry
- Returns:
- the associated creation tool
Copyright (c) SAP AG 2005, 2010.