public class TooltipLabelAdapterFactory extends CompareAdapterFactory implements ComposeableAdapterFactory
Modifier and Type | Field and Description |
---|---|
protected ComposedAdapterFactory |
parentAdapterFactory
The composed adapter factory.
|
protected Collection<Object> |
supportedTypes
This keeps track of all the supported types checked by
isFactoryForType . |
copyright, modelPackage, modelSwitch
Constructor and Description |
---|
TooltipLabelAdapterFactory()
The constructor.
|
Modifier and Type | Method and Description |
---|---|
Adapter |
createAttributeChangeAdapter()
Creates a new adapter for an object of class '
Attribute Change ' |
Adapter |
createFeatureMapChangeAdapter()
Creates a new adapter for an object of class '
Feature Map Change ' |
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 ' |
Adapter |
createResourceLocationChangeAdapter()
Creates a new adapter for an object of class '
Resource Location Change ' |
ComposeableAdapterFactory |
getRootAdapterFactory()
This returns the root adapter factory that contains this factory.
|
boolean |
isFactoryForType(Object type)
Returns whether this factory is applicable for the type of the object
|
void |
setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory.
|
createAdapter, createComparisonAdapter, createConflictAdapter, createDiffAdapter, createEObjectAdapter, createEquivalenceAdapter, createMatchAdapter, createMatchResourceAdapter
adapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolve
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
adapt, adapt, adaptAllNew, adaptNew
protected ComposedAdapterFactory parentAdapterFactory
protected Collection<Object> supportedTypes
isFactoryForType
.public Adapter createAttributeChangeAdapter()
CompareAdapterFactory
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.
createAttributeChangeAdapter
in class CompareAdapterFactory
AttributeChange
public Adapter createFeatureMapChangeAdapter()
CompareAdapterFactory
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.
createFeatureMapChangeAdapter
in class CompareAdapterFactory
FeatureMapChange
public Adapter createReferenceChangeAdapter()
CompareAdapterFactory
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.
createReferenceChangeAdapter
in class CompareAdapterFactory
ReferenceChange
public Adapter createResourceAttachmentChangeAdapter()
CompareAdapterFactory
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.
createResourceAttachmentChangeAdapter
in class CompareAdapterFactory
ResourceAttachmentChange
public Adapter createResourceLocationChangeAdapter()
CompareAdapterFactory
Resource Location 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.
createResourceLocationChangeAdapter
in class CompareAdapterFactory
ResourceLocationChange
public ComposeableAdapterFactory getRootAdapterFactory()
getRootAdapterFactory
in interface ComposeableAdapterFactory
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
setParentAdapterFactory
in interface ComposeableAdapterFactory
parentAdapterFactory
- The composed adapter factorypublic boolean isFactoryForType(Object type)
CompareAdapterFactory
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 CompareAdapterFactory
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.