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

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

public class EDataGraphItemProvider
extends ItemProviderAdapter

This is the item provider adapter for a EDataGraph object.

See Also:
Serialized Form

Constructor Summary
EDataGraphItemProvider(AdapterFactory adapterFactory)
          This constructs an instance from a factory and a notifier
 
Method Summary
protected  EStructuralFeature getChildFeature(Object object, Object child)
           
 Collection getChildrenFeatures(Object object)
          This specifies how to implement #getChildren and is used to deduce an appropriate feature for an AddCommand, RemoveCommand or MoveCommand in #createCommand
 Object getImage(Object object)
          This returns EDataGraph.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

EDataGraphItemProvider

public EDataGraphItemProvider(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.


getChildrenFeatures

public Collection getChildrenFeatures(Object object)
This specifies how to implement #getChildren and is used to deduce an appropriate feature for an AddCommand, RemoveCommand or MoveCommand in #createCommand.


getChildFeature

protected EStructuralFeature getChildFeature(Object object,
                                             Object child)


getImage

public Object getImage(Object object)
This returns EDataGraph.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.