|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.edit.provider.ItemProviderDecorator org.eclipse.emf.mapping.provider.MappedObjectItemProvider
public class 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(java.lang.Object object,
EditingDomain editingDomain,
java.lang.Class<? extends Command> commandClass,
CommandParameter commandParameter)
This implements IEditingDomainItemProvider.createCommand
by delegating to (IEditingDomainItemProvider) ItemProviderDecorator.decoratedItemProvider . |
void |
dispose()
This is called to dispose the object. |
java.util.Collection<?> |
getChildren(java.lang.Object object)
This implements ITreeItemContentProvider.getChildren
by delegating to (ITreeItemContentProvider) ItemProviderDecorator.decoratedItemProvider . |
java.util.Collection<?> |
getElements(java.lang.Object object)
This implements IStructuredItemContentProvider.getElements
by delegating to (IStructuredItemContentProvider) ItemProviderDecorator.decoratedItemProvider . |
java.lang.Object |
getImage(java.lang.Object object)
This implements IItemLabelProvider.getImage
by delegating to (IItemLabelProvider) ItemProviderDecorator.decoratedItemProvider . |
EObject |
getMappedObject()
|
Mapping |
getMapping()
|
java.lang.Object |
getParent(java.lang.Object object)
This returns the nestedIn of the Mapping. |
IItemPropertyDescriptor |
getPropertyDescriptor(java.lang.Object object,
java.lang.Object propertyId)
This implements IItemPropertySource.getPropertyDescriptors
by delegating to (IItemPropertySource) ItemProviderDecorator.decoratedItemProvider . |
java.util.List<IItemPropertyDescriptor> |
getPropertyDescriptors(java.lang.Object object)
This implements IItemPropertySource.getPropertyDescriptors
by delegating to (IItemPropertySource) ItemProviderDecorator.decoratedItemProvider . |
java.lang.String |
getText(java.lang.Object object)
This implements IItemLabelProvider.getText
by delegating to (IItemLabelProvider) ItemProviderDecorator.decoratedItemProvider . |
boolean |
hasChildren(java.lang.Object object)
This implements ITreeItemContentProvider.hasChildren
by delegating to (ITreeItemContentProvider) ItemProviderDecorator.decoratedItemProvider . |
void |
notifyChanged(Notification msg)
This handles notification by delegating to fireNotifyChanged . |
Methods inherited from class org.eclipse.emf.edit.provider.ItemProviderDecorator |
---|
addListener, fireNotifyChanged, getAdapterFactory, getBackground, getBackground, getColumnImage, getColumnText, getDecoratedItemProvider, getEditableValue, getFont, getFont, getForeground, getForeground, 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 java.lang.Object getParent(java.lang.Object object)
getParent
in interface IEditingDomainItemProvider
getParent
in interface ITreeItemContentProvider
getParent
in class ItemProviderDecorator
public java.util.Collection<?> getElements(java.lang.Object object)
ItemProviderDecorator
IStructuredItemContentProvider.getElements
by delegating to (IStructuredItemContentProvider)
ItemProviderDecorator.decoratedItemProvider
.
getElements
in interface IStructuredItemContentProvider
getElements
in class ItemProviderDecorator
public java.util.Collection<?> getChildren(java.lang.Object object)
ItemProviderDecorator
ITreeItemContentProvider.getChildren
by delegating to (ITreeItemContentProvider)
ItemProviderDecorator.decoratedItemProvider
.
getChildren
in interface IEditingDomainItemProvider
getChildren
in interface ITreeItemContentProvider
getChildren
in class ItemProviderDecorator
public boolean hasChildren(java.lang.Object object)
ItemProviderDecorator
ITreeItemContentProvider.hasChildren
by delegating to (ITreeItemContentProvider)
ItemProviderDecorator.decoratedItemProvider
.
hasChildren
in interface ITreeItemContentProvider
hasChildren
in class ItemProviderDecorator
public java.lang.Object getImage(java.lang.Object object)
ItemProviderDecorator
IItemLabelProvider.getImage
by delegating to (IItemLabelProvider)
ItemProviderDecorator.decoratedItemProvider
.
getImage
in interface IItemLabelProvider
getImage
in class ItemProviderDecorator
public java.lang.String getText(java.lang.Object object)
ItemProviderDecorator
IItemLabelProvider.getText
by delegating to (IItemLabelProvider)
ItemProviderDecorator.decoratedItemProvider
.
getText
in interface IItemLabelProvider
getText
in class ItemProviderDecorator
public java.util.List<IItemPropertyDescriptor> getPropertyDescriptors(java.lang.Object object)
ItemProviderDecorator
IItemPropertySource.getPropertyDescriptors
by delegating to (IItemPropertySource)
ItemProviderDecorator.decoratedItemProvider
.
getPropertyDescriptors
in interface IItemPropertySource
getPropertyDescriptors
in class ItemProviderDecorator
public IItemPropertyDescriptor getPropertyDescriptor(java.lang.Object object, java.lang.Object propertyId)
ItemProviderDecorator
IItemPropertySource.getPropertyDescriptors
by delegating to (IItemPropertySource)
ItemProviderDecorator.decoratedItemProvider
.
getPropertyDescriptor
in interface IItemPropertySource
getPropertyDescriptor
in class ItemProviderDecorator
public void notifyChanged(Notification msg)
fireNotifyChanged
.
notifyChanged
in interface INotifyChangedListener
notifyChanged
in class ItemProviderDecorator
public Command createCommand(java.lang.Object object, EditingDomain editingDomain, java.lang.Class<? extends Command> commandClass, CommandParameter commandParameter)
ItemProviderDecorator
IEditingDomainItemProvider.createCommand
by delegating to (IEditingDomainItemProvider)
ItemProviderDecorator.decoratedItemProvider
.
createCommand
in interface IEditingDomainItemProvider
createCommand
in class ItemProviderDecorator
public EObject getMappedObject()
public Mapping getMapping()
public void dispose()
IDisposable
dispose
in interface IDisposable
dispose
in class ItemProviderDecorator
|
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 |