|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
java.lang.Objectorg.eclipse.ui.views.properties.PropertyDescriptor
org.eclipse.ui.views.properties.TextPropertyDescriptor
Descriptor for a property that has a value which should be edited with a text cell editor.
This class may be instantiated; it is not intended to be subclassed.
Example:
IPropertyDescriptor pd = new TextPropertyDescriptor("surname", "Last Name");
| Constructor Summary | |
|---|---|
TextPropertyDescriptor(Object id,
String displayName)
Creates an property descriptor with the given id and display name. |
|
| Method Summary | |
|---|---|
CellEditor |
createPropertyEditor(Composite parent)
The TextPropertyDescriptor implementation of this
IPropertyDescriptor method creates and returns a new
TextCellEditor.
|
| Methods inherited from class org.eclipse.ui.views.properties.PropertyDescriptor |
|---|
getAlwaysIncompatible, getCategory, getDescription, getDisplayName, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getValidator, isCompatibleWith, isLabelProviderSet, setAlwaysIncompatible, setCategory, setDescription, setFilterFlags, setHelpContextIds, setLabelProvider, setValidator |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public TextPropertyDescriptor(Object id,
String displayName)
id - the id of the propertydisplayName - the name to display for the property| Method Detail |
public CellEditor createPropertyEditor(Composite parent)
TextPropertyDescriptor implementation of this
IPropertyDescriptor method creates and returns a new
TextCellEditor.
The editor is configured with the current validator if there is one.
createPropertyEditor in interface IPropertyDescriptorcreatePropertyEditor in class PropertyDescriptor
|
Eclipse Platform Release 3.3 |
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2007. All rights reserved.