Class ExpressionsItemProviderAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.eclipse.emf.cdo.expressions.util.ExpressionsAdapterFactory
org.eclipse.emf.cdo.expressions.provider.ExpressionsItemProviderAdapterFactory
- All Implemented Interfaces:
AdapterFactory
,ComposeableAdapterFactory
,IChangeNotifier
,IChildCreationExtender
,IDisposable
public class ExpressionsItemProviderAdapterFactory
extends ExpressionsAdapterFactory
implements ComposeableAdapterFactory, IChangeNotifier, IDisposable, IChildCreationExtender
This is the factory that is used to provide the interfaces needed to support Viewers.
The adapters generated by this factory convert EMF adapter notifications into calls to
fireNotifyChanged
.
The adapters also support Eclipse property sheets.
Note that most of the adapters are shared among multiple instances.
- Generated
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.emf.edit.provider.IChildCreationExtender
IChildCreationExtender.Descriptor
-
Field Summary
Modifier and TypeFieldDescriptionprotected BooleanValueItemProvider
This keeps track of the one adapter used for allBooleanValue
instances.protected ByteValueItemProvider
This keeps track of the one adapter used for allByteValue
instances.protected IChangeNotifier
This is used to implementIChangeNotifier
.protected CharValueItemProvider
This keeps track of the one adapter used for allCharValue
instances.protected ChildCreationExtenderManager
This helps manage the child creation extenders.protected ContainedObjectItemProvider
This keeps track of the one adapter used for allContainedObject
instances.protected ContextAccessItemProvider
This keeps track of the one adapter used for allContextAccess
instances.protected DoubleValueItemProvider
This keeps track of the one adapter used for allDoubleValue
instances.protected FloatValueItemProvider
This keeps track of the one adapter used for allFloatValue
instances.protected FunctionInvocationItemProvider
This keeps track of the one adapter used for allFunctionInvocation
instances.protected IntValueItemProvider
This keeps track of the one adapter used for allIntValue
instances.protected LinkedExpressionItemProvider
This keeps track of the one adapter used for allLinkedExpression
instances.protected LinkedObjectItemProvider
This keeps track of the one adapter used for allLinkedObject
instances.protected ListConstructionItemProvider
This keeps track of the one adapter used for allListConstruction
instances.protected LongValueItemProvider
This keeps track of the one adapter used for allLongValue
instances.protected MemberAccessItemProvider
This keeps track of the one adapter used for allMemberAccess
instances.protected MemberInvocationItemProvider
This keeps track of the one adapter used for allMemberInvocation
instances.protected ComposedAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.protected ShortValueItemProvider
This keeps track of the one adapter used for allShortValue
instances.protected StaticAccessItemProvider
This keeps track of the one adapter used for allStaticAccess
instances.protected StringValueItemProvider
This keeps track of the one adapter used for allStringValue
instances.protected Collection<Object>
This keeps track of all the supported types checked byisFactoryForType
.Fields inherited from class org.eclipse.emf.cdo.expressions.util.ExpressionsAdapterFactory
modelPackage, modelSwitch
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionThis implementation substitutes the factory itself as the key for the adapter.void
addListener
(INotifyChangedListener notifyChangedListener) This adds a listener.This creates an adapter for aBooleanValue
.This creates an adapter for aByteValue
.This creates an adapter for aCharValue
.This creates an adapter for aContainedObject
.This creates an adapter for aContextAccess
.This creates an adapter for aDoubleValue
.This creates an adapter for aFloatValue
.This creates an adapter for aFunctionInvocation
.This creates an adapter for aIntValue
.This creates an adapter for aLinkedExpression
.This creates an adapter for aLinkedObject
.This creates an adapter for aListConstruction
.This creates an adapter for aLongValue
.This creates an adapter for aMemberAccess
.This creates an adapter for aMemberInvocation
.This creates an adapter for aShortValue
.This creates an adapter for aStaticAccess
.This creates an adapter for aStringValue
.void
dispose()
This disposes all of the item providers created by this factory.void
fireNotifyChanged
(Notification notification) This delegates tochangeNotifier
and toparentAdapterFactory
.Collection<?>
getNewChildDescriptors
(Object object, EditingDomain editingDomain) This returns the root adapter factory that contains this factory.boolean
isFactoryForType
(Object type) void
removeListener
(INotifyChangedListener notifyChangedListener) This removes a listener.void
setParentAdapterFactory
(ComposedAdapterFactory parentAdapterFactory) This sets the composed adapter factory that contains this factory.Methods inherited from class org.eclipse.emf.cdo.expressions.util.ExpressionsAdapterFactory
createAccessAdapter, createAdapter, createEObjectAdapter, createExpressionAdapter, createInvocationAdapter, createValueAdapter
Methods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adaptAllNew, adaptNew, associate, createAdapter, resolve
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface org.eclipse.emf.common.notify.AdapterFactory
adaptAllNew, adaptNew
-
Field Details
-
parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.- Generated
-
changeNotifier
This is used to implementIChangeNotifier
.- Generated
-
childCreationExtenderManager
This helps manage the child creation extenders.- Generated
-
supportedTypes
This keeps track of all the supported types checked byisFactoryForType
.- Generated
-
booleanValueItemProvider
This keeps track of the one adapter used for allBooleanValue
instances.- Generated
-
byteValueItemProvider
This keeps track of the one adapter used for allByteValue
instances.- Generated
-
shortValueItemProvider
This keeps track of the one adapter used for allShortValue
instances.- Generated
-
intValueItemProvider
This keeps track of the one adapter used for allIntValue
instances.- Generated
-
longValueItemProvider
This keeps track of the one adapter used for allLongValue
instances.- Generated
-
floatValueItemProvider
This keeps track of the one adapter used for allFloatValue
instances.- Generated
-
doubleValueItemProvider
This keeps track of the one adapter used for allDoubleValue
instances.- Generated
-
charValueItemProvider
This keeps track of the one adapter used for allCharValue
instances.- Generated
-
stringValueItemProvider
This keeps track of the one adapter used for allStringValue
instances.- Generated
-
functionInvocationItemProvider
This keeps track of the one adapter used for allFunctionInvocation
instances.- Generated
-
memberInvocationItemProvider
This keeps track of the one adapter used for allMemberInvocation
instances.- Generated
-
staticAccessItemProvider
This keeps track of the one adapter used for allStaticAccess
instances.- Generated
-
memberAccessItemProvider
This keeps track of the one adapter used for allMemberAccess
instances.- Generated
-
contextAccessItemProvider
This keeps track of the one adapter used for allContextAccess
instances.- Generated
-
containedObjectItemProvider
This keeps track of the one adapter used for allContainedObject
instances.- Generated
-
linkedObjectItemProvider
This keeps track of the one adapter used for allLinkedObject
instances.- Generated
-
linkedExpressionItemProvider
This keeps track of the one adapter used for allLinkedExpression
instances.- Generated
-
listConstructionItemProvider
This keeps track of the one adapter used for allListConstruction
instances.- Generated
-
-
Constructor Details
-
ExpressionsItemProviderAdapterFactory
public ExpressionsItemProviderAdapterFactory()This constructs an instance.- Generated
-
-
Method Details
-
createBooleanValueAdapter
This creates an adapter for aBooleanValue
.- Overrides:
createBooleanValueAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createByteValueAdapter
This creates an adapter for aByteValue
.- Overrides:
createByteValueAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createShortValueAdapter
This creates an adapter for aShortValue
.- Overrides:
createShortValueAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createIntValueAdapter
This creates an adapter for aIntValue
.- Overrides:
createIntValueAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createLongValueAdapter
This creates an adapter for aLongValue
.- Overrides:
createLongValueAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createFloatValueAdapter
This creates an adapter for aFloatValue
.- Overrides:
createFloatValueAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createDoubleValueAdapter
This creates an adapter for aDoubleValue
.- Overrides:
createDoubleValueAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createCharValueAdapter
This creates an adapter for aCharValue
.- Overrides:
createCharValueAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createStringValueAdapter
This creates an adapter for aStringValue
.- Overrides:
createStringValueAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createFunctionInvocationAdapter
This creates an adapter for aFunctionInvocation
.- Overrides:
createFunctionInvocationAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createMemberInvocationAdapter
This creates an adapter for aMemberInvocation
.- Overrides:
createMemberInvocationAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createStaticAccessAdapter
This creates an adapter for aStaticAccess
.- Overrides:
createStaticAccessAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createMemberAccessAdapter
This creates an adapter for aMemberAccess
.- Overrides:
createMemberAccessAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createContextAccessAdapter
This creates an adapter for aContextAccess
.- Overrides:
createContextAccessAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createContainedObjectAdapter
This creates an adapter for aContainedObject
.- Overrides:
createContainedObjectAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createLinkedObjectAdapter
This creates an adapter for aLinkedObject
.- Overrides:
createLinkedObjectAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createLinkedExpressionAdapter
This creates an adapter for aLinkedExpression
.- Overrides:
createLinkedExpressionAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
createListConstructionAdapter
This creates an adapter for aListConstruction
.- Overrides:
createListConstructionAdapter
in classExpressionsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated
-
getRootAdapterFactory
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactory
in interfaceComposeableAdapterFactory
- Generated
-
setParentAdapterFactory
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactory
in interfaceComposeableAdapterFactory
- Generated
-
isFactoryForType
- Specified by:
isFactoryForType
in interfaceAdapterFactory
- Overrides:
isFactoryForType
in classExpressionsAdapterFactory
- Returns:
- whether this factory is applicable for the type of the object.
- Generated
-
adapt
This implementation substitutes the factory itself as the key for the adapter.- Specified by:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated
-
adapt
- Specified by:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated
-
getChildCreationExtenders
- Generated
-
getNewChildDescriptors
- Specified by:
getNewChildDescriptors
in interfaceIChildCreationExtender
- Generated
-
getResourceLocator
- Specified by:
getResourceLocator
in interfaceIChildCreationExtender
- Generated
-
addListener
This adds a listener.- Specified by:
addListener
in interfaceIChangeNotifier
- Generated
-
removeListener
This removes a listener.- Specified by:
removeListener
in interfaceIChangeNotifier
- Generated
-
fireNotifyChanged
This delegates tochangeNotifier
and toparentAdapterFactory
.- Specified by:
fireNotifyChanged
in interfaceIChangeNotifier
- Generated
-
dispose
public void dispose()This disposes all of the item providers created by this factory.- Specified by:
dispose
in interfaceIDisposable
- Generated
-