org.eclipse.gef.palette
Class PanningSelectionToolEntry

java.lang.Object
  extended byorg.eclipse.gef.palette.PaletteEntry
      extended byorg.eclipse.gef.palette.ToolEntry
          extended byorg.eclipse.gef.palette.PanningSelectionToolEntry

public class PanningSelectionToolEntry
extends ToolEntry

A ToolEntry for a PanningSelectionTool.

Since:
3.0

Field Summary
 
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
PanningSelectionToolEntry()
          Creates a new PanningSelectionToolEntry.
PanningSelectionToolEntry(java.lang.String label)
          Constructor for PanningSelectionToolEntry.
PanningSelectionToolEntry(java.lang.String label, java.lang.String shortDesc)
          Constructor for PanningSelectionToolEntry.
 
Method Summary
 Tool createTool()
          Handles the creation of a new Tool.
 
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

PanningSelectionToolEntry

public PanningSelectionToolEntry()
Creates a new PanningSelectionToolEntry.


PanningSelectionToolEntry

public PanningSelectionToolEntry(java.lang.String label)
Constructor for PanningSelectionToolEntry.

Parameters:
label - the label

PanningSelectionToolEntry

public PanningSelectionToolEntry(java.lang.String label,
                                 java.lang.String shortDesc)
Constructor for PanningSelectionToolEntry.

Parameters:
label - the label
shortDesc - the description
Method Detail

createTool

public Tool createTool()
Description copied from class: ToolEntry
Handles the creation of a new Tool. Subclasses must implement.

Specified by:
createTool in class ToolEntry
Returns:
the new Tool
See Also:
ToolEntry.createTool()