public class PropertyDescriptor
extends java.lang.Object
IItemPropertyDescriptor
along with the object for which it is an item property source
and make it behave like an org.eclipse.ui.views.properties.IPropertyDescriptor
.Modifier and Type | Class and Description |
---|---|
static class |
PropertyDescriptor.EDataTypeCellEditor |
protected static class |
PropertyDescriptor.EDataTypeValueHandler
A delegate for handling validation and conversion for data type values.
|
static class |
PropertyDescriptor.FloatCellEditor
Deprecated.
|
static class |
PropertyDescriptor.IntegerCellEditor
Deprecated.
|
Modifier and Type | Field and Description |
---|---|
protected static EcorePackage |
ecorePackage |
protected IItemPropertyDescriptor |
itemPropertyDescriptor
This is the descriptor to which we will delegate all the
org.eclipse.ui.views.properties.IPropertyDescriptor methods. |
protected java.lang.Object |
object
This is the object for which this class is a property source.
|
Constructor and Description |
---|
PropertyDescriptor(java.lang.Object object,
IItemPropertyDescriptor itemPropertyDescriptor)
An instance is constructed from an object and its item property source.
|
Modifier and Type | Method and Description |
---|---|
protected CellEditor |
createEDataTypeCellEditor(EDataType eDataType,
Composite composite) |
CellEditor |
createPropertyEditor(Composite composite)
This returns the cell editor that will be used to edit the value of this property.
|
java.lang.String |
getCategory() |
java.lang.String |
getDescription() |
java.lang.String |
getDisplayName() |
protected ILabelProvider |
getEditLabelProvider() |
java.lang.Object |
getFeature()
Provides direct access to the underlying feature object.
|
java.lang.String[] |
getFilterFlags() |
java.lang.Object |
getHelpContextIds() |
java.lang.Object |
getId() |
ILabelProvider |
getLabelProvider() |
boolean |
isCompatibleWith(IPropertyDescriptor anotherProperty) |
protected java.lang.Object object
protected IItemPropertyDescriptor itemPropertyDescriptor
org.eclipse.ui.views.properties.IPropertyDescriptor
methods.protected static final EcorePackage ecorePackage
public PropertyDescriptor(java.lang.Object object, IItemPropertyDescriptor itemPropertyDescriptor)
public java.lang.String getCategory()
public java.lang.String getDescription()
public java.lang.String getDisplayName()
public java.lang.String[] getFilterFlags()
public java.lang.Object getHelpContextIds()
public java.lang.Object getFeature()
public java.lang.Object getId()
public ILabelProvider getLabelProvider()
protected ILabelProvider getEditLabelProvider()
public boolean isCompatibleWith(IPropertyDescriptor anotherProperty)
protected CellEditor createEDataTypeCellEditor(EDataType eDataType, Composite composite)
public CellEditor createPropertyEditor(Composite composite)