public class InstanceItemProviderAdapterFactory extends InstanceAdapterFactory implements org.eclipse.emf.edit.provider.ComposeableAdapterFactory, org.eclipse.emf.edit.provider.IChangeNotifier, org.eclipse.emf.edit.provider.IDisposable
fireNotifyChanged
.
The adapters also support Eclipse property sheets.
Note that most of the adapters are shared among multiple instances.
Constructor and Description |
---|
InstanceItemProviderAdapterFactory()
This constructs an instance.
|
Modifier and Type | Method and Description |
---|---|
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 |
createComponentInstanceAdapter()
This creates an adapter for a
ComponentInstance . |
org.eclipse.emf.common.notify.Adapter |
createConnectionInstanceAdapter()
This creates an adapter for a
ConnectionInstance . |
org.eclipse.emf.common.notify.Adapter |
createConnectionReferenceAdapter()
This creates an adapter for a
ConnectionReference . |
org.eclipse.emf.common.notify.Adapter |
createEndToEndFlowInstanceAdapter()
This creates an adapter for a
EndToEndFlowInstance . |
org.eclipse.emf.common.notify.Adapter |
createFeatureInstanceAdapter()
This creates an adapter for a
FeatureInstance . |
org.eclipse.emf.common.notify.Adapter |
createFlowSpecificationInstanceAdapter()
This creates an adapter for a
FlowSpecificationInstance . |
org.eclipse.emf.common.notify.Adapter |
createInstanceReferenceValueAdapter()
This creates an adapter for a
InstanceReferenceValue . |
org.eclipse.emf.common.notify.Adapter |
createModeInstanceAdapter()
This creates an adapter for a
ModeInstance . |
org.eclipse.emf.common.notify.Adapter |
createModeTransitionInstanceAdapter()
This creates an adapter for a
ModeTransitionInstance . |
org.eclipse.emf.common.notify.Adapter |
createSystemInstanceAdapter()
This creates an adapter for a
SystemInstance . |
org.eclipse.emf.common.notify.Adapter |
createSystemOperationModeAdapter()
This creates an adapter for a
SystemOperationMode . |
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.
|
createAdapter, createClassifierFeatureAdapter, createConnectionInstanceEndAdapter, createElementAdapter, createEObjectAdapter, createFlowElementInstanceAdapter, createInstanceObjectAdapter, createModeAdapter, createModeFeatureAdapter, createNamedElementAdapter, createPropertyExpressionAdapter, createPropertyValueAdapter
adaptAllNew, adaptNew
public InstanceItemProviderAdapterFactory()
public org.eclipse.emf.common.notify.Adapter createFeatureInstanceAdapter()
FeatureInstance
.
createFeatureInstanceAdapter
in class InstanceAdapterFactory
FeatureInstance
public org.eclipse.emf.common.notify.Adapter createConnectionInstanceAdapter()
ConnectionInstance
.
createConnectionInstanceAdapter
in class InstanceAdapterFactory
ConnectionInstance
public org.eclipse.emf.common.notify.Adapter createSystemOperationModeAdapter()
SystemOperationMode
.
createSystemOperationModeAdapter
in class InstanceAdapterFactory
SystemOperationMode
public org.eclipse.emf.common.notify.Adapter createModeInstanceAdapter()
ModeInstance
.
createModeInstanceAdapter
in class InstanceAdapterFactory
ModeInstance
public org.eclipse.emf.common.notify.Adapter createModeTransitionInstanceAdapter()
ModeTransitionInstance
.
createModeTransitionInstanceAdapter
in class InstanceAdapterFactory
ModeTransitionInstance
public org.eclipse.emf.common.notify.Adapter createConnectionReferenceAdapter()
ConnectionReference
.
createConnectionReferenceAdapter
in class InstanceAdapterFactory
ConnectionReference
public org.eclipse.emf.common.notify.Adapter createComponentInstanceAdapter()
ComponentInstance
.
createComponentInstanceAdapter
in class InstanceAdapterFactory
ComponentInstance
public org.eclipse.emf.common.notify.Adapter createFlowSpecificationInstanceAdapter()
FlowSpecificationInstance
.
createFlowSpecificationInstanceAdapter
in class InstanceAdapterFactory
FlowSpecificationInstance
public org.eclipse.emf.common.notify.Adapter createEndToEndFlowInstanceAdapter()
EndToEndFlowInstance
.
createEndToEndFlowInstanceAdapter
in class InstanceAdapterFactory
EndToEndFlowInstance
public org.eclipse.emf.common.notify.Adapter createSystemInstanceAdapter()
SystemInstance
.
createSystemInstanceAdapter
in class InstanceAdapterFactory
SystemInstance
public org.eclipse.emf.common.notify.Adapter createInstanceReferenceValueAdapter()
InstanceReferenceValue
.
createInstanceReferenceValueAdapter
in class InstanceAdapterFactory
InstanceReferenceValue
public org.eclipse.emf.edit.provider.ComposeableAdapterFactory getRootAdapterFactory()
getRootAdapterFactory
in interface org.eclipse.emf.edit.provider.ComposeableAdapterFactory
public void setParentAdapterFactory(org.eclipse.emf.edit.provider.ComposedAdapterFactory parentAdapterFactory)
setParentAdapterFactory
in interface org.eclipse.emf.edit.provider.ComposeableAdapterFactory
public boolean isFactoryForType(java.lang.Object type)
isFactoryForType
in interface org.eclipse.emf.common.notify.AdapterFactory
isFactoryForType
in class InstanceAdapterFactory
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.AdapterFactory
adapt
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.AdapterFactory
adapt
in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
public void addListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
addListener
in interface org.eclipse.emf.edit.provider.IChangeNotifier
public void removeListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
removeListener
in interface org.eclipse.emf.edit.provider.IChangeNotifier
public void fireNotifyChanged(org.eclipse.emf.common.notify.Notification notification)
changeNotifier
and to parentAdapterFactory
.
fireNotifyChanged
in interface org.eclipse.emf.edit.provider.IChangeNotifier
public void dispose()
dispose
in interface org.eclipse.emf.edit.provider.IDisposable