Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

Eclipse GEF
3.3

org.eclipse.gef.palette
Class PaletteTemplateEntry

java.lang.Object
  extended by

org.eclipse.gef.palette.PaletteEntry
      extended by
org.eclipse.gef.palette.PaletteTemplateEntry

public class PaletteTemplateEntry
extends PaletteEntry


Field Summary
static java.lang.String PALETTE_TYPE_TEMPLATE
          Type identifier
 
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
PaletteTemplateEntry (java.lang.String label, java.lang.String shortDesc, java.lang.Object template, ImageDescriptor iconSmall, ImageDescriptor iconLarge)
          Creates a new PaletteTemplateEntry with the given template.
 
Method Summary
 java.lang.Object getTemplate ()
           
 void setTemplate (java.lang.Object template)
          Sets the template object to the given value
 
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
 

Field Detail

PALETTE_TYPE_TEMPLATE

public static final java.lang.String PALETTE_TYPE_TEMPLATE
Type identifier

See Also:
Constant Field Values
Constructor Detail

PaletteTemplateEntry

public PaletteTemplateEntry(java.lang.String label,
                            java.lang.String shortDesc,
                            java.lang.Object template,
                            
ImageDescriptor iconSmall,
                            
ImageDescriptor iconLarge)
Creates a new PaletteTemplateEntry with the given template.

Parameters:
label - the entry's name
shortDesc - the entry's description
template - the template for this entry
iconSmall - an ImageDescriptor for the entry's small icon
iconLarge - an ImageDescriptor for the entry's large icon
See Also:
PaletteEntry.PaletteEntry(String, String, ImageDescriptor, ImageDescriptor, Object)
Method Detail

getTemplate

public java.lang.Object getTemplate()
Returns:
the user-defined template object

setTemplate

public void setTemplate(java.lang.Object template)
Sets the template object to the given value

Parameters:
template - the template object

Eclipse GEF
3.3

Copyright (c) IBM Corp. and others 2000, 2007. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire