public class CompareAdapterFactory extends AdapterFactoryImpl
createXXX method for each class of the model.
ComparePackage| Modifier and Type | Field and Description |
|---|---|
static String |
copyright |
protected static ComparePackage |
modelPackage
The cached model package
|
protected CompareSwitch<Adapter> |
modelSwitch
The switch that delegates to the
createXXX methods |
| Constructor and Description |
|---|
CompareAdapterFactory()
Creates an instance of the adapter factory
|
| Modifier and Type | Method and Description |
|---|---|
Adapter |
createAdapter(Notifier target)
Creates an adapter for the
target |
Adapter |
createAttributeChangeAdapter()
Creates a new adapter for an object of class '
Attribute Change' |
Adapter |
createComparisonAdapter()
Creates a new adapter for an object of class '
Comparison' |
Adapter |
createConflictAdapter()
Creates a new adapter for an object of class '
Conflict' |
Adapter |
createDiffAdapter()
Creates a new adapter for an object of class '
Diff' |
Adapter |
createEObjectAdapter()
Creates a new adapter for the default case
|
Adapter |
createEquivalenceAdapter()
Creates a new adapter for an object of class '
Equivalence' |
Adapter |
createFeatureMapChangeAdapter()
Creates a new adapter for an object of class '
Feature Map Change' |
Adapter |
createMatchAdapter()
Creates a new adapter for an object of class '
Match' |
Adapter |
createMatchResourceAdapter()
Creates a new adapter for an object of class '
Match Resource' |
Adapter |
createReferenceChangeAdapter()
Creates a new adapter for an object of class '
Reference Change' |
Adapter |
createResourceAttachmentChangeAdapter()
Creates a new adapter for an object of class '
Resource Attachment Change' |
boolean |
isFactoryForType(Object object)
Returns whether this factory is applicable for the type of the object
|
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolvepublic static final String copyright
protected static ComparePackage modelPackage
protected CompareSwitch<Adapter> modelSwitch
createXXX methods.
public CompareAdapterFactory()
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 AdapterFactoryisFactoryForType in class AdapterFactoryImplpublic Adapter createAdapter(Notifier target)
target.
createAdapter in class AdapterFactoryImpltarget - the object to adapt.target.public Adapter createComparisonAdapter()
Comparison'.
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.
Comparisonpublic Adapter createMatchResourceAdapter()
Match Resource'.
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.
MatchResourcepublic Adapter createMatchAdapter()
Match'.
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.
Matchpublic Adapter createDiffAdapter()
Diff'.
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.
Diffpublic Adapter createResourceAttachmentChangeAdapter()
Resource Attachment Change'.
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.
ResourceAttachmentChangepublic Adapter createReferenceChangeAdapter()
Reference Change'.
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.
ReferenceChangepublic Adapter createAttributeChangeAdapter()
Attribute Change'.
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.
AttributeChangepublic Adapter createFeatureMapChangeAdapter()
Feature Map Change'.
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.
FeatureMapChangepublic Adapter createConflictAdapter()
Conflict'.
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.
Conflictpublic Adapter createEquivalenceAdapter()
Equivalence'.
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.
Equivalencepublic Adapter createEObjectAdapter()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.