|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.gef.palette.PaletteEntry
org.eclipse.gef.palette.ToolEntry
org.eclipse.gef.palette.CreationToolEntry
org.eclipse.gef.palette.CombinedTemplateCreationEntry
pl.edu.agh.cast.backward.editor.EntityCreationToolEntry
public class EntityCreationToolEntry
Tool entry for creating entities. Uses custom tool class, EntityCreationTool
, which saves iconLarge in
extendedData map in CreationRequest. Also, to enable drag and drop support, the tool has to be a subclass of
TemplatePaletteEntry.
Field Summary |
---|
Fields inherited from class org.eclipse.gef.palette.CreationToolEntry |
---|
factory |
Fields inherited from class org.eclipse.gef.palette.ToolEntry |
---|
PALETTE_TYPE_TOOL |
Fields inherited from class org.eclipse.gef.palette.PaletteEntry |
---|
listeners, PALETTE_TYPE_UNKNOWN, PERMISSION_FULL_MODIFICATION, PERMISSION_HIDE_ONLY, PERMISSION_LIMITED_MODIFICATION, PERMISSION_NO_MODIFICATION, PROPERTY_DEFAULT, PROPERTY_DESCRIPTION, PROPERTY_LABEL, PROPERTY_LARGE_ICON, PROPERTY_PARENT, PROPERTY_SMALL_ICON, PROPERTY_TYPE, PROPERTY_VISIBLE |
Constructor Summary | |
---|---|
EntityCreationToolEntry(String label,
String shortDesc,
org.eclipse.gef.requests.CreationFactory factory,
org.eclipse.jface.resource.ImageDescriptor iconSmall,
org.eclipse.jface.resource.ImageDescriptor iconLarge)
Creates new entity creation tool entry for the palette. |
Method Summary |
---|
Methods inherited from class org.eclipse.gef.palette.CombinedTemplateCreationEntry |
---|
getTemplate, setTemplate |
Methods inherited from class org.eclipse.gef.palette.ToolEntry |
---|
createTool, getToolProperties, getToolProperty, setToolClass, setToolProperty |
Methods inherited from class org.eclipse.gef.palette.PaletteEntry |
---|
addPropertyChangeListener, getDescription, getId, getLabel, getLargeIcon, getParent, getSmallIcon, getType, getUserModificationPermission, isVisible, removePropertyChangeListener, setDescription, setId, setLabel, setLargeIcon, setParent, setSmallIcon, setType, setUserModificationPermission, setVisible, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EntityCreationToolEntry(String label, String shortDesc, org.eclipse.gef.requests.CreationFactory factory, org.eclipse.jface.resource.ImageDescriptor iconSmall, org.eclipse.jface.resource.ImageDescriptor iconLarge)
label
- tool labelshortDesc
- tool short descriptionfactory
- factory for creating new entriesiconSmall
- small entity iconiconLarge
- large entity icon
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |