pl.edu.agh.cast.schema.editor.palette
Class NodeCreationToolEntry

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 org.eclipse.gef.palette.CombinedTemplateCreationEntry
                  extended by pl.edu.agh.cast.schema.editor.palette.NodeCreationToolEntry

public class NodeCreationToolEntry
extends org.eclipse.gef.palette.CombinedTemplateCreationEntry

Entry used in palate for node creation tool.

Author:
AGH CAST Team

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
NodeCreationToolEntry(String label, String shortDesc, org.eclipse.gef.requests.CreationFactory factory, org.eclipse.jface.resource.ImageDescriptor iconSmall, org.eclipse.jface.resource.ImageDescriptor iconLarge)
          Constructor.
 
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

NodeCreationToolEntry

public NodeCreationToolEntry(String label,
                             String shortDesc,
                             org.eclipse.gef.requests.CreationFactory factory,
                             org.eclipse.jface.resource.ImageDescriptor iconSmall,
                             org.eclipse.jface.resource.ImageDescriptor iconLarge)
Constructor.

Parameters:
label - label
shortDesc - description
factory - node creation factory
iconSmall - 16x16 icon
iconLarge - 48x48 icon


Copyright © 2007-2009 IISG AGH-UST Krakow, Poland. All Rights Reserved.