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, createMatchResourceAdapteradapt, adapt, adaptAllNew, adaptNew, associate, createAdapter, resolveclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitadapt, adapt, adaptAllNew, adaptNewprotected ComposedAdapterFactory parentAdapterFactory
protected Collection<Object> supportedTypes
isFactoryForType.public Adapter createAttributeChangeAdapter()
CompareAdapterFactoryAttribute 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 CompareAdapterFactoryAttributeChangepublic Adapter createFeatureMapChangeAdapter()
CompareAdapterFactoryFeature 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 CompareAdapterFactoryFeatureMapChangepublic Adapter createReferenceChangeAdapter()
CompareAdapterFactoryReference 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 CompareAdapterFactoryReferenceChangepublic Adapter createResourceAttachmentChangeAdapter()
CompareAdapterFactoryResource 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 CompareAdapterFactoryResourceAttachmentChangepublic Adapter createResourceLocationChangeAdapter()
CompareAdapterFactoryResource 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 CompareAdapterFactoryResourceLocationChangepublic ComposeableAdapterFactory getRootAdapterFactory()
getRootAdapterFactory in interface ComposeableAdapterFactorypublic void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
setParentAdapterFactory in interface ComposeableAdapterFactoryparentAdapterFactory - The composed adapter factorypublic boolean isFactoryForType(Object type)
CompareAdapterFactorytrue if the object is either the model's package or is an instance object of the model.
isFactoryForType in interface AdapterFactoryisFactoryForType in class CompareAdapterFactory
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.