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 AnnotationItemProviderAdapterFactory#getPropertyDescriptors and used by AnnotationItemProvider.SourcePropertyDescriptor#createPropertyValueWrapper(Object, Object). It specialized getCategory(Object) to return null but provides getCategory() to give access to the original category.
  • 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

      public String getCategory(Object thisObject)

      This implementation always returns null.

      Specified by:
      getCategory in interface IItemPropertyDescriptor
      Overrides:
      getCategory in class ItemPropertyDescriptorDecorator
    • getCategory

      public String 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.