|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterImpl
org.eclipse.emf.edit.provider.ItemProviderAdapter
org.eclipse.emf.mapping.provider.MappingItemProviderAdapter
org.eclipse.emf.mapping.provider.MappingHelperItemProvider
This is the item provider adpater for a MappingHelper object.
| Nested Class Summary |
| Nested classes inherited from class org.eclipse.emf.edit.provider.ItemProviderAdapter |
ItemProviderAdapter.ChildrenStore, ItemProviderAdapter.ModifiableSingletonEList, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommand, ItemProviderAdapter.ResultAndAffectedObjectsWrappingCommandActionDelegate |
| Nested classes inherited from class org.eclipse.emf.common.notify.Adapter |
Adapter.Internal |
| Field Summary |
| Fields inherited from class org.eclipse.emf.edit.provider.ItemProviderAdapter |
adapterFactory, changeNotifier, childrenFeatures, childrenReferences, childrenStoreMap, itemPropertyDescriptors, targets, wrappers, wrappingNeeded |
| Fields inherited from class org.eclipse.emf.common.notify.impl.AdapterImpl |
target |
| Constructor Summary | |
MappingHelperItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier. |
|
| Method Summary | |
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 |
getChildrenFeatures(Object object)
This specifies how to implement getChildren(java.lang.Object) and is used to deduce an appropriate feature for an
AddCommand, RemoveCommand or
MoveCommand in ItemProviderAdapter.createCommand(java.lang.Object, org.eclipse.emf.edit.domain.EditingDomain, java.lang.Class, org.eclipse.emf.edit.command.CommandParameter) |
Object |
getImage(Object object)
This returns MappingHelper.gif. |
Object |
getParent(Object object)
This returns the mapper of the MappingHelper. |
List |
getPropertyDescriptors(Object object)
This returns the property descriptors for the adapted class. |
ResourceLocator |
getResourceLocator()
Return the resource locator for this item provider's resources |
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.common.notify.impl.AdapterImpl |
getTarget |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.emf.edit.provider.IEditingDomainItemProvider |
createCommand, getNewChildDescriptors |
| Methods inherited from interface org.eclipse.emf.edit.provider.IStructuredItemContentProvider |
getElements |
| Methods inherited from interface org.eclipse.emf.edit.provider.IItemPropertySource |
getEditableValue, getPropertyDescriptor |
| Constructor Detail |
public MappingHelperItemProvider(AdapterFactory adapterFactory)
| Method Detail |
public List getPropertyDescriptors(Object object)
getPropertyDescriptors in interface IItemPropertySourcegetPropertyDescriptors in class ItemProviderAdapterpublic Collection getChildrenFeatures(Object object)
getChildren(java.lang.Object) and is used to deduce an appropriate feature for an
AddCommand, RemoveCommand or
MoveCommand in ItemProviderAdapter.createCommand(java.lang.Object, org.eclipse.emf.edit.domain.EditingDomain, java.lang.Class, org.eclipse.emf.edit.command.CommandParameter).
getChildrenFeatures in class ItemProviderAdapterpublic Collection getChildren(Object object)
IEditingDomainItemProviderEditingDomain.getChildren,
i.e., it imposes a hierarchical relation on a domain's model objects.
getChildren in interface IEditingDomainItemProvidergetChildren in class ItemProviderAdapterpublic boolean hasChildren(Object object)
ITreeItemContentProvider
hasChildren in interface ITreeItemContentProviderhasChildren in class ItemProviderAdapterpublic Object getParent(Object object)
getParent in interface IEditingDomainItemProvidergetParent in class ItemProviderAdapterpublic Object getImage(Object object)
getImage in interface IItemLabelProvidergetImage in class ItemProviderAdapterpublic String getText(Object object)
IItemLabelProvider
getText in interface IItemLabelProvidergetText in class ItemProviderAdapterpublic void notifyChanged(Notification msg)
fireNotifyChanged.
notifyChanged in interface AdapternotifyChanged in class AdapterImplpublic ResourceLocator getResourceLocator()
getResourceLocator in class ItemProviderAdapter
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||