public class ModelAdapterFactory
extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
createXXX method for each class of the model. ModelPackage| Constructor and Description |
|---|
ModelAdapterFactory()
Creates an instance of the adapter factory.
|
| Modifier and Type | Method and Description |
|---|---|
org.eclipse.emf.common.notify.Adapter |
createAdapter(org.eclipse.emf.common.notify.Notifier target)
Creates an adapter for the
target. |
org.eclipse.emf.common.notify.Adapter |
createAssociationClassElementAdapter()
Creates a new adapter for an object of class '
Association Class Element
'. |
org.eclipse.emf.common.notify.Adapter |
createEMFStorePropertyAdapter()
Creates a new adapter for an object of class '
EMF Store Property'. |
org.eclipse.emf.common.notify.Adapter |
createEObjectAdapter()
Creates a new adapter for the default case.
|
org.eclipse.emf.common.notify.Adapter |
createIdentifiableElementAdapter()
Creates a new adapter for an object of class '
Identifiable Element'. |
org.eclipse.emf.common.notify.Adapter |
createModelElementIdAdapter()
Creates a new adapter for an object of class '
Element Id'. |
org.eclipse.emf.common.notify.Adapter |
createModelVersionAdapter()
Creates a new adapter for an object of class '
Version'. |
org.eclipse.emf.common.notify.Adapter |
createNonDomainElementAdapter()
Creates a new adapter for an object of class '
Non Domain Element'. |
org.eclipse.emf.common.notify.Adapter |
createProjectAdapter()
Creates a new adapter for an object of class '
Project'. |
org.eclipse.emf.common.notify.Adapter |
createPropertyMapEntryAdapter()
Creates a new adapter for an object of class '
Property Map Entry'. |
org.eclipse.emf.common.notify.Adapter |
createPropertyStringValueAdapter()
Creates a new adapter for an object of class '
Property String Value'. |
org.eclipse.emf.common.notify.Adapter |
createUniqueIdentifierAdapter()
Creates a new adapter for an object of class '
Unique Identifier'. |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object.
|
public ModelAdapterFactory()
public boolean isFactoryForType(Object object)
true if
the object is either the model's package or is an instance object of the
model. isFactoryForType in interface org.eclipse.emf.common.notify.AdapterFactoryisFactoryForType in class org.eclipse.emf.common.notify.impl.AdapterFactoryImplpublic org.eclipse.emf.common.notify.Adapter createAdapter(org.eclipse.emf.common.notify.Notifier target)
target.
createAdapter in class org.eclipse.emf.common.notify.impl.AdapterFactoryImpltarget - the object to adapt.target.public org.eclipse.emf.common.notify.Adapter createProjectAdapter()
Project'.
This default implementation returns null so that
we can easily ignore cases; it's useful to ignore a case when inheritance
will catch all the cases anyway. Projectpublic org.eclipse.emf.common.notify.Adapter createUniqueIdentifierAdapter()
Unique Identifier'.
This default
implementation returns null so that we can easily ignore cases; it's
useful to ignore a case when inheritance will catch all the cases anyway.
UniqueIdentifierpublic org.eclipse.emf.common.notify.Adapter createIdentifiableElementAdapter()
Identifiable Element'.
This default
implementation returns null so that we can easily ignore cases; it's
useful to ignore a case when inheritance will catch all the cases anyway.
IdentifiableElementpublic org.eclipse.emf.common.notify.Adapter createModelElementIdAdapter()
Element Id'.
This default
implementation returns null so that we can easily ignore cases; it's
useful to ignore a case when inheritance will catch all the cases anyway.
ModelElementIdpublic org.eclipse.emf.common.notify.Adapter createModelVersionAdapter()
Version'. This default implementation
returns null so that we can easily ignore cases; it's useful to ignore a
case when inheritance will catch all the cases anyway. ModelVersionpublic org.eclipse.emf.common.notify.Adapter createNonDomainElementAdapter()
Non Domain Element'.
This default
implementation returns null so that we can easily ignore cases; it's
useful to ignore a case when inheritance will catch all the cases anyway.
NonDomainElementpublic org.eclipse.emf.common.notify.Adapter createAssociationClassElementAdapter()
Association Class Element
'.
This
default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases
anyway. AssociationClassElementpublic org.eclipse.emf.common.notify.Adapter createEMFStorePropertyAdapter()
EMF Store Property'.
This default
implementation returns null so that we can easily ignore cases; it's
useful to ignore a case when inheritance will catch all the cases anyway.
EMFStorePropertypublic org.eclipse.emf.common.notify.Adapter createPropertyMapEntryAdapter()
Property Map Entry'.
This default implementation returns null so that we can easily ignore cases;
it's useful to ignore a case when inheritance will catch all the cases anyway.
Map.Entrypublic org.eclipse.emf.common.notify.Adapter createPropertyStringValueAdapter()
Property String Value'.
This default
implementation returns null so that we can easily ignore cases; it's
useful to ignore a case when inheritance will catch all the cases anyway.
PropertyStringValuepublic org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Copyright © 2017. All rights reserved.