org.eclipse.gmt.umlx.editor.property.descriptors
Class EIntPropertyDescriptor<M extends org.eclipse.emf.ecore.EObject>

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.IntegerPropertyDescriptor<M>
              extended by org.eclipse.gmt.umlx.editor.property.descriptors.EIntPropertyDescriptor<M>
All Implemented Interfaces:
IModelPropertyDescriptor, org.eclipse.ui.views.properties.IPropertyDescriptor

public class EIntPropertyDescriptor<M extends org.eclipse.emf.ecore.EObject>
extends IntegerPropertyDescriptor<M>


Field Summary
static org.eclipse.emf.ecore.EDataType eInt
           
 
Constructor Summary
EIntPropertyDescriptor(EModelPropertySource<M> propertySource, java.lang.String displayName, org.eclipse.emf.ecore.EStructuralFeature eFeature, org.eclipse.jface.viewers.ICellEditorValidator validator)
           
 
Method Summary
 java.lang.Object getProperty()
           
 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.
 void resetProperty()
           
 void setProperty(java.lang.Object object)
           
 
Methods inherited from class org.eclipse.gmt.umlx.editor.property.descriptors.IntegerPropertyDescriptor
fromModel, getModel, getSource, isIdentity, isVolatile, 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.ui.views.properties.IPropertyDescriptor
createPropertyEditor, getCategory, getDescription, getDisplayName, getFilterFlags, getHelpContextIds, getId, getLabelProvider, isCompatibleWith
 

Field Detail

eInt

public static final org.eclipse.emf.ecore.EDataType eInt
Constructor Detail

EIntPropertyDescriptor

public EIntPropertyDescriptor(EModelPropertySource<M> propertySource,
                              java.lang.String displayName,
                              org.eclipse.emf.ecore.EStructuralFeature eFeature,
                              org.eclipse.jface.viewers.ICellEditorValidator validator)
Method Detail

getProperty

public java.lang.Object getProperty()

isResettable

public boolean isResettable()
Description copied from interface: IModelPropertyDescriptor
Return true if property may be reset to no-value.

Specified by:
isResettable in interface IModelPropertyDescriptor
Overrides:
isResettable in class IntegerPropertyDescriptor<M extends org.eclipse.emf.ecore.EObject>
Returns:
true if no-value allowed

isSet

public boolean isSet()
Description copied from interface: IModelPropertyDescriptor
Return true if property has a value.

Specified by:
isSet in interface IModelPropertyDescriptor
Overrides:
isSet in class IntegerPropertyDescriptor<M extends org.eclipse.emf.ecore.EObject>
Returns:
true if value exists

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
Overrides:
isSettable in class IntegerPropertyDescriptor<M extends org.eclipse.emf.ecore.EObject>
Returns:
true if value may be changed

resetProperty

public void resetProperty()
Specified by:
resetProperty in interface IModelPropertyDescriptor
Overrides:
resetProperty in class IntegerPropertyDescriptor<M extends org.eclipse.emf.ecore.EObject>

setProperty

public void setProperty(java.lang.Object object)