edu.stanford.hci.dtools.statechart.palette
Class StateCreationToolEntry

java.lang.Object
  extended by org.eclipse.gef.palette.PaletteEntry
      extended by org.eclipse.gef.palette.ToolEntry
          extended by edu.stanford.hci.dtools.statechart.palette.StateCreationToolEntry

public class StateCreationToolEntry
extends org.eclipse.gef.palette.ToolEntry

Much of this class has been taken from CreationToolEntry

This software is distributed under the BSD License.

Author:
Michael Bernstein ( mbernst(AT)stanford.edu ), Bjoern Hartmann ( bjoern(AT)stanford.edu )

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
StateCreationToolEntry(java.lang.String label, java.lang.String shortDesc, StateCreationFactory factory, org.eclipse.jface.resource.ImageDescriptor iconSmall, org.eclipse.jface.resource.ImageDescriptor iconLarge)
          Constructor for CreationToolEntry.
 
Method Summary
 void updateDeviceConfiguration(DeviceConfiguration newConfig)
           
 
Methods inherited from class org.eclipse.gef.palette.ToolEntry
createTool, 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

StateCreationToolEntry

public StateCreationToolEntry(java.lang.String label,
                              java.lang.String shortDesc,
                              StateCreationFactory factory,
                              org.eclipse.jface.resource.ImageDescriptor iconSmall,
                              org.eclipse.jface.resource.ImageDescriptor iconLarge)
Constructor for CreationToolEntry.

Parameters:
label - the label
shortDesc - the description
factory - the CreationFactory
iconSmall - the small icon
iconLarge - the large icon
Method Detail

updateDeviceConfiguration

public void updateDeviceConfiguration(DeviceConfiguration newConfig)