org.eclipse.emf.cdo.edit
Class CDOItemProviderAdapter.CDOPropertyDescriptor

java.lang.Object
  extended by org.eclipse.emf.cdo.edit.CDOItemProviderAdapter.CDOPropertyDescriptor
All Implemented Interfaces:
IItemPropertyDescriptor
Direct Known Subclasses:
CDOItemProviderAdapter.AdaptersDescriptor, CDOItemProviderAdapter.ChangeSubscriptionPoliciesDescriptor, CDOItemProviderAdapter.ContainerDescriptor, CDOItemProviderAdapter.DirectResourceDescriptor, CDOItemProviderAdapter.IDDescriptor, CDOItemProviderAdapter.ReadLockedDescriptor, CDOItemProviderAdapter.StateDescriptor, CDOItemProviderAdapter.URIDescriptor, CDOItemProviderAdapter.VersionDescriptor, CDOItemProviderAdapter.ViewDescriptor, CDOItemProviderAdapter.WriteLockedDescriptor
Enclosing class:
CDOItemProviderAdapter

public abstract static class CDOItemProviderAdapter.CDOPropertyDescriptor
extends Object
implements IItemPropertyDescriptor

Base abstract to add CDO debug information to PropertiesView. Users wanting to add new information to the Properties View can subclass this class instead of directly implementing IItemPropertyDescriptor.

Since:
2.0

Nested Class Summary
static class CDOItemProviderAdapter.CDOPropertyDescriptor.DefaultLabelProvider
          A default implementation of IItemLabelProvider.
 
Nested classes/interfaces inherited from interface org.eclipse.emf.edit.provider.IItemPropertyDescriptor
IItemPropertyDescriptor.OverrideableCommandOwner
 
Field Summary
static String CDO_CATEGORY
          PropertiesView category for CDO
static String[] FILTER_ID_EXPERT
          The filter id for expert properties
 
Constructor Summary
CDOItemProviderAdapter.CDOPropertyDescriptor()
           
 
Method Summary
 boolean canSetProperty(Object object)
           
 String getCategory(Object object)
           
 Collection<?> getChoiceOfValues(Object object)
           
 String[] getFilterFlags(Object object)
           
 Object getHelpContextIds(Object object)
           
 IItemLabelProvider getLabelProvider(Object object)
           
 boolean isCompatibleWith(Object object, Object anotherObject, IItemPropertyDescriptor anotherPropertyDescriptor)
           
 boolean isMany(Object object)
           
 boolean isMultiLine(Object object)
           
 boolean isPropertySet(Object object)
           
 boolean isSortChoices(Object object)
           
 void resetPropertyValue(Object object)
           
 void setPropertyValue(Object object, Object value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.edit.provider.IItemPropertyDescriptor
getDescription, getDisplayName, getFeature, getId, getPropertyValue
 

Field Detail

FILTER_ID_EXPERT

public static final String[] FILTER_ID_EXPERT
The filter id for expert properties


CDO_CATEGORY

public static final String CDO_CATEGORY
PropertiesView category for CDO

Constructor Detail

CDOItemProviderAdapter.CDOPropertyDescriptor

public CDOItemProviderAdapter.CDOPropertyDescriptor()
Method Detail

canSetProperty

public boolean canSetProperty(Object object)
Specified by:
canSetProperty in interface IItemPropertyDescriptor

setPropertyValue

public void setPropertyValue(Object object,
                             Object value)
Specified by:
setPropertyValue in interface IItemPropertyDescriptor

resetPropertyValue

public void resetPropertyValue(Object object)
Specified by:
resetPropertyValue in interface IItemPropertyDescriptor

isPropertySet

public boolean isPropertySet(Object object)
Specified by:
isPropertySet in interface IItemPropertyDescriptor

getCategory

public String getCategory(Object object)
Specified by:
getCategory in interface IItemPropertyDescriptor

getChoiceOfValues

public Collection<?> getChoiceOfValues(Object object)
Specified by:
getChoiceOfValues in interface IItemPropertyDescriptor

getHelpContextIds

public Object getHelpContextIds(Object object)
Specified by:
getHelpContextIds in interface IItemPropertyDescriptor

isCompatibleWith

public boolean isCompatibleWith(Object object,
                                Object anotherObject,
                                IItemPropertyDescriptor anotherPropertyDescriptor)
Specified by:
isCompatibleWith in interface IItemPropertyDescriptor

isMany

public boolean isMany(Object object)
Specified by:
isMany in interface IItemPropertyDescriptor

isMultiLine

public boolean isMultiLine(Object object)
Specified by:
isMultiLine in interface IItemPropertyDescriptor

isSortChoices

public boolean isSortChoices(Object object)
Specified by:
isSortChoices in interface IItemPropertyDescriptor

getFilterFlags

public String[] getFilterFlags(Object object)
Specified by:
getFilterFlags in interface IItemPropertyDescriptor

getLabelProvider

public IItemLabelProvider getLabelProvider(Object object)
Specified by:
getLabelProvider in interface IItemPropertyDescriptor


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