org.eclipse.gmt.umlx.editor.property
Interface IModelPropertyDescriptor

All Superinterfaces:
org.eclipse.ui.views.properties.IPropertyDescriptor
All Known Implementing Classes:
BooleanPropertyDescriptor, ComboPropertyDescriptor, EBooleanPropertyDescriptor, EIntPropertyDescriptor, EnumeratorPropertyDescriptor, EObjectPropertyDescriptor, EStringPropertyDescriptor, GElementXmiIdPropertyDescriptor, GLinkElementBendpointsPropertyDescriptor, GSheetNodeXPropertyDescriptor, GSheetNodeYPropertyDescriptor, GSheetSnapToGeometryPropertyDescriptor, IntegerPropertyDescriptor, ReadOnlyPropertyDescriptor, ResourceLockedPropertyDescriptor, StringPropertyDescriptor

public interface IModelPropertyDescriptor
extends org.eclipse.ui.views.properties.IPropertyDescriptor


Method Summary
 java.lang.Object getModel()
           
 java.lang.Object getProperty()
           
 IModelPropertySource2<?> getSource()
           
 boolean isIdentity()
           
 boolean isResettable()
          Return true if property may be reset to no-value.
 boolean isSet()
          Return true if property has a value.
 boolean isSettable()
          Return true if property may be set to some changed value.
 boolean isVolatile()
           
 void resetProperty()
           
 void setProperty(java.lang.Object object)
           
 
Methods inherited from interface org.eclipse.ui.views.properties.IPropertyDescriptor
createPropertyEditor, getCategory, getDescription, getDisplayName, getFilterFlags, getHelpContextIds, getId, getLabelProvider, isCompatibleWith
 

Method Detail

getModel

java.lang.Object getModel()

getProperty

java.lang.Object getProperty()

getSource

IModelPropertySource2<?> getSource()

isIdentity

boolean isIdentity()

isResettable

boolean isResettable()
Return true if property may be reset to no-value.

Returns:
true if no-value allowed

isSet

boolean isSet()
Return true if property has a value.

Returns:
true if value exists

isSettable

boolean isSettable()
Return true if property may be set to some changed value.

Returns:
true if value may be changed

isVolatile

boolean isVolatile()

resetProperty

void resetProperty()

setProperty

void setProperty(java.lang.Object object)