protected static class XSDElementDeclarationItemProvider.DelegatingItemPropertyDescriptor extends XSDItemProviderAdapter.ItemPropertyDescriptorWithDefault
ItemPropertyDescriptor.ItemDelegator, ItemPropertyDescriptor.PropertyValueWrapper
IItemPropertyDescriptor.OverrideableCommandOwner
adapterFactory, BOOLEAN_VALUE_IMAGE, category, commandOwner, description, displayName, ecorePackage, feature, filterFlags, GENERIC_VALUE_IMAGE, INTEGRAL_VALUE_IMAGE, isSettable, itemDelegator, multiLine, parentReferences, REAL_VALUE_IMAGE, resourceLocator, sortChoices, staticImage, TEXT_VALUE_IMAGE
Constructor and Description |
---|
DelegatingItemPropertyDescriptor(AdapterFactory adapterFactory,
java.lang.String displayName,
java.lang.String description,
EStructuralFeature feature,
boolean isSettable,
java.lang.Object staticImage) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getPropertyValue(java.lang.Object object)
This does the delegated job of getting the property value from the given object;
and it sets object, which is necessary if
getComboBoxObjects is called. |
void |
setPropertyValue(java.lang.Object object,
java.lang.Object value)
This does the delegated job of setting the property to the given value.
|
getChoiceOfValues, getPropertyDefaultValue
canSetProperty, collectReachableObjectsOfType, collectReachableObjectsOfType, createPropertyValueWrapper, getCategory, getComboBoxObjects, getCommandOwner, getCommandOwner, getDefaultId, getDefaultValue, getDescription, getDisplayName, getEditingDomain, getFeature, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getReachableObjectsOfType, getReachableObjectsOfType, getValue, isCompatibleWith, isMany, isMultiLine, isPropertySet, isSortChoices, resetPropertyValue, setCommandOwner
public DelegatingItemPropertyDescriptor(AdapterFactory adapterFactory, java.lang.String displayName, java.lang.String description, EStructuralFeature feature, boolean isSettable, java.lang.Object staticImage)
public java.lang.Object getPropertyValue(java.lang.Object object)
ItemPropertyDescriptor
getComboBoxObjects
is called.
It is implemented in a generic way using the structural feature or parent references.getPropertyValue
in interface IItemPropertyDescriptor
getPropertyValue
in class XSDItemProviderAdapter.ItemPropertyDescriptorWithDefault
public void setPropertyValue(java.lang.Object object, java.lang.Object value)
ItemPropertyDescriptor
setPropertyValue
in interface IItemPropertyDescriptor
setPropertyValue
in class XSDItemProviderAdapter.ItemPropertyDescriptorWithDefault