| |||||||||||
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 |
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)
public Collection getChildrenFeatures(Object object)
public Collection getChildren(Object object)
public boolean hasChildren(Object object)
public Object getParent(Object object)
public Object getImage(Object object)
public String getText(Object object)
public void notifyChanged(Notification msg)
public ResourceLocator getResourceLocator()
|
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 |