org.eclipse.emf.ecore.sdo.provider
Class EPropertyItemProvider

java.lang.Object
  extended byItemProviderAdapter
      extended byorg.eclipse.emf.ecore.sdo.provider.EPropertyItemProvider

public class EPropertyItemProvider
extends ItemProviderAdapter

This is the item provider adapter for a EProperty object.

See Also:
Serialized Form

Constructor Summary
EPropertyItemProvider(AdapterFactory adapterFactory)
          This constructs an instance from a factory and a notifier
 
Method Summary
protected  void addContainingTypePropertyDescriptor(Object object)
          This adds a property descriptor for the Containing Type feature
protected  void addContainmentPropertyDescriptor(Object object)
          This adds a property descriptor for the Containment feature
protected  void addDefaultPropertyDescriptor(Object object)
          This adds a property descriptor for the Default feature
protected  void addEStructuralFeaturePropertyDescriptor(Object object)
          This adds a property descriptor for the EStructural Feature feature
protected  void addManyPropertyDescriptor(Object object)
          This adds a property descriptor for the Many feature
protected  void addNamePropertyDescriptor(Object object)
          This adds a property descriptor for the Name feature
protected  void addTypePropertyDescriptor(Object object)
          This adds a property descriptor for the Type feature
 Object getImage(Object object)
          This returns EProperty.gif
 List getPropertyDescriptors(Object object)
          This returns the property descriptors for the adapted class
 ResourceLocator getResourceLocator()
          Return the resource locator for this item provider's resources
 String getText(Object object)
          This returns the label text for the adapted class
 void notifyChanged(Notification notification)
          This handles model notifications by calling #updateChildren to update any cached children and by creating a viewer notification, which it passes to #fireNotifyChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EPropertyItemProvider

public EPropertyItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier.

Method Detail

getPropertyDescriptors

public List getPropertyDescriptors(Object object)
This returns the property descriptors for the adapted class.


addNamePropertyDescriptor

protected void addNamePropertyDescriptor(Object object)
This adds a property descriptor for the Name feature.


addManyPropertyDescriptor

protected void addManyPropertyDescriptor(Object object)
This adds a property descriptor for the Many feature.


addContainmentPropertyDescriptor

protected void addContainmentPropertyDescriptor(Object object)
This adds a property descriptor for the Containment feature.


addDefaultPropertyDescriptor

protected void addDefaultPropertyDescriptor(Object object)
This adds a property descriptor for the Default feature.


addTypePropertyDescriptor

protected void addTypePropertyDescriptor(Object object)
This adds a property descriptor for the Type feature.


addContainingTypePropertyDescriptor

protected void addContainingTypePropertyDescriptor(Object object)
This adds a property descriptor for the Containing Type feature.


addEStructuralFeaturePropertyDescriptor

protected void addEStructuralFeaturePropertyDescriptor(Object object)
This adds a property descriptor for the EStructural Feature feature.


getImage

public Object getImage(Object object)
This returns EProperty.gif.


getText

public String getText(Object object)
This returns the label text for the adapted class.


notifyChanged

public void notifyChanged(Notification notification)
This handles model notifications by calling #updateChildren to update any cached children and by creating a viewer notification, which it passes to #fireNotifyChanged.


getResourceLocator

public ResourceLocator getResourceLocator()
Return the resource locator for this item provider's resources.


Copyright 2001-2004 IBM Corporation and others.
All Rights Reserved.