Public Member Functions | |
CommentItemProvider (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 | addBodyPropertyDescriptor (Object object) |
void | collectNewChildDescriptors (Collection< Object > newChildDescriptors, Object object) |
This is the item provider adapter for a de.fraunhofer.isst.eastadl.elements.Comment object.
de.fraunhofer.isst.eastadl.elements.provider.CommentItemProvider.CommentItemProvider | ( | AdapterFactory | adapterFactory | ) |
This constructs an instance from a factory and a notifier.
void de.fraunhofer.isst.eastadl.elements.provider.CommentItemProvider.addBodyPropertyDescriptor | ( | Object | object | ) | [protected] |
This adds a property descriptor for the Body feature.
void de.fraunhofer.isst.eastadl.elements.provider.CommentItemProvider.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.elements.provider.CommentItemProvider.getImage | ( | Object | object | ) |
This returns Comment.gif.
List<IItemPropertyDescriptor> de.fraunhofer.isst.eastadl.elements.provider.CommentItemProvider.getPropertyDescriptors | ( | Object | object | ) |
This returns the property descriptors for the adapted class.
ResourceLocator de.fraunhofer.isst.eastadl.elements.provider.CommentItemProvider.getResourceLocator | ( | ) |
Return the resource locator for this item provider's resources.
String de.fraunhofer.isst.eastadl.elements.provider.CommentItemProvider.getText | ( | Object | object | ) |
This returns the label text for the adapted class.
NOT
void de.fraunhofer.isst.eastadl.elements.provider.CommentItemProvider.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.