org.eclipse.gmt.umlx.editor.property.descriptors
Class ComboPropertyDescriptor<M>
java.lang.Object
org.eclipse.ui.views.properties.PropertyDescriptor
org.eclipse.ui.views.properties.ComboBoxPropertyDescriptor
org.eclipse.gmt.umlx.editor.property.descriptors.ComboPropertyDescriptor<M>
- All Implemented Interfaces:
- IModelPropertyDescriptor, org.eclipse.ui.views.properties.IPropertyDescriptor
- Direct Known Subclasses:
- BooleanPropertyDescriptor, EnumeratorPropertyDescriptor
public abstract class ComboPropertyDescriptor<M>
- extends org.eclipse.ui.views.properties.ComboBoxPropertyDescriptor
- implements IModelPropertyDescriptor
Methods inherited from class org.eclipse.ui.views.properties.ComboBoxPropertyDescriptor |
createPropertyEditor, getLabelProvider |
Methods inherited from class org.eclipse.ui.views.properties.PropertyDescriptor |
getCategory, getDescription, getDisplayName, getFilterFlags, getHelpContextIds, getId, 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 |
ComboPropertyDescriptor
public ComboPropertyDescriptor(ModelPropertySource<? extends M> propertySource,
java.lang.String displayName,
java.lang.String[] labels)
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
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
- 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
- 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
- Returns:
- true if value may be changed
isVolatile
public boolean isVolatile()
- Specified by:
isVolatile
in interface IModelPropertyDescriptor
resetProperty
public void resetProperty()
- Specified by:
resetProperty
in interface IModelPropertyDescriptor
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object