org.eclipse.emf.mapping.presentation
Class MappingEditor.MyDecoratorAdapterFactory
java.lang.Object
|
+--org.eclipse.emf.edit.provider.DecoratorAdapterFactory
|
+--org.eclipse.emf.mapping.presentation.MappingEditor.MyDecoratorAdapterFactory
- All Implemented Interfaces:
- AdapterFactory, ComposeableAdapterFactory, IChangeNotifier, IDisposable
- Direct Known Subclasses:
- MappingEditor.OverviewDecoratorAdapterFactory
- Enclosing class:
- MappingEditor
- protected class MappingEditor.MyDecoratorAdapterFactory
- extends DecoratorAdapterFactory
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
listeningItemProviderDecorators
protected java.util.Collection listeningItemProviderDecorators
action
protected org.eclipse.jface.action.Action action
multipleColumnsAction
protected org.eclipse.jface.action.Action multipleColumnsAction
exclude
protected boolean exclude
MappingEditor.MyDecoratorAdapterFactory
public MappingEditor.MyDecoratorAdapterFactory(AdapterFactory adapterFactory,
org.eclipse.jface.action.Action action,
boolean exclude,
org.eclipse.jface.action.Action multipleColumnsAction)
MappingEditor.MyDecoratorAdapterFactory
public MappingEditor.MyDecoratorAdapterFactory(AdapterFactory adapterFactory,
org.eclipse.jface.action.Action action,
boolean exclude)
isFactoryForType
public boolean isFactoryForType(java.lang.Object t)
- Description copied from class:
DecoratorAdapterFactory
- This just delegates to the
DecoratorAdapterFactory.decoratedAdapterFactory
.
- Overrides:
isFactoryForType
in class DecoratorAdapterFactory
- Following copied from interface:
org.eclipse.emf.common.notify.AdapterFactory
- Parameters:
type
- the key indicating the type of adapter in question.- Returns:
- whether this factory supports adapters for the given type.
- See Also:
Adapter.isAdapterForType(java.lang.Object)
adapt
public java.lang.Object adapt(java.lang.Object o,
java.lang.Object t)
- Description copied from class:
DecoratorAdapterFactory
- All adapter creation is delegated to this method, which yields decorated item providers.
It hooks up the decorators created by
DecoratorAdapterFactory.createItemProviderDecorator(java.lang.Object, java.lang.Object)
to the adapters returned by DecoratorAdapterFactory.decoratedAdapterFactory
.
- Overrides:
adapt
in class DecoratorAdapterFactory
- Following copied from interface:
org.eclipse.emf.common.notify.AdapterFactory
- Parameters:
an
- arbitrary object to adapt.type
- the key indicating the type of adapter required.- Returns:
- either an associated adapter or the object itself.
doMappingRefresh
protected boolean doMappingRefresh(java.lang.Object object)
doMappedObjectRefresh
protected void doMappedObjectRefresh(java.lang.Object object)
getPrimaryMappedObjects
public java.util.List getPrimaryMappedObjects(Mapping mapping)
getSecondaryMappedObjects
public java.util.List getSecondaryMappedObjects(Mapping mapping)
createItemProviderDecorator
protected IItemProviderDecorator createItemProviderDecorator(java.lang.Object object,
java.lang.Object type)
- Description copied from class:
DecoratorAdapterFactory
- This is called when a new decorator is needed by
DecoratorAdapterFactory.adapt(Object,Object)
.
- Overrides:
createItemProviderDecorator
in class DecoratorAdapterFactory
fireNotifyChanged
public void fireNotifyChanged(Notification note)
- Description copied from interface:
IChangeNotifier
- This calls
notifyChanged
for each listener.
- Overrides:
fireNotifyChanged
in class DecoratorAdapterFactory