vocleditor.editor
Class VOCLCreationToolEntry

java.lang.Object
  extended by org.eclipse.gef.palette.PaletteEntry
      extended by org.eclipse.gef.palette.ToolEntry
          extended by org.eclipse.gef.palette.CreationToolEntry
              extended by vocleditor.editor.VOCLCreationToolEntry

public class VOCLCreationToolEntry
extends org.eclipse.gef.palette.CreationToolEntry

Author:
Stefan

Field Summary
 
Fields inherited from class org.eclipse.gef.palette.ToolEntry
PALETTE_TYPE_TOOL
 
Fields inherited from class org.eclipse.gef.palette.PaletteEntry
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
VOCLCreationToolEntry(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)
          create VOCLCreationToolEntry
 
Method Summary
 org.eclipse.gef.Tool createTool()
           
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

VOCLCreationToolEntry

public VOCLCreationToolEntry(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)
create VOCLCreationToolEntry

Parameters:
label - label
shortDesc - shorte Desciption
factory - instance of Model
iconSmall - icon
iconLarge - icon
Method Detail

createTool

public org.eclipse.gef.Tool createTool()
Overrides:
createTool in class org.eclipse.gef.palette.CreationToolEntry
See Also:
ToolEntry.createTool()