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, resolve
public 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 AdapterFactory
isFactoryForType
in class AdapterFactoryImpl
public Adapter createAdapter(Notifier target)
target
.
createAdapter
in class AdapterFactoryImpl
target
- 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.
Comparison
public 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.
MatchResource
public 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.
Match
public 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.
Diff
public 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.
ResourceAttachmentChange
public 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.
ReferenceChange
public 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.
AttributeChange
public 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.
FeatureMapChange
public 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.
Conflict
public 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.
Equivalence
public Adapter createEObjectAdapter()
Copyright (c) 2006, 2014 Obeo and others. All rights reserved.