Public Member Functions | |
EnumerationItemProvider (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 | collectNewChildDescriptors (Collection< Object > newChildDescriptors, Object object) |
EStructuralFeature | getChildFeature (Object object, Object child) |
This is the item provider adapter for a de.fraunhofer.isst.eastadl.datatypes.Enumeration object.
de.fraunhofer.isst.eastadl.datatypes.provider.EnumerationItemProvider.EnumerationItemProvider | ( | AdapterFactory | adapterFactory | ) |
This constructs an instance from a factory and a notifier.
void de.fraunhofer.isst.eastadl.datatypes.provider.EnumerationItemProvider.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.datatypes.provider.EnumerationItemProvider.getChildFeature | ( | Object | object, | |
Object | child | |||
) | [protected] |
Collection<? extends EStructuralFeature> de.fraunhofer.isst.eastadl.datatypes.provider.EnumerationItemProvider.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.datatypes.provider.EnumerationItemProvider.getImage | ( | Object | object | ) |
This returns Enumeration.gif.
List<IItemPropertyDescriptor> de.fraunhofer.isst.eastadl.datatypes.provider.EnumerationItemProvider.getPropertyDescriptors | ( | Object | object | ) |
This returns the property descriptors for the adapted class.
String de.fraunhofer.isst.eastadl.datatypes.provider.EnumerationItemProvider.getText | ( | Object | object | ) |
This returns the label text for the adapted class.
NOT
void de.fraunhofer.isst.eastadl.datatypes.provider.EnumerationItemProvider.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.