Public Member Functions | Protected Member Functions

de.fraunhofer.isst.eastadl.hardwaremodeling.provider.SensorItemProvider Class Reference

List of all members.

Public Member Functions

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

Protected Member Functions

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

Detailed Description

This is the item provider adapter for a de.fraunhofer.isst.eastadl.hardwaremodeling.Sensor object.


Constructor & Destructor Documentation

de.fraunhofer.isst.eastadl.hardwaremodeling.provider.SensorItemProvider.SensorItemProvider ( AdapterFactory  adapterFactory  ) 

This constructs an instance from a factory and a notifier.


Member Function Documentation

void de.fraunhofer.isst.eastadl.hardwaremodeling.provider.SensorItemProvider.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.hardwaremodeling.provider.SensorItemProvider.getImage ( Object  object  ) 

This returns Sensor.gif.

List<IItemPropertyDescriptor> de.fraunhofer.isst.eastadl.hardwaremodeling.provider.SensorItemProvider.getPropertyDescriptors ( Object  object  ) 

This returns the property descriptors for the adapted class.

String de.fraunhofer.isst.eastadl.hardwaremodeling.provider.SensorItemProvider.getText ( Object  object  ) 

This returns the label text for the adapted class.

NOT

void de.fraunhofer.isst.eastadl.hardwaremodeling.provider.SensorItemProvider.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.