org.eclipse.gmt.umlx.editor.property.sources
Class ModelPropertySource<M>

java.lang.Object
  extended by org.eclipse.gmt.umlx.editor.property.sources.AbstractPropertySource
      extended by org.eclipse.gmt.umlx.editor.property.sources.ModelPropertySource<M>
All Implemented Interfaces:
IModelPropertySource, IModelPropertySource2<M>, org.eclipse.ui.views.properties.IPropertySource, org.eclipse.ui.views.properties.IPropertySource2
Direct Known Subclasses:
EModelPropertySource, ResourcePropertySource

public class ModelPropertySource<M>
extends AbstractPropertySource
implements IModelPropertySource2<M>


Field Summary
 
Fields inherited from class org.eclipse.gmt.umlx.editor.property.sources.AbstractPropertySource
READ_ONLY
 
Constructor Summary
ModelPropertySource(java.lang.String categoryName, M model)
           
 
Method Summary
 void add(org.eclipse.ui.views.properties.IPropertyDescriptor propertyDescriptor)
           
 java.lang.String getCategoryName()
           
 M getModel()
           
 boolean isSettable()
           
 java.lang.String toString()
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.property.sources.AbstractPropertySource
getEditableValue, getPropertyDescriptor, getPropertyDescriptors, getPropertySource, getPropertyValue, isPropertyIdentity, isPropertyResettable, isPropertySet, isPropertySettable, isPropertyVolatile, resetPropertyValue, setPropertyValue
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.property.sources.IModelPropertySource2
isPropertyIdentity, isPropertyVolatile
 
Methods inherited from interface org.eclipse.gmt.umlx.editor.property.sources.IModelPropertySource
getPropertyDescriptor, isPropertySettable
 
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
 

Constructor Detail

ModelPropertySource

public ModelPropertySource(java.lang.String categoryName,
                           M model)
Method Detail

add

public void add(org.eclipse.ui.views.properties.IPropertyDescriptor propertyDescriptor)

getCategoryName

public java.lang.String getCategoryName()

getModel

public M getModel()
Specified by:
getModel in interface IModelPropertySource2<M>

isSettable

public boolean isSettable()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object