protected static class EModelElementItemProvider.ItemPropertyDescriptorWithUniqueChoiceOfValueLabels extends ItemPropertyDescriptor
ItemPropertyDescriptor.ItemDelegator, ItemPropertyDescriptor.PropertyValueWrapper
IItemPropertyDescriptor.OverrideableCommandOwner
Modifier and Type | Field and Description |
---|---|
protected java.util.Map<java.lang.Object,java.lang.String> |
uniqueNameMap |
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 |
---|
EModelElementItemProvider.ItemPropertyDescriptorWithUniqueChoiceOfValueLabels(AdapterFactory adapterFactory,
ResourceLocator resourceLocator,
java.lang.String displayName,
java.lang.String description,
EStructuralFeature feature,
boolean isSettable,
boolean multiLine,
boolean sortChoices,
java.lang.Object staticImage,
java.lang.String category,
java.lang.String[] filterFlags) |
Modifier and Type | Method and Description |
---|---|
protected java.util.Map<java.lang.Object,java.lang.String> |
computeUniqueLabels(java.lang.Object object,
java.util.Collection<?> items) |
java.util.Collection<?> |
getChoiceOfValues(java.lang.Object object)
Returns the choices of all the values that this property may take one.
|
IItemLabelProvider |
getLabelProvider(java.lang.Object object)
This returns the label provider that will be used to render the value of this property.
|
canSetProperty, collectReachableObjectsOfType, collectReachableObjectsOfType, createPropertyValueWrapper, getCategory, getComboBoxObjects, getCommandOwner, getCommandOwner, getDefaultId, getDefaultValue, getDescription, getDisplayName, getEditingDomain, getFeature, getFilterFlags, getHelpContextIds, getId, getPropertyValue, getReachableObjectsOfType, getReachableObjectsOfType, getValue, isCompatibleWith, isMany, isMultiLine, isPropertySet, isSortChoices, resetPropertyValue, setCommandOwner, setPropertyValue
public EModelElementItemProvider.ItemPropertyDescriptorWithUniqueChoiceOfValueLabels(AdapterFactory adapterFactory, ResourceLocator resourceLocator, java.lang.String displayName, java.lang.String description, EStructuralFeature feature, boolean isSettable, boolean multiLine, boolean sortChoices, java.lang.Object staticImage, java.lang.String category, java.lang.String[] filterFlags)
public IItemLabelProvider getLabelProvider(java.lang.Object object)
ItemPropertyDescriptor
AdapterFactoryItemDelegator
.getLabelProvider
in interface IItemPropertyDescriptor
getLabelProvider
in class ItemPropertyDescriptor
protected java.util.Map<java.lang.Object,java.lang.String> computeUniqueLabels(java.lang.Object object, java.util.Collection<?> items)
public java.util.Collection<?> getChoiceOfValues(java.lang.Object object)
IItemPropertyDescriptor
getChoiceOfValues
in interface IItemPropertyDescriptor
getChoiceOfValues
in class ItemPropertyDescriptor