Public Member Functions | Protected Member Functions

de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider Class Reference

List of all members.

Public Member Functions

 DesignFunctionPrototypeItemProvider (AdapterFactory adapterFactory)
Collection<?extends
EStructuralFeature > 
getChildrenFeatures (Object object)
Object getImage (Object object)
List< IItemPropertyDescriptor > getPropertyDescriptors (Object object)
String getText (Object object)
void notifyChanged (Notification notification)

Protected Member Functions

void addCategoryPropertyDescriptor (Object object)
void addNamePropertyDescriptor (Object object)
void addShortNamePropertyDescriptor (Object object)
void addTypePropertyDescriptor (Object object)
void addUaTypePropertyDescriptor (Object object)
void addUuidPropertyDescriptor (Object object)
void collectNewChildDescriptors (Collection< Object > newChildDescriptors, Object object)
EStructuralFeature getChildFeature (Object object, Object child)

Detailed Description

This is the item provider adapter for a de.fraunhofer.isst.eastadl.functionmodeling.DesignFunctionPrototype object.


Constructor & Destructor Documentation

de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.DesignFunctionPrototypeItemProvider ( AdapterFactory  adapterFactory  ) 

This constructs an instance from a factory and a notifier.


Member Function Documentation

void de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.addCategoryPropertyDescriptor ( Object  object  )  [protected]

This adds a property descriptor for the Category feature.

void de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.addNamePropertyDescriptor ( Object  object  )  [protected]

This adds a property descriptor for the Name feature.

void de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.addShortNamePropertyDescriptor ( Object  object  )  [protected]

This adds a property descriptor for the Short Name feature.

void de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.addTypePropertyDescriptor ( Object  object  )  [protected]

This adds a property descriptor for the Type feature.

void de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.addUaTypePropertyDescriptor ( Object  object  )  [protected]

This adds a property descriptor for the Ua Type feature.

void de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.addUuidPropertyDescriptor ( Object  object  )  [protected]

This adds a property descriptor for the Uuid feature.

void de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.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.

EStructuralFeature de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.getChildFeature ( Object  object,
Object  child 
) [protected]
Collection<? extends EStructuralFeature> de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.getChildrenFeatures ( Object  object  ) 

This specifies how to implement getChildren and is used to deduce an appropriate feature for an org.eclipse.emf.edit.command.AddCommand, org.eclipse.emf.edit.command.RemoveCommand or org.eclipse.emf.edit.command.MoveCommand in createCommand.

Object de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.getImage ( Object  object  ) 

This returns DesignFunctionPrototype.gif.

List<IItemPropertyDescriptor> de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.getPropertyDescriptors ( Object  object  ) 

This returns the property descriptors for the adapted class.

String de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.getText ( Object  object  ) 

This returns the label text for the adapted class.

NOT

void de.fraunhofer.isst.eastadl.functionmodeling.provider.DesignFunctionPrototypeItemProvider.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.