org.eclipse.gmt.umlx.editor.property.sources
Interface IModelPropertySource

All Superinterfaces:
org.eclipse.ui.views.properties.IPropertySource, org.eclipse.ui.views.properties.IPropertySource2
All Known Subinterfaces:
IModelPropertySource2<M>
All Known Implementing Classes:
AbstractPropertySource, CompoundPropertySource, EModelPropertySource, ENamedElementPropertySource, ModelPropertySource, ResourcePropertySource

public interface IModelPropertySource
extends org.eclipse.ui.views.properties.IPropertySource2


Method Summary
 IModelPropertyDescriptor getPropertyDescriptor(java.lang.Object id)
          Return the non-compound property source applicable to the id property.
 boolean isPropertySettable(java.lang.Object id)
          Return true if the id property may be set to a new value.
 
Methods inherited from interface org.eclipse.ui.views.properties.IPropertySource2
isPropertyResettable, isPropertySet
 
Methods inherited from interface org.eclipse.ui.views.properties.IPropertySource
getEditableValue, getPropertyDescriptors, getPropertyValue, resetPropertyValue, setPropertyValue
 

Method Detail

getPropertyDescriptor

IModelPropertyDescriptor getPropertyDescriptor(java.lang.Object id)
Return the non-compound property source applicable to the id property.

Parameters:
id - of property for which source required
Returns:
non-compound property source

isPropertySettable

boolean isPropertySettable(java.lang.Object id)
Return true if the id property may be set to a new value. A modification to an underlying read-only resource is not settable.

Parameters:
id - of property for which source required
Returns:
true if settable