Class ItemPropertyDescriptorDecoratorImpl
java.lang.Object
tools.mdsd.library.emfeditutils.itempropertydescriptor.impl.ItemPropertyDescriptorWrapper
tools.mdsd.library.emfeditutils.itempropertydescriptor.impl.ItemPropertyDescriptorDecoratorImpl
- All Implemented Interfaces:
IItemPropertyDescriptor
,ItemPropertyDescriptorDecorator
public class ItemPropertyDescriptorDecoratorImpl
extends ItemPropertyDescriptorWrapper
implements ItemPropertyDescriptorDecorator
Decorator class for
IItemPropertyDescriptor
entities. It is possible to influence a
predefined set of behaviors. Please refer to the setters for information about which behavior can
be overridden.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.edit.provider.IItemPropertyDescriptor
IItemPropertyDescriptor.OverrideableCommandOwner, IItemPropertyDescriptor.ValueHandler, IItemPropertyDescriptor.ValueHandlerProvider
-
Constructor Summary
ConstructorDescriptionConstructs the decorator for the given delegate. -
Method Summary
Modifier and TypeMethodDescriptionCollection<?>
getChoiceOfValues
(Object thisObject) void
setValueChoiceCalculator
(ValueChoiceCalculator transformator) Set a calculator for value choices that intercepts the regular value selection process.Methods inherited from class tools.mdsd.library.emfeditutils.itempropertydescriptor.impl.ItemPropertyDescriptorWrapper
canSetProperty, getCategory, getDescription, getDisplayName, getFeature, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getPropertyValue, isCompatibleWith, isMany, isMultiLine, isPropertySet, isSortChoices, resetPropertyValue, setPropertyValue
-
Constructor Details
-
ItemPropertyDescriptorDecoratorImpl
Constructs the decorator for the given delegate.- Parameters:
delegate
- The delegate to decorate.
-
-
Method Details
-
setValueChoiceCalculator
Set a calculator for value choices that intercepts the regular value selection process.- Specified by:
setValueChoiceCalculator
in interfaceItemPropertyDescriptorDecorator
- Parameters:
transformator
- The intercepting calculator to use.- See Also:
-
getChoiceOfValues
- Specified by:
getChoiceOfValues
in interfaceIItemPropertyDescriptor
- Overrides:
getChoiceOfValues
in classItemPropertyDescriptorWrapper
-