Public Member Functions | Protected Member Functions

de.fraunhofer.isst.axbench.transactioneditor.provider.TransactionItemProvider Class Reference

List of all members.

Public Member Functions

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

Protected Member Functions

void addTitlePropertyDescriptor (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.axbench.transactioneditor.Transaction object.


Constructor & Destructor Documentation

de.fraunhofer.isst.axbench.transactioneditor.provider.TransactionItemProvider.TransactionItemProvider ( AdapterFactory  adapterFactory  ) 

This constructs an instance from a factory and a notifier.


Member Function Documentation

void de.fraunhofer.isst.axbench.transactioneditor.provider.TransactionItemProvider.addTitlePropertyDescriptor ( Object  object  )  [protected]

This adds a property descriptor for the Title feature.

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

This returns Transaction.gif.

List<IItemPropertyDescriptor> de.fraunhofer.isst.axbench.transactioneditor.provider.TransactionItemProvider.getPropertyDescriptors ( Object  object  ) 

This returns the property descriptors for the adapted class.

ResourceLocator de.fraunhofer.isst.axbench.transactioneditor.provider.TransactionItemProvider.getResourceLocator (  ) 

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

String de.fraunhofer.isst.axbench.transactioneditor.provider.TransactionItemProvider.getText ( Object  object  ) 

This returns the label text for the adapted class.

void de.fraunhofer.isst.axbench.transactioneditor.provider.TransactionItemProvider.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.