|
|||||||||||
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.MappingItemProvider
org.eclipse.emf.mapping.provider.MappingRootItemProvider
This is the item provider adpater for a MappingRoot
object.
Nested Class Summary |
Nested classes inherited from class org.eclipse.emf.mapping.provider.MappingItemProvider |
MappingItemProvider.TypeMappingHelperWrapper |
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.mapping.provider.MappingItemProvider |
DIVIDER, mappedObjectItemProviderList, SEPARATOR |
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 | |
MappingRootItemProvider(AdapterFactory adapterFactory)
This constructs an instance from a factory and a notifier. |
Method Summary | |
protected Command |
createAddMappingCommand(MappingDomain domain,
Collection collection)
This creates a primitive AddMappingCommand . |
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. |
protected Command |
createCreateMappingCommand(MappingDomain domain,
Collection collection)
This creates a primitive CreateMappingCommand . |
protected Command |
createRemoveMappingCommand(MappingDomain domain,
Collection collection)
This creates a primitive RemoveMappingCommand . |
protected Command |
createRestoreInitialStateCommand(MappingDomain domain)
This creates a primitive RestoreInitialStateCommand . |
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 returns the label text for the adapted class |
void |
notifyChanged(Notification msg)
This handles notification by delegating to fireNotifyChanged . |
Methods inherited from class org.eclipse.emf.mapping.provider.MappingItemProvider |
createAddCommand, createMoveCommand, createNameMatchMappingCommand, createRemoveCommand, createSetCommand, createTypeMatchMappingCommand, createValueIterator, dispose, factorAddCommand, getChildFeature, getChildren, getChildrenFeatures, getImage, getImage, getImage, getImage, getImage, getImage, getMappedObjectItemProvider, getParent, getPropertyDescriptorsForHelper, getSetFeature, getText, getText, getText, getText, getText, hasChildren, substituteMappedObject, substituteMappedObjectItemProvider |
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 |
getChildren, getNewChildDescriptors, getParent |
Methods inherited from interface org.eclipse.emf.edit.provider.IStructuredItemContentProvider |
getElements |
Methods inherited from interface org.eclipse.emf.edit.provider.ITreeItemContentProvider |
getChildren, getParent, hasChildren |
Methods inherited from interface org.eclipse.emf.edit.provider.IItemLabelProvider |
getImage |
Methods inherited from interface org.eclipse.emf.edit.provider.IItemPropertySource |
getEditableValue, getPropertyDescriptor |
Constructor Detail |
public MappingRootItemProvider(AdapterFactory adapterFactory)
Method Detail |
public List getPropertyDescriptors(Object object)
getPropertyDescriptors
in interface IItemPropertySource
getPropertyDescriptors
in class MappingItemProvider
public String getText(Object object)
getText
in interface IItemLabelProvider
getText
in class MappingItemProvider
public void notifyChanged(Notification msg)
fireNotifyChanged
.
notifyChanged
in interface Adapter
notifyChanged
in class MappingItemProvider
public Command createCommand(Object object, EditingDomain editingDomain, Class commandClass, CommandParameter commandParameter)
IEditingDomainItemProvider
EditingDomain.createCommand
,
i.e., it creates commands for a domain's model objects.
createCommand
in interface IEditingDomainItemProvider
createCommand
in class MappingItemProvider
protected Command createCreateMappingCommand(MappingDomain domain, Collection collection)
CreateMappingCommand
.
protected Command createAddMappingCommand(MappingDomain domain, Collection collection)
AddMappingCommand
.
protected Command createRemoveMappingCommand(MappingDomain domain, Collection collection)
RemoveMappingCommand
.
protected Command createRestoreInitialStateCommand(MappingDomain domain)
RestoreInitialStateCommand
.
public ResourceLocator getResourceLocator()
getResourceLocator
in class MappingItemProvider
|
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 |