Public Member Functions | Protected Member Functions
org.best_of_robotics.model.datatypes.provider.CustomTypeItemProvider Class Reference
Inheritance diagram for org.best_of_robotics.model.datatypes.provider.CustomTypeItemProvider:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 CustomTypeItemProvider (AdapterFactory adapterFactory)
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)

Protected Member Functions

void addNamePropertyDescriptor (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 org.best_of_robotics.model.datatypes.CustomType object.

Definition at line 41 of file CustomTypeItemProvider.java.


Constructor & Destructor Documentation

This constructs an instance from a factory and a notifier.

Definition at line 55 of file CustomTypeItemProvider.java.


Member Function Documentation

This adds a property descriptor for the Name feature.

Definition at line 81 of file CustomTypeItemProvider.java.

void org.best_of_robotics.model.datatypes.provider.CustomTypeItemProvider.collectNewChildDescriptors ( Collection< Object >  newChildDescriptors,
Object  object 
) [inline, protected]

This adds org.eclipse.emf.edit.command.CommandParameters describing the children that can be created under this object.

Definition at line 183 of file CustomTypeItemProvider.java.

EStructuralFeature org.best_of_robotics.model.datatypes.provider.CustomTypeItemProvider.getChildFeature ( Object  object,
Object  child 
) [inline, protected]

Definition at line 120 of file CustomTypeItemProvider.java.

Collection<? extends EStructuralFeature> org.best_of_robotics.model.datatypes.provider.CustomTypeItemProvider.getChildrenFeatures ( Object  object) [inline]

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.

Definition at line 106 of file CustomTypeItemProvider.java.

This returns CustomType.gif.

Definition at line 134 of file CustomTypeItemProvider.java.

This returns the property descriptors for the adapted class.

Definition at line 66 of file CustomTypeItemProvider.java.

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

Definition at line 199 of file CustomTypeItemProvider.java.

This returns the label text for the adapted class.

Modified in order to return first the type name NOT

Definition at line 146 of file CustomTypeItemProvider.java.

This handles model notifications by calling updateChildren to update any cached children and by creating a viewer notification, which it passes to fireNotifyChanged.

Definition at line 161 of file CustomTypeItemProvider.java.


The documentation for this class was generated from the following file:


bride_plugin_source
Author(s): Alexander Bubeck
autogenerated on Sun Oct 5 2014 22:38:35