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

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

public class ETypeItemProvider
extends ItemProviderAdapter

This is the item provider adapter for a EType object.

See Also:
Serialized Form

Constructor Summary
ETypeItemProvider(AdapterFactory adapterFactory)
          This constructs an instance from a factory and a notifier
 
Method Summary
protected  void addEClassifierPropertyDescriptor(Object object)
          This adds a property descriptor for the EClassifier feature
protected  void addInstanceClassPropertyDescriptor(Object object)
          This adds a property descriptor for the Instance Class feature
protected  void addNamePropertyDescriptor(Object object)
          This adds a property descriptor for the Name feature
protected  void addPropertiesPropertyDescriptor(Object object)
          This adds a property descriptor for the Properties feature
protected  void addURIPropertyDescriptor(Object object)
          This adds a property descriptor for the URI feature
 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 EType.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

ETypeItemProvider

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


addURIPropertyDescriptor

protected void addURIPropertyDescriptor(Object object)
This adds a property descriptor for the URI feature.


addInstanceClassPropertyDescriptor

protected void addInstanceClassPropertyDescriptor(Object object)
This adds a property descriptor for the Instance Class feature.


addPropertiesPropertyDescriptor

protected void addPropertiesPropertyDescriptor(Object object)
This adds a property descriptor for the Properties feature.


addEClassifierPropertyDescriptor

protected void addEClassifierPropertyDescriptor(Object object)
This adds a property descriptor for the EClassifier feature.


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.


getImage

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