org.eclipse.gmt.umlx.editor.property.descriptors
Class StringPropertyDescriptor<M>

java.lang.Object
  extended by org.eclipse.ui.views.properties.PropertyDescriptor
      extended by org.eclipse.ui.views.properties.TextPropertyDescriptor
          extended by org.eclipse.gmt.umlx.editor.property.descriptors.RawStringPropertyDescriptor
              extended by org.eclipse.gmt.umlx.editor.property.descriptors.StringPropertyDescriptor<M>
All Implemented Interfaces:
IModelPropertyDescriptor, org.eclipse.ui.views.properties.IPropertyDescriptor
Direct Known Subclasses:
EStringPropertyDescriptor, GElementXmiIdPropertyDescriptor, GLinkElementBendpointsPropertyDescriptor, ReadOnlyPropertyDescriptor

public abstract class StringPropertyDescriptor<M>
extends RawStringPropertyDescriptor
implements IModelPropertyDescriptor


Constructor Summary
StringPropertyDescriptor(PropertyId propertyId, EModelPropertySource<? extends M> propertySource)
           
 
Method Summary
 M getModel()
           
 IModelPropertySource2<? extends M> getSource()
           
 boolean isIdentity()
           
 boolean isSettable()
          Return true if property may be set to some changed value.
 boolean isVolatile()
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.property.descriptors.RawStringPropertyDescriptor
fromModel, toModel, toString
 
Methods inherited from class org.eclipse.ui.views.properties.TextPropertyDescriptor
createPropertyEditor
 
Methods inherited from class org.eclipse.ui.views.properties.PropertyDescriptor
getCategory, getDescription, getDisplayName, getFilterFlags, getHelpContextIds, getId, getLabelProvider, isCompatibleWith, isLabelProviderSet, setAlwaysIncompatible, setCategory, setDescription, setFilterFlags, setHelpContextIds, setLabelProvider, setValidator
 
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.IModelPropertyDescriptor
getProperty, isResettable, isSet, resetProperty, setProperty
 
Methods inherited from interface org.eclipse.ui.views.properties.IPropertyDescriptor
createPropertyEditor, getCategory, getDescription, getDisplayName, getFilterFlags, getHelpContextIds, getId, getLabelProvider, isCompatibleWith
 

Constructor Detail

StringPropertyDescriptor

public StringPropertyDescriptor(PropertyId propertyId,
                                EModelPropertySource<? extends M> propertySource)
Method Detail

getModel

public M getModel()
Specified by:
getModel in interface IModelPropertyDescriptor

getSource

public IModelPropertySource2<? extends M> getSource()
Specified by:
getSource in interface IModelPropertyDescriptor

isIdentity

public boolean isIdentity()
Specified by:
isIdentity in interface IModelPropertyDescriptor

isSettable

public boolean isSettable()
Description copied from interface: IModelPropertyDescriptor
Return true if property may be set to some changed value.

Specified by:
isSettable in interface IModelPropertyDescriptor
Returns:
true if value may be changed

isVolatile

public boolean isVolatile()
Specified by:
isVolatile in interface IModelPropertyDescriptor