Class AnnotationItemProviderAdapterFactory.DecategorizingItemPropertyDescritorDecorator
java.lang.Object
org.eclipse.emf.edit.provider.ItemPropertyDescriptorDecorator
org.eclipse.emf.cdo.etypes.provider.annotation.AnnotationItemProviderAdapterFactory.DecategorizingItemPropertyDescritorDecorator
- All Implemented Interfaces:
IItemPropertyDescriptor, IItemPropertyDescriptor.ValueHandlerProvider, IPropertyEditorFactory.Provider
- Enclosing class:
AnnotationItemProviderAdapterFactory
public static final class AnnotationItemProviderAdapterFactory.DecategorizingItemPropertyDescritorDecorator
extends ItemPropertyDescriptorDecorator
A property descriptor created by
.
It specialized
AnnotationItemProviderAdapterFactory#getPropertyDescriptors
and used by
invalid reference
AnnotationItemProvider.SourcePropertyDescriptor#createPropertyValueWrapper(Object, Object)
getCategory(Object) to return null but provides getCategory() to give access to the original category.- Since:
- 4.6
-
Nested Class Summary
Nested classes/interfaces inherited from interface IItemPropertyDescriptor
IItemPropertyDescriptor.OverrideableCommandOwner, IItemPropertyDescriptor.ValueHandler, IItemPropertyDescriptor.ValueHandlerProvider -
Field Summary
Fields inherited from class ItemPropertyDescriptorDecorator
itemPropertyDescriptor, object -
Constructor Summary
ConstructorsConstructorDescriptionDecategorizingItemPropertyDescritorDecorator(Object object, IItemPropertyDescriptor itemPropertyDescriptor) Creates an instance. -
Method Summary
Modifier and TypeMethodDescriptionReturns the group of properties into which this one should be placed based on the underlying property descriptor being decorated.getCategory(Object thisObject) Methods inherited from class ItemPropertyDescriptorDecorator
canSetProperty, getChoiceOfValues, getDecoratedItemPropertyDescriptor, getDecoratedObject, getDescription, getDisplayName, getEditorFactory, getFeature, getFilterFlags, getHelpContextIds, getId, getLabelProvider, getPropertyValue, getValueHandler, isChoiceArbitrary, isCompatibleWith, isMany, isMultiLine, isPropertySet, isPropertyUnsettable, isSortChoices, resetPropertyValue, setPropertyValue
-
Constructor Details
-
DecategorizingItemPropertyDescritorDecorator
public DecategorizingItemPropertyDescritorDecorator(Object object, IItemPropertyDescriptor itemPropertyDescriptor) Creates an instance.- Parameters:
object- the object of the property descriptor being decorated.itemPropertyDescriptor- the property descriptor to be decorated.
-
-
Method Details
-
getCategory
This implementation always returns
null.- Specified by:
getCategoryin interfaceIItemPropertyDescriptor- Overrides:
getCategoryin classItemPropertyDescriptorDecorator
-
getCategory
Returns the group of properties into which this one should be placed based on the underlying property descriptor being decorated.- Returns:
- the group of properties into which this one should be placed.
-