public class PaletteTemplateEntry extends PaletteEntry
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
PALETTE_TYPE_TEMPLATE
Type identifier
|
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 and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
getTemplate() |
void |
setTemplate(java.lang.Object template)
Sets the template object to the given value
|
addPropertyChangeListener, getDescription, getId, getLabel, getLargeIcon, getParent, getSmallIcon, getType, getUserModificationPermission, isVisible, removePropertyChangeListener, setDescription, setId, setLabel, setLargeIcon, setParent, setSmallIcon, setType, setUserModificationPermission, setVisible, toStringpublic static final java.lang.String PALETTE_TYPE_TEMPLATE
public PaletteTemplateEntry(java.lang.String label,
java.lang.String shortDesc,
java.lang.Object template,
ImageDescriptor iconSmall,
ImageDescriptor iconLarge)
label - the entry's nameshortDesc - the entry's descriptiontemplate - the template for this entryiconSmall - an ImageDescriptor for the entry's small iconiconLarge - an ImageDescriptor for the entry's large iconPaletteEntry.PaletteEntry(String, String, ImageDescriptor,
ImageDescriptor, Object)Copyright (c) IBM Corp. and others 2000, 2011. All Rights Reserved.