public class CommonAdapterFactory
extends org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
createXXX method for each class of the model.
CommonPackage| Modifier and Type | Field and Description |
|---|---|
protected static CommonPackage |
modelPackage
The cached model package
|
protected CommonSwitch |
modelSwitch
The switch that delegates to the
createXXX methods |
| Constructor and Description |
|---|
CommonAdapterFactory()
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 |
createAnnotatableAdapter()
Creates a new adapter for an object of class '
Annotatable' |
org.eclipse.emf.common.notify.Adapter |
createAnnotationAdapter()
Creates a new adapter for an object of class '
Annotation' |
org.eclipse.emf.common.notify.Adapter |
createAssetAdapter()
Creates a new adapter for an object of class '
Asset' |
org.eclipse.emf.common.notify.Adapter |
createCorticonObjectAdapter()
Creates a new adapter for an object of class '
Corticon Object' |
org.eclipse.emf.common.notify.Adapter |
createEObjectAdapter()
Creates a new adapter for the default case
|
org.eclipse.emf.common.notify.Adapter |
createInternationalValidationMessageAdapter()
Creates a new adapter for an object of class '
International Validation Message' |
org.eclipse.emf.common.notify.Adapter |
createLocalizedValidationMessageAdapter()
Creates a new adapter for an object of class '
Localized Validation Message' |
org.eclipse.emf.common.notify.Adapter |
createValidatableObjectAdapter()
Creates a new adapter for an object of class '
Validatable Object' |
org.eclipse.emf.common.notify.Adapter |
createValidationMessageAdapter()
Creates a new adapter for an object of class '
Validation Message' |
boolean |
isFactoryForType(java.lang.Object object)
Returns whether this factory is applicable for the type of the object
|
protected static CommonPackage modelPackage
protected CommonSwitch modelSwitch
createXXX methods.
public CommonAdapterFactory()
public boolean isFactoryForType(java.lang.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 createValidationMessageAdapter()
Validation Message'.
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.
ValidationMessagepublic org.eclipse.emf.common.notify.Adapter createLocalizedValidationMessageAdapter()
Localized Validation Message'.
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.
LocalizedValidationMessagepublic org.eclipse.emf.common.notify.Adapter createInternationalValidationMessageAdapter()
International Validation Message'.
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.
InternationalValidationMessagepublic org.eclipse.emf.common.notify.Adapter createAssetAdapter()
Asset'.
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.
Assetpublic org.eclipse.emf.common.notify.Adapter createValidatableObjectAdapter()
Validatable Object'.
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.
ValidatableObjectpublic org.eclipse.emf.common.notify.Adapter createAnnotationAdapter()
Annotation'.
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.
Annotationpublic org.eclipse.emf.common.notify.Adapter createAnnotatableAdapter()
Annotatable'.
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.
Annotatablepublic org.eclipse.emf.common.notify.Adapter createCorticonObjectAdapter()
Corticon Object'.
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.
CorticonObjectpublic org.eclipse.emf.common.notify.Adapter createEObjectAdapter()
Copyright © 2005-2016 Progress Software Corporation and/or its subsidiaries and affiliates. All rights reserved.