|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.edit.ui.provider.PropertyDescriptor
This is used to encapsulate an IItemPropertyDescriptor along with the object for which it is an item property source
and make it behave like an IPropertyDescriptor.
| Nested Class Summary | |
static class |
PropertyDescriptor.EDataTypeCellEditor
This cell editor ensures that only Integer values are supported |
static class |
PropertyDescriptor.FloatCellEditor
Deprecated. |
static class |
PropertyDescriptor.IntegerCellEditor
Deprecated. |
| Field Summary | |
protected static EcorePackage |
ecorePackage
|
protected IItemPropertyDescriptor |
itemPropertyDescriptor
This is the descriptor to which we will delegate all the IPropertyDescriptor methods. |
protected Object |
object
This is the object for which this class is a property source. |
| Constructor Summary | |
PropertyDescriptor(Object object,
IItemPropertyDescriptor itemPropertyDescriptor)
An instance is constructed from an object and its item property source. |
|
| Method Summary | |
org.eclipse.jface.viewers.CellEditor |
createPropertyEditor(org.eclipse.swt.widgets.Composite composite)
This returns the cell editor that will be used to edit the value of this property. |
String |
getCategory()
|
String |
getDescription()
|
String |
getDisplayName()
|
String[] |
getFilterFlags()
|
Object |
getHelpContextIds()
|
Object |
getId()
|
org.eclipse.jface.viewers.ILabelProvider |
getLabelProvider()
|
boolean |
isCompatibleWith(org.eclipse.ui.views.properties.IPropertyDescriptor anotherProperty)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected Object object
protected IItemPropertyDescriptor itemPropertyDescriptor
IPropertyDescriptor methods.
protected static final EcorePackage ecorePackage
| Constructor Detail |
public PropertyDescriptor(Object object,
IItemPropertyDescriptor itemPropertyDescriptor)
| Method Detail |
public String getCategory()
getCategory in interface org.eclipse.ui.views.properties.IPropertyDescriptorpublic String getDescription()
getDescription in interface org.eclipse.ui.views.properties.IPropertyDescriptorpublic String getDisplayName()
getDisplayName in interface org.eclipse.ui.views.properties.IPropertyDescriptorpublic String[] getFilterFlags()
getFilterFlags in interface org.eclipse.ui.views.properties.IPropertyDescriptorpublic Object getHelpContextIds()
getHelpContextIds in interface org.eclipse.ui.views.properties.IPropertyDescriptorpublic Object getId()
getId in interface org.eclipse.ui.views.properties.IPropertyDescriptorpublic org.eclipse.jface.viewers.ILabelProvider getLabelProvider()
getLabelProvider in interface org.eclipse.ui.views.properties.IPropertyDescriptorpublic boolean isCompatibleWith(org.eclipse.ui.views.properties.IPropertyDescriptor anotherProperty)
isCompatibleWith in interface org.eclipse.ui.views.properties.IPropertyDescriptorpublic org.eclipse.jface.viewers.CellEditor createPropertyEditor(org.eclipse.swt.widgets.Composite composite)
createPropertyEditor in interface org.eclipse.ui.views.properties.IPropertyDescriptor
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||