Public Member Functions | Protected Member Functions

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

List of all members.

Public Member Functions

Collection<?extends
EStructuralFeature > 
getChildrenFeatures (Object object)
String getCreateChildText (Object owner, Object feature, Object child, Collection<?> selection)
Object getImage (Object object)
List< IItemPropertyDescriptor > getPropertyDescriptors (Object object)
ResourceLocator getResourceLocator ()
String getText (Object object)
void notifyChanged (Notification notification)
 OperationItemProvider (AdapterFactory adapterFactory)

Protected Member Functions

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.Operation object.


Constructor & Destructor Documentation

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

This constructs an instance from a factory and a notifier.


Member Function Documentation

void de.fraunhofer.isst.eastadl.functionmodeling.provider.OperationItemProvider.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.OperationItemProvider.getChildFeature ( Object  object,
Object  child 
) [protected]
Collection<? extends EStructuralFeature> de.fraunhofer.isst.eastadl.functionmodeling.provider.OperationItemProvider.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.

String de.fraunhofer.isst.eastadl.functionmodeling.provider.OperationItemProvider.getCreateChildText ( Object  owner,
Object  feature,
Object  child,
Collection<?>  selection 
)

This returns the label text for org.eclipse.emf.edit.command.CreateChildCommand.

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

This returns Operation.gif.

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

This returns the property descriptors for the adapted class.

ResourceLocator de.fraunhofer.isst.eastadl.functionmodeling.provider.OperationItemProvider.getResourceLocator (  ) 

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

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

This returns the label text for the adapted class.

NOT

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