public class ProtocolItemProviderAdapterFactory extends ProtocolAdapterFactory 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.
| Modifier and Type | Field and Description |
|---|---|
protected BooleanAttributeItemProvider |
booleanAttributeItemProvider
This keeps track of the one adapter used for all
BooleanAttribute instances. |
protected org.eclipse.emf.edit.provider.IChangeNotifier |
changeNotifier
This is used to implement
IChangeNotifier. |
protected EnumAttributeItemProvider |
enumAttributeItemProvider
This keeps track of the one adapter used for all
EnumAttribute instances. |
protected EnumItemProvider |
enumItemProvider
This keeps track of the one adapter used for all
Enum instances. |
protected FloatAttributeItemProvider |
floatAttributeItemProvider
This keeps track of the one adapter used for all
FloatAttribute instances. |
protected IntegerAttributeItemProvider |
integerAttributeItemProvider
This keeps track of the one adapter used for all
IntegerAttribute instances. |
protected InterfaceItemProvider |
interfaceItemProvider
This keeps track of the one adapter used for all
Interface instances. |
protected LongAttributeItemProvider |
longAttributeItemProvider
This keeps track of the one adapter used for all
LongAttribute instances. |
protected MessageItemProvider |
messageItemProvider
This keeps track of the one adapter used for all
Message instances. |
protected org.eclipse.emf.edit.provider.ComposedAdapterFactory |
parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.
|
protected PropertiesAttributeItemProvider |
propertiesAttributeItemProvider
This keeps track of the one adapter used for all
PropertiesAttribute instances. |
protected ProtocolItemProvider |
protocolItemProvider
This keeps track of the one adapter used for all
Protocol instances. |
protected StringAttributeItemProvider |
stringAttributeItemProvider
This keeps track of the one adapter used for all
StringAttribute instances. |
protected StructureAttributeItemProvider |
structureAttributeItemProvider
This keeps track of the one adapter used for all
StructureAttribute instances. |
protected StructureItemProvider |
structureItemProvider
This keeps track of the one adapter used for all
Structure instances. |
protected Collection<Object> |
supportedTypes
This keeps track of all the supported types checked by
isFactoryForType. |
protected VariantAttributeItemProvider |
variantAttributeItemProvider
This keeps track of the one adapter used for all
VariantAttribute instances. |
protected VariantMapAttributeItemProvider |
variantMapAttributeItemProvider
This keeps track of the one adapter used for all
VariantMapAttribute instances. |
modelPackage, modelSwitch| Constructor and Description |
|---|
ProtocolItemProviderAdapterFactory()
This constructs an instance.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.Adapter |
adapt(org.eclipse.emf.common.notify.Notifier notifier,
Object type)
This implementation substitutes the factory itself as the key for the adapter.
|
Object |
adapt(Object object,
Object type) |
void |
addListener(org.eclipse.emf.edit.provider.INotifyChangedListener notifyChangedListener)
This adds a listener.
|
org.eclipse.emf.common.notify.Adapter |
createBooleanAttributeAdapter()
This creates an adapter for a
BooleanAttribute. |
org.eclipse.emf.common.notify.Adapter |
createEnumAdapter()
This creates an adapter for a
Enum. |
org.eclipse.emf.common.notify.Adapter |
createEnumAttributeAdapter()
This creates an adapter for a
EnumAttribute. |
org.eclipse.emf.common.notify.Adapter |
createFloatAttributeAdapter()
This creates an adapter for a
FloatAttribute. |
org.eclipse.emf.common.notify.Adapter |
createIntegerAttributeAdapter()
This creates an adapter for a
IntegerAttribute. |
org.eclipse.emf.common.notify.Adapter |
createInterfaceAdapter()
This creates an adapter for a
Interface. |
org.eclipse.emf.common.notify.Adapter |
createLongAttributeAdapter()
This creates an adapter for a
LongAttribute. |
org.eclipse.emf.common.notify.Adapter |
createMessageAdapter()
This creates an adapter for a
Message. |
org.eclipse.emf.common.notify.Adapter |
createPropertiesAttributeAdapter()
This creates an adapter for a
PropertiesAttribute. |
org.eclipse.emf.common.notify.Adapter |
createProtocolAdapter()
This creates an adapter for a
Protocol. |
org.eclipse.emf.common.notify.Adapter |
createStringAttributeAdapter()
This creates an adapter for a
StringAttribute. |
org.eclipse.emf.common.notify.Adapter |
createStructureAdapter()
This creates an adapter for a
Structure. |
org.eclipse.emf.common.notify.Adapter |
createStructureAttributeAdapter()
This creates an adapter for a
StructureAttribute. |
org.eclipse.emf.common.notify.Adapter |
createVariantAttributeAdapter()
This creates an adapter for a
VariantAttribute. |
org.eclipse.emf.common.notify.Adapter |
createVariantMapAttributeAdapter()
This creates an adapter for a
VariantMapAttribute. |
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(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, createAttributeAdapter, createAttributeStructureAdapter, createDocumentedElementAdapter, createEObjectAdapteradaptAllNew, adaptNew, associate, createAdapter, resolveprotected org.eclipse.emf.edit.provider.ComposedAdapterFactory parentAdapterFactory
protected org.eclipse.emf.edit.provider.IChangeNotifier changeNotifier
IChangeNotifier.
protected Collection<Object> supportedTypes
isFactoryForType.
protected MessageItemProvider messageItemProvider
Message instances.
protected ProtocolItemProvider protocolItemProvider
Protocol instances.
protected StructureItemProvider structureItemProvider
Structure instances.
protected StringAttributeItemProvider stringAttributeItemProvider
StringAttribute instances.
protected BooleanAttributeItemProvider booleanAttributeItemProvider
BooleanAttribute instances.
protected StructureAttributeItemProvider structureAttributeItemProvider
StructureAttribute instances.
protected VariantAttributeItemProvider variantAttributeItemProvider
VariantAttribute instances.
protected IntegerAttributeItemProvider integerAttributeItemProvider
IntegerAttribute instances.
protected LongAttributeItemProvider longAttributeItemProvider
LongAttribute instances.
protected FloatAttributeItemProvider floatAttributeItemProvider
FloatAttribute instances.
protected VariantMapAttributeItemProvider variantMapAttributeItemProvider
VariantMapAttribute instances.
protected PropertiesAttributeItemProvider propertiesAttributeItemProvider
PropertiesAttribute instances.
protected EnumItemProvider enumItemProvider
Enum instances.
protected EnumAttributeItemProvider enumAttributeItemProvider
EnumAttribute instances.
protected InterfaceItemProvider interfaceItemProvider
Interface instances.
public ProtocolItemProviderAdapterFactory()
public org.eclipse.emf.common.notify.Adapter createMessageAdapter()
Message.
createMessageAdapter in class ProtocolAdapterFactoryMessagepublic org.eclipse.emf.common.notify.Adapter createProtocolAdapter()
Protocol.
createProtocolAdapter in class ProtocolAdapterFactoryProtocolpublic org.eclipse.emf.common.notify.Adapter createStructureAdapter()
Structure.
createStructureAdapter in class ProtocolAdapterFactoryStructurepublic org.eclipse.emf.common.notify.Adapter createStringAttributeAdapter()
StringAttribute.
createStringAttributeAdapter in class ProtocolAdapterFactoryStringAttributepublic org.eclipse.emf.common.notify.Adapter createBooleanAttributeAdapter()
BooleanAttribute.
createBooleanAttributeAdapter in class ProtocolAdapterFactoryBooleanAttributepublic org.eclipse.emf.common.notify.Adapter createStructureAttributeAdapter()
StructureAttribute.
createStructureAttributeAdapter in class ProtocolAdapterFactoryStructureAttributepublic org.eclipse.emf.common.notify.Adapter createVariantAttributeAdapter()
VariantAttribute.
createVariantAttributeAdapter in class ProtocolAdapterFactoryVariantAttributepublic org.eclipse.emf.common.notify.Adapter createIntegerAttributeAdapter()
IntegerAttribute.
createIntegerAttributeAdapter in class ProtocolAdapterFactoryIntegerAttributepublic org.eclipse.emf.common.notify.Adapter createLongAttributeAdapter()
LongAttribute.
createLongAttributeAdapter in class ProtocolAdapterFactoryLongAttributepublic org.eclipse.emf.common.notify.Adapter createFloatAttributeAdapter()
FloatAttribute.
createFloatAttributeAdapter in class ProtocolAdapterFactoryFloatAttributepublic org.eclipse.emf.common.notify.Adapter createVariantMapAttributeAdapter()
VariantMapAttribute.
createVariantMapAttributeAdapter in class ProtocolAdapterFactoryVariantMapAttributepublic org.eclipse.emf.common.notify.Adapter createPropertiesAttributeAdapter()
PropertiesAttribute.
createPropertiesAttributeAdapter in class ProtocolAdapterFactoryPropertiesAttributepublic org.eclipse.emf.common.notify.Adapter createEnumAdapter()
Enum.
createEnumAdapter in class ProtocolAdapterFactoryEnumpublic org.eclipse.emf.common.notify.Adapter createEnumAttributeAdapter()
EnumAttribute.
createEnumAttributeAdapter in class ProtocolAdapterFactoryEnumAttributepublic org.eclipse.emf.common.notify.Adapter createInterfaceAdapter()
Interface.
createInterfaceAdapter in class ProtocolAdapterFactoryInterfacepublic 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(Object type)
isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactoryisFactoryForType in class ProtocolAdapterFactorypublic org.eclipse.emf.common.notify.Adapter adapt(org.eclipse.emf.common.notify.Notifier notifier,
Object type)
adapt in interface org.eclipse.emf.common.notify.AdapterFactoryadapt in class org.eclipse.emf.common.notify.impl.AdapterFactoryImplpublic Object adapt(Object object, 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.IDisposableCopyright © 2016 Eclipse NeoSCADA Project. All rights reserved.