| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.emf.edit.provider.ItemProviderDecorator
org.eclipse.emf.mapping.provider.MappedObjectItemProvider
This is the item provider adpater for a Mapping object.
Field Summary | |
protected EObject | mappedObject
|
protected MappedObjectState | mappedObjectState
|
protected Mapping | mapping
|
Fields inherited from class org.eclipse.emf.edit.provider.ItemProviderDecorator |
adapterFactory, changeNotifier, decoratedItemProvider |
Constructor Summary | |
MappedObjectItemProvider(AdapterFactory adapterFactory,
EObject mappedObject,
Mapping mapping)
This constructs an instance from a factory and a notifier. |
Method Summary | |
Command | createCommand(Object object,
EditingDomain editingDomain,
Class commandClass,
CommandParameter commandParameter)
This does the same thing as EditingDomain.createCommand, i.e., it creates commands for a domain's model objects. |
void | dispose()
This is called to dispose the object. |
Collection | getChildren(Object object)
This does the same thing as EditingDomain.getChildren, i.e., it imposes a hierarchical relation on a domain's model objects. |
Collection | getElements(Object object)
This does the same thing as IStructuredContentProvider.getElements. |
Object | getImage(Object object)
This does the same thing as ILabelProvider.getImage, it fetches the label image specific to this object instance. |
EObject | getMappedObject()
|
Mapping | getMapping()
|
Object | getParent(Object object)
This returns the nestedIn of the Mapping. |
IItemPropertyDescriptor | getPropertyDescriptor(Object object,
Object propertyId)
This returns the property descriptor with the given ID. |
List | getPropertyDescriptors(Object object)
This does the same thing as IPropertySource.getPropertyDescriptors. |
String | getText(Object object)
This does the same thing as ILabelProvider.getlText, it fetches the label text specific to this object instance. |
boolean | hasChildren(Object object)
This does the same thing as ITreeContentProvider.hasChildren. |
void | notifyChanged(Notification msg)
This handles notification by delegating to fireNotifyChanged. |
Methods inherited from class org.eclipse.emf.edit.provider.ItemProviderDecorator |
addListener, fireNotifyChanged, getAdapterFactory, getColumnImage, getColumnText, getDecoratedItemProvider, getEditableValue, getNewChildDescriptors, getUpdateableText, isAdapterForType, removeListener, setDecoratedItemProvider, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface org.eclipse.emf.edit.provider.IEditingDomainItemProvider |
getNewChildDescriptors |
Methods inherited from interface org.eclipse.emf.edit.provider.IItemPropertySource |
getEditableValue |
Field Detail |
protected Mapping mapping
protected EObject mappedObject
protected MappedObjectState mappedObjectState
Constructor Detail |
public MappedObjectItemProvider(AdapterFactory adapterFactory, EObject mappedObject, Mapping mapping)
Method Detail |
public Object getParent(Object object)
public Collection getElements(Object object)
public Collection getChildren(Object object)
public boolean hasChildren(Object object)
public Object getImage(Object object)
public String getText(Object object)
public List getPropertyDescriptors(Object object)
public IItemPropertyDescriptor getPropertyDescriptor(Object object, Object propertyId)
public void notifyChanged(Notification msg)
public Command createCommand(Object object, EditingDomain editingDomain, Class commandClass, CommandParameter commandParameter)
public EObject getMappedObject()
public Mapping getMapping()
public void dispose()
|
Copyright 2001-2004 IBM Corporation and others. All Rights Reserved. | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |