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

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

public class EDataObjectSimpleAnyTypeItemProvider
extends ItemProviderAdapter

This is the item provider adapter for a EDataObjectSimpleAnyType object.

See Also:
Serialized Form

Constructor Summary
EDataObjectSimpleAnyTypeItemProvider(AdapterFactory adapterFactory)
          This constructs an instance from a factory and a notifier
 
Method Summary
protected  void addInstanceTypePropertyDescriptor(Object object)
          This adds a property descriptor for the Instance Type feature
protected  void addRawValuePropertyDescriptor(Object object)
          This adds a property descriptor for the Raw Value feature
protected  void addValuePropertyDescriptor(Object object)
          This adds a property descriptor for the Value 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 EDataObjectSimpleAnyType.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

EDataObjectSimpleAnyTypeItemProvider

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


addRawValuePropertyDescriptor

protected void addRawValuePropertyDescriptor(Object object)
This adds a property descriptor for the Raw Value feature.


addValuePropertyDescriptor

protected void addValuePropertyDescriptor(Object object)
This adds a property descriptor for the Value feature.


addInstanceTypePropertyDescriptor

protected void addInstanceTypePropertyDescriptor(Object object)
This adds a property descriptor for the Instance Type 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 EDataObjectSimpleAnyType.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.