Class CDOItemProviderAdapter

All Implemented Interfaces:
Adapter, Adapter.Internal, ResourceLocator, CreateChildCommand.Helper, IChangeNotifier, IDisposable
Direct Known Subclasses:
CDOResourceNodeItemProvider, ModelElementItemProvider, StringToStringMapEntryItemProvider

public class CDOItemProviderAdapter extends ItemProviderAdapter
Adds CDO-specific properties to objects, such as ID, version and state.
Author:
Eike Stepper
  • Constructor Details

    • CDOItemProviderAdapter

      public CDOItemProviderAdapter(AdapterFactory adapterFactory)
  • Method Details

    • hasChildren

      public boolean hasChildren(Object object)
      Overrides:
      hasChildren in class ItemProviderAdapter
    • getParent

      public Object getParent(Object object)
      Overrides:
      getParent in class ItemProviderAdapter
      Added
    • getPropertyDescriptors

      public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object)
      Overrides:
      getPropertyDescriptors in class ItemProviderAdapter
      Since:
      2.0
    • addCDOPropertyDescriptor

      protected void addCDOPropertyDescriptor(EObject object, org.eclipse.net4j.util.properties.Property<EObject> property)
      Since:
      4.4
    • addIDDescriptor

      @Deprecated protected void addIDDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0
    • addVersionDescriptor

      @Deprecated protected void addVersionDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0
    • addStateDescriptor

      @Deprecated protected void addStateDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0
    • addViewDescriptor

      @Deprecated protected void addViewDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0
    • addContainerDescriptor

      @Deprecated protected void addContainerDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0
    • addDirectResourceDescriptor

      @Deprecated protected void addDirectResourceDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0
    • addReadLockedDescriptor

      @Deprecated protected void addReadLockedDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0
    • addWriteLockedDescriptor

      @Deprecated protected void addWriteLockedDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0
    • addWriteOptionDescriptor

      @Deprecated protected void addWriteOptionDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      4.3
    • addAdaptersDescriptor

      @Deprecated protected void addAdaptersDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0
    • addChangeSubscriptionPoliciesDescriptor

      @Deprecated protected void addChangeSubscriptionPoliciesDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0
    • addURIDescriptor

      @Deprecated protected void addURIDescriptor(Object object)
      Deprecated.
      As of 4.4 not used any more.
      Since:
      2.0