org.eclipse.gmt.umlx.editor.property.descriptors
Class GElementXmiIdPropertyDescriptor
java.lang.Object
org.eclipse.ui.views.properties.PropertyDescriptor
org.eclipse.ui.views.properties.TextPropertyDescriptor
org.eclipse.gmt.umlx.editor.property.descriptors.RawStringPropertyDescriptor
org.eclipse.gmt.umlx.editor.property.descriptors.StringPropertyDescriptor<GElement>
org.eclipse.gmt.umlx.editor.property.descriptors.GElementXmiIdPropertyDescriptor
- All Implemented Interfaces:
- IModelPropertyDescriptor, org.eclipse.ui.views.properties.IPropertyDescriptor
public class GElementXmiIdPropertyDescriptor
- extends StringPropertyDescriptor<GElement>
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 |
GElementXmiIdPropertyDescriptor
public GElementXmiIdPropertyDescriptor(EModelPropertySource<? extends GElement> propertySource,
java.lang.String displayName)
getProperty
public java.lang.Object getProperty()
getXmiId
public java.lang.String getXmiId()
getXmlResource
public org.eclipse.emf.ecore.xmi.XMLResource getXmlResource()
isIdentity
public boolean isIdentity()
- Specified by:
isIdentity
in interface IModelPropertyDescriptor
- Overrides:
isIdentity
in class StringPropertyDescriptor<GElement>
isResettable
public boolean isResettable()
- Description copied from interface:
IModelPropertyDescriptor
- Return true if property may be reset to no-value.
- Returns:
- true if no-value allowed
isSet
public boolean isSet()
- Description copied from interface:
IModelPropertyDescriptor
- Return true if property has a value.
- Returns:
- true if value exists
resetProperty
public void resetProperty()
setProperty
public void setProperty(java.lang.Object object)