org.eclipse.emf.cdo.edit
Class CDOItemProviderAdapter

java.lang.Object
  extended by org.eclipse.emf.common.notify.impl.AdapterImpl
      extended by org.eclipse.emf.edit.provider.ItemProviderAdapter
          extended by org.eclipse.emf.cdo.edit.CDOItemProviderAdapter
All Implemented Interfaces:
Adapter, Adapter.Internal, ResourceLocator, CreateChildCommand.Helper, IChangeNotifier, IDisposable

public class CDOItemProviderAdapter
extends ItemProviderAdapter

Adds CDO-specific properties to objects, such as ID, version and state.


Nested Class Summary
static class CDOItemProviderAdapter.AdaptersDescriptor
          Adds the eAdapters list of a CDOObject to the Properties View.
static class CDOItemProviderAdapter.CDOPropertyDescriptor
          Base abstract to add CDO debug information to PropertiesView.
static class CDOItemProviderAdapter.ChangeSubscriptionPoliciesDescriptor
          Adds the change subscription policies list of a CDOObject to the Properties View.
static class CDOItemProviderAdapter.ContainerDescriptor
          Adds the eContainer of a CDOObject to the Properties View.
static class CDOItemProviderAdapter.DirectResourceDescriptor
          Adds the direct resource of a CDOObject to the Properties View.
static class CDOItemProviderAdapter.IDDescriptor
          Adds the CDOID of a CDOObject to the Properties View.
static class CDOItemProviderAdapter.ReadLockedDescriptor
          Adds the read lock of a CDOObject to the Properties View.
static class CDOItemProviderAdapter.StateDescriptor
          Adds the state of a CDOObject to the Properties View.
static class CDOItemProviderAdapter.URIDescriptor
          Adds the URI of a CDOObject to the Properties View.
static class CDOItemProviderAdapter.VersionDescriptor
          Adds the version of a CDOObject to the Properties View.
static class CDOItemProviderAdapter.ViewDescriptor
          Adds the associate view of a CDOObject to the Properties View.
static class CDOItemProviderAdapter.WriteLockedDescriptor
          Adds the write lock of a CDOObject to the Properties View.
 
Nested classes/interfaces inherited from class org.eclipse.emf.edit.provider.ItemProviderAdapter
ItemProviderAdapter.ChildrenStore, ItemProviderAdapter.ModifiableSingletonEList<E>, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommand, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommandActionDelegate
 
Nested classes/interfaces inherited from interface org.eclipse.emf.common.notify.Adapter
Adapter.Internal
 
Field Summary
 
Fields inherited from class org.eclipse.emf.edit.provider.ItemProviderAdapter
adapterFactory, changeNotifier, childrenFeatures, childrenReferences, childrenStoreMap, itemPropertyDescriptors, targets, wrappers, wrappingNeeded
 
Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
target
 
Constructor Summary
CDOItemProviderAdapter(AdapterFactory adapterFactory)
           
 
Method Summary
protected  void addAdaptersDescriptor(Object object)
           
protected  void addChangeSubscriptionPoliciesDescriptor(Object object)
           
protected  void addContainerDescriptor(Object object)
           
protected  void addDirectResourceDescriptor(Object object)
           
protected  void addIDDescriptor(Object object)
           
protected  void addReadLockedDescriptor(Object object)
           
protected  void addStateDescriptor(Object object)
           
protected  void addURIDescriptor(Object object)
           
protected  void addVersionDescriptor(Object object)
           
protected  void addViewDescriptor(Object object)
           
protected  void addWriteLockedDescriptor(Object object)
           
 List<IItemPropertyDescriptor> getPropertyDescriptors(Object object)
           
 boolean hasChildren(Object object)
           
 
Methods inherited from class org.eclipse.emf.edit.provider.ItemProviderAdapter
addListener, adjustWrapperIndex, adjustWrapperIndices, adjustWrapperIndices, collectNewChildDescriptors, createAddCommand, createAddCommand, createChildParameter, createChildrenStore, createCommand, createCopyCommand, createCreateChildCommand, createCreateChildCommand, createCreateCopyCommand, createDragAndDropCommand, createInitializeCopyCommand, createItemPropertyDescriptor, createItemPropertyDescriptor, createMoveCommand, createMoveCommand, createRemoveCommand, createRemoveCommand, createReplaceCommand, createReplaceCommand, createSetCommand, createSetCommand, createWrapper, crop, dispose, disposeWrapper, disposeWrappers, factorAddCommand, factorMoveCommand, factorRemoveCommand, fireNotifyChanged, getAdapterFactory, getBackground, getBackground, getBaseURL, getChildFeature, getChildReference, getChildren, getChildrenFeatures, getChildrenReferences, getChildrenStore, getColumnImage, getColumnText, getCreateChildDescription, getCreateChildImage, getCreateChildResult, getCreateChildText, getCreateChildToolTipText, getEditableValue, getElements, getFeatureText, getFeatureValue, getFont, getFont, getForeground, getForeground, getImage, getImage, getNewChildDescriptors, getParent, getPropertyDescriptor, getPropertyValue, getReferenceValue, getResourceLocator, getResourceLocator, getRootAdapterFactory, getSetFeature, getSetFeatures, getString, getString, getString, getString, getString, getString, getString, getString, getText, getTypeText, getTypeText, getUpdateableText, getValue, getWrappedValues, hasChildren, isAdapterForType, isEquivalentValue, isPropertySet, isResolveProxies, isValidValue, isWrappingNeeded, overlayImage, removeListener, resetPropertyValue, setPropertyValue, setTarget, shouldComposeCreationImage, shouldTranslate, unsetTarget, unwrap, unwrapCommandValues, updateChildren, wrap, wrapCommand
 
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl
getTarget, notifyChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CDOItemProviderAdapter

public CDOItemProviderAdapter(AdapterFactory adapterFactory)
Method Detail

hasChildren

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

getPropertyDescriptors

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

addIDDescriptor

protected void addIDDescriptor(Object object)
Since:
2.0

addVersionDescriptor

protected void addVersionDescriptor(Object object)
Since:
2.0

addStateDescriptor

protected void addStateDescriptor(Object object)
Since:
2.0

addViewDescriptor

protected void addViewDescriptor(Object object)
Since:
2.0

addContainerDescriptor

protected void addContainerDescriptor(Object object)
Since:
2.0

addDirectResourceDescriptor

protected void addDirectResourceDescriptor(Object object)
Since:
2.0

addReadLockedDescriptor

protected void addReadLockedDescriptor(Object object)
Since:
2.0

addWriteLockedDescriptor

protected void addWriteLockedDescriptor(Object object)
Since:
2.0

addAdaptersDescriptor

protected void addAdaptersDescriptor(Object object)
Since:
2.0

addChangeSubscriptionPoliciesDescriptor

protected void addChangeSubscriptionPoliciesDescriptor(Object object)
Since:
2.0

addURIDescriptor

protected void addURIDescriptor(Object object)
Since:
2.0


Copyright (c) 2004 - 2012 Eike Stepper (Berlin, Germany) and others.