public class ColorPropertyDescriptor extends PropertyDescriptor
This class may be instantiated; it is not intended to be subclassed.
Example:
IPropertyDescriptor pd = new ColorPropertyDescriptor("fg", "Foreground Color");
| Constructor and Description |
|---|
ColorPropertyDescriptor(Object id,
String displayName)
Creates an property descriptor with the given id and display name.
|
| Modifier and Type | Method and Description |
|---|---|
CellEditor |
createPropertyEditor(Composite parent)
The
ColorPropertyDescriptor implementation of this
IPropertyDescriptor method creates and returns a new
ColorCellEditor. |
getAlwaysIncompatible, getCategory, getDescription, getDisplayName, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getValidator, isCompatibleWith, isLabelProviderSet, setAlwaysIncompatible, setCategory, setDescription, setFilterFlags, setHelpContextIds, setLabelProvider, setValidatorpublic CellEditor createPropertyEditor(Composite parent)
ColorPropertyDescriptor implementation of this
IPropertyDescriptor method creates and returns a new
ColorCellEditor.
The editor is configured with the current validator if there is one.
createPropertyEditor in interface IPropertyDescriptorcreatePropertyEditor in class PropertyDescriptorparent - the parent widget for the cell editornull if this
property cannot be editedGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.