Class ItemPropertyDescriptorWrapper
- java.lang.Object
-
- tools.mdsd.library.emfeditutils.itempropertydescriptor.impl.ItemPropertyDescriptorWrapper
-
- All Implemented Interfaces:
IItemPropertyDescriptor
- Direct Known Subclasses:
ItemPropertyDescriptorDecoratorImpl
public class ItemPropertyDescriptorWrapper extends Object implements IItemPropertyDescriptor
Wrapper forIItemPropertyDescriptor
entities. The implementation does not change the processing logic but just delegates every method to the given delegate. Unfortunately, EMF does not provide such a class. In contrast to this implementation, the EMFItemPropertyDescriptorDecorator
changes the object theIItemPropertyDescriptor
operates on.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.emf.edit.provider.IItemPropertyDescriptor
IItemPropertyDescriptor.OverrideableCommandOwner, IItemPropertyDescriptor.ValueHandler, IItemPropertyDescriptor.ValueHandlerProvider
-
-
Constructor Summary
Constructors Constructor Description ItemPropertyDescriptorWrapper(IItemPropertyDescriptor delegate)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
canSetProperty(Object arg0)
String
getCategory(Object arg0)
Collection<?>
getChoiceOfValues(Object arg0)
String
getDescription(Object arg0)
String
getDisplayName(Object arg0)
Object
getFeature(Object arg0)
String[]
getFilterFlags(Object arg0)
Object
getHelpContextIds(Object arg0)
String
getId(Object arg0)
IItemLabelProvider
getLabelProvider(Object arg0)
Object
getPropertyValue(Object arg0)
boolean
isCompatibleWith(Object arg0, Object arg1, IItemPropertyDescriptor arg2)
boolean
isMany(Object arg0)
boolean
isMultiLine(Object arg0)
boolean
isPropertySet(Object arg0)
boolean
isSortChoices(Object arg0)
void
resetPropertyValue(Object arg0)
void
setPropertyValue(Object arg0, Object arg1)
-
-
-
Constructor Detail
-
ItemPropertyDescriptorWrapper
public ItemPropertyDescriptorWrapper(IItemPropertyDescriptor delegate)
-
-
Method Detail
-
canSetProperty
public boolean canSetProperty(Object arg0)
- Specified by:
canSetProperty
in interfaceIItemPropertyDescriptor
-
getCategory
public String getCategory(Object arg0)
- Specified by:
getCategory
in interfaceIItemPropertyDescriptor
-
getChoiceOfValues
public Collection<?> getChoiceOfValues(Object arg0)
- Specified by:
getChoiceOfValues
in interfaceIItemPropertyDescriptor
-
getDescription
public String getDescription(Object arg0)
- Specified by:
getDescription
in interfaceIItemPropertyDescriptor
-
getDisplayName
public String getDisplayName(Object arg0)
- Specified by:
getDisplayName
in interfaceIItemPropertyDescriptor
-
getFeature
public Object getFeature(Object arg0)
- Specified by:
getFeature
in interfaceIItemPropertyDescriptor
-
getFilterFlags
public String[] getFilterFlags(Object arg0)
- Specified by:
getFilterFlags
in interfaceIItemPropertyDescriptor
-
getHelpContextIds
public Object getHelpContextIds(Object arg0)
- Specified by:
getHelpContextIds
in interfaceIItemPropertyDescriptor
-
getId
public String getId(Object arg0)
- Specified by:
getId
in interfaceIItemPropertyDescriptor
-
getLabelProvider
public IItemLabelProvider getLabelProvider(Object arg0)
- Specified by:
getLabelProvider
in interfaceIItemPropertyDescriptor
-
getPropertyValue
public Object getPropertyValue(Object arg0)
- Specified by:
getPropertyValue
in interfaceIItemPropertyDescriptor
-
isCompatibleWith
public boolean isCompatibleWith(Object arg0, Object arg1, IItemPropertyDescriptor arg2)
- Specified by:
isCompatibleWith
in interfaceIItemPropertyDescriptor
-
isMany
public boolean isMany(Object arg0)
- Specified by:
isMany
in interfaceIItemPropertyDescriptor
-
isMultiLine
public boolean isMultiLine(Object arg0)
- Specified by:
isMultiLine
in interfaceIItemPropertyDescriptor
-
isPropertySet
public boolean isPropertySet(Object arg0)
- Specified by:
isPropertySet
in interfaceIItemPropertyDescriptor
-
isSortChoices
public boolean isSortChoices(Object arg0)
- Specified by:
isSortChoices
in interfaceIItemPropertyDescriptor
-
resetPropertyValue
public void resetPropertyValue(Object arg0)
- Specified by:
resetPropertyValue
in interfaceIItemPropertyDescriptor
-
setPropertyValue
public void setPropertyValue(Object arg0, Object arg1)
- Specified by:
setPropertyValue
in interfaceIItemPropertyDescriptor
-
-