org.topcased.modeler.editor.palette
Class ModelerCreationToolEntry
java.lang.Object
org.eclipse.gef.palette.PaletteEntry
org.eclipse.gef.palette.ToolEntry
org.eclipse.gef.palette.CreationToolEntry
org.topcased.modeler.editor.palette.ModelerCreationToolEntry
public class ModelerCreationToolEntry
- extends org.eclipse.gef.palette.CreationToolEntry
A CreationToolEntry proper to our Editors. It is associated with a custom
CreationTool.
Creation : 13 oct. 2005
| 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 |
ModelerCreationToolEntry(java.lang.String label,
java.lang.String shortDesc,
org.eclipse.gef.requests.CreationFactory factory,
org.eclipse.jface.resource.ImageDescriptor iconSmall,
org.eclipse.jface.resource.ImageDescriptor iconLarge)
The Constructor |
ModelerCreationToolEntry(java.lang.String label,
java.lang.String shortDesc,
org.eclipse.gef.requests.CreationFactory factory,
org.eclipse.jface.resource.ImageDescriptor iconSmall,
org.eclipse.jface.resource.ImageDescriptor iconLarge,
int defWidth,
int defHeight,
int minWidth,
int minHeight)
Deprecated. use the other constructor instead. Graphical values should be
extracted from the diagram.graphconf file. |
| Methods inherited from class org.eclipse.gef.palette.ToolEntry |
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 |
ModelerCreationToolEntry
public ModelerCreationToolEntry(java.lang.String label,
java.lang.String shortDesc,
org.eclipse.gef.requests.CreationFactory factory,
org.eclipse.jface.resource.ImageDescriptor iconSmall,
org.eclipse.jface.resource.ImageDescriptor iconLarge)
- The Constructor
- Parameters:
label - shortDesc - factory - iconSmall - iconLarge -
ModelerCreationToolEntry
public ModelerCreationToolEntry(java.lang.String label,
java.lang.String shortDesc,
org.eclipse.gef.requests.CreationFactory factory,
org.eclipse.jface.resource.ImageDescriptor iconSmall,
org.eclipse.jface.resource.ImageDescriptor iconLarge,
int defWidth,
int defHeight,
int minWidth,
int minHeight)
- Deprecated. use the other constructor instead. Graphical values should be
extracted from the diagram.graphconf file.
- The Constructor with the default values (size) of the element to create
- Parameters:
label - shortDesc - factory - iconSmall - iconLarge - defWidth - the default width of the graphic elementdefHeight - the default height of the graphic elementminWidth - the minimum width of the graphic elementminHeight - the minimum height of the graphic element
createTool
public org.eclipse.gef.Tool createTool()
- Overrides:
createTool in class org.eclipse.gef.palette.ToolEntry
- See Also:
ToolEntry.createTool()
Copyright (c) 2005 TOPCASED Contributors 2005 - 2007. All rights reserved.