|
Runtime | |||||||||
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
org.eclipse.gmf.runtime.emf.ui.properties.descriptors.EMFCompositeSourcePropertyDescriptor
org.eclipse.gmf.runtime.diagram.ui.properties.descriptors.NotationPropertyDescriptor
public class NotationPropertyDescriptor
A property descriptor for notation elements (graphical edit parts, views and styles), wrapper aroubd an EMF property descriptor.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.emf.edit.ui.provider.PropertyDescriptor |
---|
PropertyDescriptor.EDataTypeCellEditor, PropertyDescriptor.EDataTypeValueHandler, PropertyDescriptor.FloatCellEditor, PropertyDescriptor.IntegerCellEditor |
Field Summary |
---|
Fields inherited from class org.eclipse.gmf.runtime.emf.ui.properties.descriptors.EMFCompositeSourcePropertyDescriptor |
---|
category, filterFlags, propertyEditor, readOnly, validator |
Fields inherited from class org.eclipse.emf.edit.ui.provider.PropertyDescriptor |
---|
ecorePackage, itemPropertyDescriptor, object |
Constructor Summary | |
---|---|
NotationPropertyDescriptor(java.lang.Object object,
IItemPropertyDescriptor itemPropertyDescriptor,
java.lang.String category)
Create and instance of the NotationPropertyDescriptor . |
Method Summary | |
---|---|
protected CellEditor |
createComboBoxCellEditor(Composite composite)
Create combo box cell editor |
protected CellEditor |
createDataTypeCellEditor(Composite composite)
Create a cell editor for a data value. |
java.util.List |
getChoiceOfValues()
Return choice of values for the given property. |
ILabelProvider |
getLabelProvider()
|
java.lang.Object |
getPropertyValue()
Gets this property value |
void |
setPropertyValue(java.lang.Object value)
This method is used by the property source to set the property that this property descriptor maps to. |
Methods inherited from class org.eclipse.gmf.runtime.emf.ui.properties.descriptors.EMFCompositeSourcePropertyDescriptor |
---|
addFilterFlag, createBooleanCellEditor, createDialogCellEditor, createLabelProvider, createPropertyEditor, doCreateEditor, getCategory, getEditableValue, getFeature, getFilterFlags, getId, getItemDescriptor, getObject, getPropertyEditor, getPropertySource, getValidator, isCompatibleWith, isReadOnly, resetPropertyValue, resetPropertyValue, setCategory, setPropertyEditor, setReadOnly, setValidator |
Methods inherited from class org.eclipse.emf.edit.ui.provider.PropertyDescriptor |
---|
createEDataTypeCellEditor, getDescription, getDisplayName, getEditLabelProvider, getHelpContextIds |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.ui.views.properties.IPropertyDescriptor |
---|
getDescription, getDisplayName, getHelpContextIds |
Constructor Detail |
---|
public NotationPropertyDescriptor(java.lang.Object object, IItemPropertyDescriptor itemPropertyDescriptor, java.lang.String category)
NotationPropertyDescriptor
.
object
- -
notation element (graphical edit part, view or style)itemPropertyDescriptor
- -
EMF property descriptorcategory
- -
property categoryMethod Detail |
---|
protected CellEditor createDataTypeCellEditor(Composite composite)
createDataTypeCellEditor
in class EMFCompositeSourcePropertyDescriptor
composite
- - parent composite @return - cell editor to edit
property value createPropertyEditor
protected CellEditor createComboBoxCellEditor(Composite composite)
createComboBoxCellEditor
in class EMFCompositeSourcePropertyDescriptor
composite
- - parent composite @return - cell editor to edit
property value createPropertyEditor
public java.lang.Object getPropertyValue()
getPropertyValue
in interface ICompositeSourcePropertyDescriptor
getPropertyValue
in class EMFCompositeSourcePropertyDescriptor
public ILabelProvider getLabelProvider()
getLabelProvider
in interface IPropertyDescriptor
getLabelProvider
in class PropertyDescriptor
public void setPropertyValue(java.lang.Object value)
ICompositeSourcePropertyDescriptor
setPropertyValue
in interface ICompositeSourcePropertyDescriptor
setPropertyValue
in class EMFCompositeSourcePropertyDescriptor
value
- value of the propertypublic java.util.List getChoiceOfValues()
EMFCompositeSourcePropertyDescriptor
getChoiceOfValues
in class EMFCompositeSourcePropertyDescriptor
|
Runtime | |||||||||
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., Borland Software Corp., and others 2005,2006. All rights reserved.