public static class XSDItemProviderAdapter.ItemPropertyDescriptorWithDefault extends ItemPropertyDescriptor
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 |
---|
ItemPropertyDescriptorWithDefault(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.util.Collection<?> |
getChoiceOfValues(java.lang.Object o)
Returns the choices of all the values that this property may take one.
|
java.lang.Object |
getPropertyDefaultValue(java.lang.Object o) |
java.lang.Object |
getPropertyValue(java.lang.Object o)
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 o,
java.lang.Object value)
This does the delegated job of setting the property to the given value.
|
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 ItemPropertyDescriptorWithDefault(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 o)
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 ItemPropertyDescriptor
public void setPropertyValue(java.lang.Object o, java.lang.Object value)
ItemPropertyDescriptor
setPropertyValue
in interface IItemPropertyDescriptor
setPropertyValue
in class ItemPropertyDescriptor
public java.util.Collection<?> getChoiceOfValues(java.lang.Object o)
IItemPropertyDescriptor
getChoiceOfValues
in interface IItemPropertyDescriptor
getChoiceOfValues
in class ItemPropertyDescriptor
public java.lang.Object getPropertyDefaultValue(java.lang.Object o)