Public Member Functions | Protected Member Functions

de.fraunhofer.isst.eastadl.datatypes.provider.EADatatypePrototypeItemProvider Class Reference

List of all members.

Public Member Functions

 EADatatypePrototypeItemProvider (AdapterFactory adapterFactory)
Object getImage (Object object)
List< IItemPropertyDescriptor > getPropertyDescriptors (Object object)
ResourceLocator getResourceLocator ()
String getText (Object object)
void notifyChanged (Notification notification)

Protected Member Functions

void addTypePropertyDescriptor (Object object)
void collectNewChildDescriptors (Collection< Object > newChildDescriptors, Object object)

Detailed Description

This is the item provider adapter for a de.fraunhofer.isst.eastadl.datatypes.EADatatypePrototype object.


Constructor & Destructor Documentation

de.fraunhofer.isst.eastadl.datatypes.provider.EADatatypePrototypeItemProvider.EADatatypePrototypeItemProvider ( AdapterFactory  adapterFactory  ) 

This constructs an instance from a factory and a notifier.


Member Function Documentation

void de.fraunhofer.isst.eastadl.datatypes.provider.EADatatypePrototypeItemProvider.addTypePropertyDescriptor ( Object  object  )  [protected]

This adds a property descriptor for the Type feature.

void de.fraunhofer.isst.eastadl.datatypes.provider.EADatatypePrototypeItemProvider.collectNewChildDescriptors ( Collection< Object >  newChildDescriptors,
Object  object 
) [protected]

This adds org.eclipse.emf.edit.command.CommandParameters describing the children that can be created under this object.

Object de.fraunhofer.isst.eastadl.datatypes.provider.EADatatypePrototypeItemProvider.getImage ( Object  object  ) 

This returns EADatatypePrototype.gif.

List<IItemPropertyDescriptor> de.fraunhofer.isst.eastadl.datatypes.provider.EADatatypePrototypeItemProvider.getPropertyDescriptors ( Object  object  ) 

This returns the property descriptors for the adapted class.

ResourceLocator de.fraunhofer.isst.eastadl.datatypes.provider.EADatatypePrototypeItemProvider.getResourceLocator (  ) 

Return the resource locator for this item provider's resources.

String de.fraunhofer.isst.eastadl.datatypes.provider.EADatatypePrototypeItemProvider.getText ( Object  object  ) 

This returns the label text for the adapted class.

NOT

void de.fraunhofer.isst.eastadl.datatypes.provider.EADatatypePrototypeItemProvider.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.