|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.m2m.atl.profiler.model.util.ModelAdapterFactory
org.eclipse.m2m.atl.profiler.model.provider.ModelItemProviderAdapterFactory
public class ModelItemProviderAdapterFactory
This is the factory that is used to provide the interfaces needed to support Viewers.
The adapters generated by this factory convert EMF adapter notifications into calls to fireNotifyChanged.
The adapters also support Eclipse property sheets.
Note that most of the adapters are shared among multiple instances.
| Field Summary | |
|---|---|
protected ATLInstructionItemProvider |
atlInstructionItemProvider
This keeps track of the one adapter used for all ATLInstruction instances |
protected ATLOperationItemProvider |
atlOperationItemProvider
This keeps track of the one adapter used for all ATLOperation instances |
protected org.eclipse.emf.edit.provider.IChangeNotifier |
changeNotifier
This is used to implement IChangeNotifier |
protected ContextItemProvider |
contextItemProvider
This keeps track of the one adapter used for all Context instances |
protected ExecutionErrorItemProvider |
executionErrorItemProvider
This keeps track of the one adapter used for all ExecutionError instances |
protected org.eclipse.emf.edit.provider.ComposedAdapterFactory |
parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory |
protected ProfilingInstructionItemProvider |
profilingInstructionItemProvider
This keeps track of the one adapter used for all ProfilingInstruction instances |
protected ProfilingModelItemProvider |
profilingModelItemProvider
This keeps track of the one adapter used for all ProfilingModel instances |
protected ProfilingOperationItemProvider |
profilingOperationItemProvider
This keeps track of the one adapter used for all ProfilingOperation instances |
protected java.util.Collection<java.lang.Object> |
supportedTypes
This keeps track of all the supported types checked by isFactoryForType |
| Fields inherited from class org.eclipse.m2m.atl.profiler.model.util.ModelAdapterFactory |
|---|
modelPackage, modelSwitch |
| Constructor Summary | |
|---|---|
ModelItemProviderAdapterFactory()
This constructs an instance |
|
| Method Summary | |
|---|---|
org.eclipse.emf.common.notify.Adapter |
adapt(org.eclipse.emf.common.notify.Notifier notifier,
java.lang.Object type)
This implementation substitutes the factory itself as the key for the adapter |
java.lang.Object |
adapt(java.lang.Object object,
java.lang.Object type)
|
void |
addListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
This adds a listener |
org.eclipse.emf.common.notify.Adapter |
createATLInstructionAdapter()
This creates an adapter for a ATLInstruction |
org.eclipse.emf.common.notify.Adapter |
createATLOperationAdapter()
This creates an adapter for a ATLOperation |
org.eclipse.emf.common.notify.Adapter |
createContextAdapter()
This creates an adapter for a Context |
org.eclipse.emf.common.notify.Adapter |
createExecutionErrorAdapter()
This creates an adapter for a ExecutionError |
org.eclipse.emf.common.notify.Adapter |
createProfilingInstructionAdapter()
This creates an adapter for a ProfilingInstruction |
org.eclipse.emf.common.notify.Adapter |
createProfilingModelAdapter()
This creates an adapter for a ProfilingModel |
org.eclipse.emf.common.notify.Adapter |
createProfilingOperationAdapter()
This creates an adapter for a ProfilingOperation |
void |
dispose()
This disposes all of the item providers created by this factory |
void |
fireNotifyChanged(org.eclipse.emf.common.notify.Notification notification)
This delegates to changeNotifier and to parentAdapterFactory |
org.eclipse.emf.edit.provider.ComposeableAdapterFactory |
getRootAdapterFactory()
This returns the root adapter factory that contains this factory |
boolean |
isFactoryForType(java.lang.Object type)
|
void |
removeListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
This removes a listener |
void |
setParentAdapterFactory(org.eclipse.emf.edit.provider.ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory |
| Methods inherited from class org.eclipse.m2m.atl.profiler.model.util.ModelAdapterFactory |
|---|
createAdapter, createEObjectAdapter |
| Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl |
|---|
adaptAllNew, adaptNew, associate, createAdapter, resolve |
| 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.common.notify.AdapterFactory |
|---|
adaptAllNew, adaptNew |
| Field Detail |
|---|
protected org.eclipse.emf.edit.provider.ComposedAdapterFactory parentAdapterFactory
protected org.eclipse.emf.edit.provider.IChangeNotifier changeNotifier
IChangeNotifier.
protected java.util.Collection<java.lang.Object> supportedTypes
isFactoryForType.
protected ProfilingInstructionItemProvider profilingInstructionItemProvider
ProfilingInstruction instances.
protected ProfilingOperationItemProvider profilingOperationItemProvider
ProfilingOperation instances.
protected ProfilingModelItemProvider profilingModelItemProvider
ProfilingModel instances.
protected ATLOperationItemProvider atlOperationItemProvider
ATLOperation instances.
protected ATLInstructionItemProvider atlInstructionItemProvider
ATLInstruction instances.
protected ContextItemProvider contextItemProvider
Context instances.
protected ExecutionErrorItemProvider executionErrorItemProvider
ExecutionError instances.
| Constructor Detail |
|---|
public ModelItemProviderAdapterFactory()
| Method Detail |
|---|
public org.eclipse.emf.common.notify.Adapter createProfilingInstructionAdapter()
ProfilingInstruction.
createProfilingInstructionAdapter in class ModelAdapterFactoryProfilingInstructionpublic org.eclipse.emf.common.notify.Adapter createProfilingOperationAdapter()
ProfilingOperation.
createProfilingOperationAdapter in class ModelAdapterFactoryProfilingOperationpublic org.eclipse.emf.common.notify.Adapter createProfilingModelAdapter()
ProfilingModel.
createProfilingModelAdapter in class ModelAdapterFactoryProfilingModelpublic org.eclipse.emf.common.notify.Adapter createATLOperationAdapter()
ATLOperation.
createATLOperationAdapter in class ModelAdapterFactoryATLOperationpublic org.eclipse.emf.common.notify.Adapter createATLInstructionAdapter()
ATLInstruction.
createATLInstructionAdapter in class ModelAdapterFactoryATLInstructionpublic org.eclipse.emf.common.notify.Adapter createContextAdapter()
Context.
createContextAdapter in class ModelAdapterFactoryContextpublic org.eclipse.emf.common.notify.Adapter createExecutionErrorAdapter()
ExecutionError.
createExecutionErrorAdapter in class ModelAdapterFactoryExecutionErrorpublic org.eclipse.emf.edit.provider.ComposeableAdapterFactory getRootAdapterFactory()
getRootAdapterFactory in interface org.eclipse.emf.edit.provider.ComposeableAdapterFactorypublic void setParentAdapterFactory(org.eclipse.emf.edit.provider.ComposedAdapterFactory parentAdapterFactory)
setParentAdapterFactory in interface org.eclipse.emf.edit.provider.ComposeableAdapterFactorypublic boolean isFactoryForType(java.lang.Object type)
isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactoryisFactoryForType in class ModelAdapterFactory
public org.eclipse.emf.common.notify.Adapter adapt(org.eclipse.emf.common.notify.Notifier notifier,
java.lang.Object type)
adapt in interface org.eclipse.emf.common.notify.AdapterFactoryadapt in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
public java.lang.Object adapt(java.lang.Object object,
java.lang.Object type)
adapt in interface org.eclipse.emf.common.notify.AdapterFactoryadapt in class org.eclipse.emf.common.notify.impl.AdapterFactoryImplpublic void addListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
addListener in interface org.eclipse.emf.edit.provider.IChangeNotifierpublic void removeListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
removeListener in interface org.eclipse.emf.edit.provider.IChangeNotifierpublic void fireNotifyChanged(org.eclipse.emf.common.notify.Notification notification)
changeNotifier and to parentAdapterFactory.
fireNotifyChanged in interface org.eclipse.emf.edit.provider.IChangeNotifierpublic void dispose()
dispose in interface org.eclipse.emf.edit.provider.IDisposable
|
Copyright 2007 IBM Corporation and others. All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||