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
FieldsModifier and TypeFieldDescriptionprotected BooleanValueItemProviderThis keeps track of the one adapter used for allBooleanValueinstances.protected ByteValueItemProviderThis keeps track of the one adapter used for allByteValueinstances.protected IChangeNotifierThis is used to implementIChangeNotifier.protected CharValueItemProviderThis keeps track of the one adapter used for allCharValueinstances.protected ChildCreationExtenderManagerThis helps manage the child creation extenders.protected ContainedObjectItemProviderThis keeps track of the one adapter used for allContainedObjectinstances.protected ContextAccessItemProviderThis keeps track of the one adapter used for allContextAccessinstances.protected DoubleValueItemProviderThis keeps track of the one adapter used for allDoubleValueinstances.protected FloatValueItemProviderThis keeps track of the one adapter used for allFloatValueinstances.protected FunctionInvocationItemProviderThis keeps track of the one adapter used for allFunctionInvocationinstances.protected IntValueItemProviderThis keeps track of the one adapter used for allIntValueinstances.protected LinkedExpressionItemProviderThis keeps track of the one adapter used for allLinkedExpressioninstances.protected LinkedObjectItemProviderThis keeps track of the one adapter used for allLinkedObjectinstances.protected ListConstructionItemProviderThis keeps track of the one adapter used for allListConstructioninstances.protected LongValueItemProviderThis keeps track of the one adapter used for allLongValueinstances.protected MemberAccessItemProviderThis keeps track of the one adapter used for allMemberAccessinstances.protected MemberInvocationItemProviderThis keeps track of the one adapter used for allMemberInvocationinstances.protected ComposedAdapterFactoryThis keeps track of the root adapter factory that delegates to this adapter factory.protected ShortValueItemProviderThis keeps track of the one adapter used for allShortValueinstances.protected StaticAccessItemProviderThis keeps track of the one adapter used for allStaticAccessinstances.protected StringValueItemProviderThis keeps track of the one adapter used for allStringValueinstances.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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThis implementation substitutes the factory itself as the key for the adapter.voidaddListener(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.voiddispose()This disposes all of the item providers created by this factory.voidfireNotifyChanged(Notification notification) This delegates tochangeNotifierand toparentAdapterFactory.Collection<?>getNewChildDescriptors(Object object, EditingDomain editingDomain) This returns the root adapter factory that contains this factory.booleanisFactoryForType(Object type) voidremoveListener(INotifyChangedListener notifyChangedListener) This removes a listener.voidsetParentAdapterFactory(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, createValueAdapterMethods inherited from class org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
adaptAllNew, adaptNew, associate, createAdapter, resolveMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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 allBooleanValueinstances.- Generated
-
byteValueItemProvider
This keeps track of the one adapter used for allByteValueinstances.- Generated
-
shortValueItemProvider
This keeps track of the one adapter used for allShortValueinstances.- Generated
-
intValueItemProvider
This keeps track of the one adapter used for allIntValueinstances.- Generated
-
longValueItemProvider
This keeps track of the one adapter used for allLongValueinstances.- Generated
-
floatValueItemProvider
This keeps track of the one adapter used for allFloatValueinstances.- Generated
-
doubleValueItemProvider
This keeps track of the one adapter used for allDoubleValueinstances.- Generated
-
charValueItemProvider
This keeps track of the one adapter used for allCharValueinstances.- Generated
-
stringValueItemProvider
This keeps track of the one adapter used for allStringValueinstances.- Generated
-
functionInvocationItemProvider
This keeps track of the one adapter used for allFunctionInvocationinstances.- Generated
-
memberInvocationItemProvider
This keeps track of the one adapter used for allMemberInvocationinstances.- Generated
-
staticAccessItemProvider
This keeps track of the one adapter used for allStaticAccessinstances.- Generated
-
memberAccessItemProvider
This keeps track of the one adapter used for allMemberAccessinstances.- Generated
-
contextAccessItemProvider
This keeps track of the one adapter used for allContextAccessinstances.- Generated
-
containedObjectItemProvider
This keeps track of the one adapter used for allContainedObjectinstances.- Generated
-
linkedObjectItemProvider
This keeps track of the one adapter used for allLinkedObjectinstances.- Generated
-
linkedExpressionItemProvider
This keeps track of the one adapter used for allLinkedExpressioninstances.- Generated
-
listConstructionItemProvider
This keeps track of the one adapter used for allListConstructioninstances.- Generated
-
-
Constructor Details
-
ExpressionsItemProviderAdapterFactory
public ExpressionsItemProviderAdapterFactory()This constructs an instance.- Generated
-
-
Method Details
-
createBooleanValueAdapter
This creates an adapter for aBooleanValue.- Overrides:
createBooleanValueAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createByteValueAdapter
This creates an adapter for aByteValue.- Overrides:
createByteValueAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createShortValueAdapter
This creates an adapter for aShortValue.- Overrides:
createShortValueAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createIntValueAdapter
This creates an adapter for aIntValue.- Overrides:
createIntValueAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createLongValueAdapter
This creates an adapter for aLongValue.- Overrides:
createLongValueAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createFloatValueAdapter
This creates an adapter for aFloatValue.- Overrides:
createFloatValueAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createDoubleValueAdapter
This creates an adapter for aDoubleValue.- Overrides:
createDoubleValueAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createCharValueAdapter
This creates an adapter for aCharValue.- Overrides:
createCharValueAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createStringValueAdapter
This creates an adapter for aStringValue.- Overrides:
createStringValueAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createFunctionInvocationAdapter
This creates an adapter for aFunctionInvocation.- Overrides:
createFunctionInvocationAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createMemberInvocationAdapter
This creates an adapter for aMemberInvocation.- Overrides:
createMemberInvocationAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createStaticAccessAdapter
This creates an adapter for aStaticAccess.- Overrides:
createStaticAccessAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createMemberAccessAdapter
This creates an adapter for aMemberAccess.- Overrides:
createMemberAccessAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createContextAccessAdapter
This creates an adapter for aContextAccess.- Overrides:
createContextAccessAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createContainedObjectAdapter
This creates an adapter for aContainedObject.- Overrides:
createContainedObjectAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createLinkedObjectAdapter
This creates an adapter for aLinkedObject.- Overrides:
createLinkedObjectAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createLinkedExpressionAdapter
This creates an adapter for aLinkedExpression.- Overrides:
createLinkedExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
createListConstructionAdapter
This creates an adapter for aListConstruction.- Overrides:
createListConstructionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated
-
getRootAdapterFactory
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactoryin interfaceComposeableAdapterFactory- Generated
-
setParentAdapterFactory
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactoryin interfaceComposeableAdapterFactory- Generated
-
isFactoryForType
- Specified by:
isFactoryForTypein interfaceAdapterFactory- Overrides:
isFactoryForTypein 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:
adaptin interfaceAdapterFactory- Overrides:
adaptin classAdapterFactoryImpl- Generated
-
adapt
- Specified by:
adaptin interfaceAdapterFactory- Overrides:
adaptin classAdapterFactoryImpl- Generated
-
getChildCreationExtenders
- Generated
-
getNewChildDescriptors
- Specified by:
getNewChildDescriptorsin interfaceIChildCreationExtender- Generated
-
getResourceLocator
- Specified by:
getResourceLocatorin interfaceIChildCreationExtender- Generated
-
addListener
This adds a listener.- Specified by:
addListenerin interfaceIChangeNotifier- Generated
-
removeListener
This removes a listener.- Specified by:
removeListenerin interfaceIChangeNotifier- Generated
-
fireNotifyChanged
This delegates tochangeNotifierand toparentAdapterFactory.- Specified by:
fireNotifyChangedin interfaceIChangeNotifier- Generated
-
dispose
public void dispose()This disposes all of the item providers created by this factory.- Specified by:
disposein interfaceIDisposable- Generated
-