Class LiteralsItemProviderAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.emftext.language.java.literals.util.LiteralsAdapterFactory
org.emftext.language.java.literals.provider.LiteralsItemProviderAdapterFactory
- All Implemented Interfaces:
AdapterFactory,ComposeableAdapterFactory,IChangeNotifier,IDisposable
public class LiteralsItemProviderAdapterFactory
extends LiteralsAdapterFactory
implements ComposeableAdapterFactory, IChangeNotifier, IDisposable
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 class or method.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected BinaryIntegerLiteralItemProviderThis keeps track of the one adapter used for allBinaryIntegerLiteralinstances.protected BinaryLongLiteralItemProviderThis keeps track of the one adapter used for allBinaryLongLiteralinstances.protected BooleanLiteralItemProviderThis keeps track of the one adapter used for allBooleanLiteralinstances.protected IChangeNotifierThis is used to implementIChangeNotifier.protected CharacterLiteralItemProviderThis keeps track of the one adapter used for allCharacterLiteralinstances.protected DecimalDoubleLiteralItemProviderThis keeps track of the one adapter used for allDecimalDoubleLiteralinstances.protected DecimalFloatLiteralItemProviderThis keeps track of the one adapter used for allDecimalFloatLiteralinstances.protected DecimalIntegerLiteralItemProviderThis keeps track of the one adapter used for allDecimalIntegerLiteralinstances.protected DecimalLongLiteralItemProviderThis keeps track of the one adapter used for allDecimalLongLiteralinstances.protected HexDoubleLiteralItemProviderThis keeps track of the one adapter used for allHexDoubleLiteralinstances.protected HexFloatLiteralItemProviderThis keeps track of the one adapter used for allHexFloatLiteralinstances.protected HexIntegerLiteralItemProviderThis keeps track of the one adapter used for allHexIntegerLiteralinstances.protected HexLongLiteralItemProviderThis keeps track of the one adapter used for allHexLongLiteralinstances.protected NullLiteralItemProviderThis keeps track of the one adapter used for allNullLiteralinstances.protected OctalIntegerLiteralItemProviderThis keeps track of the one adapter used for allOctalIntegerLiteralinstances.protected OctalLongLiteralItemProviderThis keeps track of the one adapter used for allOctalLongLiteralinstances.protected ComposedAdapterFactoryThis keeps track of the root adapter factory that delegates to this adapter factory.protected SuperItemProviderThis keeps track of the one adapter used for allSuperinstances.protected Collection<Object>This keeps track of all the supported types checked byisFactoryForType.protected ThisItemProviderThis keeps track of the one adapter used for allThisinstances.Fields inherited from class org.emftext.language.java.literals.util.LiteralsAdapterFactory
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 aBinaryIntegerLiteral.This creates an adapter for aBinaryLongLiteral.This creates an adapter for aBooleanLiteral.This creates an adapter for aCharacterLiteral.This creates an adapter for aDecimalDoubleLiteral.This creates an adapter for aDecimalFloatLiteral.This creates an adapter for aDecimalIntegerLiteral.This creates an adapter for aDecimalLongLiteral.This creates an adapter for aHexDoubleLiteral.This creates an adapter for aHexFloatLiteral.This creates an adapter for aHexIntegerLiteral.This creates an adapter for aHexLongLiteral.This creates an adapter for aNullLiteral.This creates an adapter for aOctalIntegerLiteral.This creates an adapter for aOctalLongLiteral.This creates an adapter for aSuper.This creates an adapter for aThis.voiddispose()This disposes all of the item providers created by this factory.voidfireNotifyChanged(Notification notification) This delegates tochangeNotifierand toparentAdapterFactory.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.emftext.language.java.literals.util.LiteralsAdapterFactory
createAdapter, createAdditiveExpressionChildAdapter, createAndExpressionChildAdapter, createAnnotationValueAdapter, createArrayInitializationValueAdapter, createAssignmentExpressionChildAdapter, createCommentableAdapter, createConditionalAndExpressionChildAdapter, createConditionalExpressionChildAdapter, createConditionalOrExpressionChildAdapter, createDoubleLiteralAdapter, createEObjectAdapter, createEqualityExpressionChildAdapter, createExclusiveOrExpressionChildAdapter, createExpressionAdapter, createFloatLiteralAdapter, createInclusiveOrExpressionChildAdapter, createInstanceOfExpressionChildAdapter, createIntegerLiteralAdapter, createLambdaBodyAdapter, createLiteralAdapter, createLongLiteralAdapter, createMethodReferenceExpressionChildAdapter, createMultiplicativeExpressionChildAdapter, createPrimaryExpressionAdapter, createRelationExpressionChildAdapter, createSelfAdapter, createShiftExpressionChildAdapter, createUnaryExpressionChildAdapter, createUnaryModificationExpressionChildAdapterMethods 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 class or method.
-
changeNotifier
This is used to implementIChangeNotifier.- Generated class or method.
-
supportedTypes
This keeps track of all the supported types checked byisFactoryForType.- Generated class or method.
-
booleanLiteralItemProvider
This keeps track of the one adapter used for allBooleanLiteralinstances.- Generated class or method.
-
characterLiteralItemProvider
This keeps track of the one adapter used for allCharacterLiteralinstances.- Generated class or method.
-
decimalFloatLiteralItemProvider
This keeps track of the one adapter used for allDecimalFloatLiteralinstances.- Generated class or method.
-
hexFloatLiteralItemProvider
This keeps track of the one adapter used for allHexFloatLiteralinstances.- Generated class or method.
-
decimalDoubleLiteralItemProvider
This keeps track of the one adapter used for allDecimalDoubleLiteralinstances.- Generated class or method.
-
hexDoubleLiteralItemProvider
This keeps track of the one adapter used for allHexDoubleLiteralinstances.- Generated class or method.
-
decimalIntegerLiteralItemProvider
This keeps track of the one adapter used for allDecimalIntegerLiteralinstances.- Generated class or method.
-
hexIntegerLiteralItemProvider
This keeps track of the one adapter used for allHexIntegerLiteralinstances.- Generated class or method.
-
octalIntegerLiteralItemProvider
This keeps track of the one adapter used for allOctalIntegerLiteralinstances.- Generated class or method.
-
binaryIntegerLiteralItemProvider
This keeps track of the one adapter used for allBinaryIntegerLiteralinstances.- Generated class or method.
-
decimalLongLiteralItemProvider
This keeps track of the one adapter used for allDecimalLongLiteralinstances.- Generated class or method.
-
hexLongLiteralItemProvider
This keeps track of the one adapter used for allHexLongLiteralinstances.- Generated class or method.
-
octalLongLiteralItemProvider
This keeps track of the one adapter used for allOctalLongLiteralinstances.- Generated class or method.
-
binaryLongLiteralItemProvider
This keeps track of the one adapter used for allBinaryLongLiteralinstances.- Generated class or method.
-
nullLiteralItemProvider
This keeps track of the one adapter used for allNullLiteralinstances.- Generated class or method.
-
superItemProvider
This keeps track of the one adapter used for allSuperinstances.- Generated class or method.
-
thisItemProvider
This keeps track of the one adapter used for allThisinstances.- Generated class or method.
-
-
Constructor Details
-
LiteralsItemProviderAdapterFactory
public LiteralsItemProviderAdapterFactory()This constructs an instance.- Generated class or method.
-
-
Method Details
-
createBooleanLiteralAdapter
This creates an adapter for aBooleanLiteral.- Overrides:
createBooleanLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createCharacterLiteralAdapter
This creates an adapter for aCharacterLiteral.- Overrides:
createCharacterLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDecimalFloatLiteralAdapter
This creates an adapter for aDecimalFloatLiteral.- Overrides:
createDecimalFloatLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createHexFloatLiteralAdapter
This creates an adapter for aHexFloatLiteral.- Overrides:
createHexFloatLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDecimalDoubleLiteralAdapter
This creates an adapter for aDecimalDoubleLiteral.- Overrides:
createDecimalDoubleLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createHexDoubleLiteralAdapter
This creates an adapter for aHexDoubleLiteral.- Overrides:
createHexDoubleLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDecimalIntegerLiteralAdapter
This creates an adapter for aDecimalIntegerLiteral.- Overrides:
createDecimalIntegerLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createHexIntegerLiteralAdapter
This creates an adapter for aHexIntegerLiteral.- Overrides:
createHexIntegerLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createOctalIntegerLiteralAdapter
This creates an adapter for aOctalIntegerLiteral.- Overrides:
createOctalIntegerLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBinaryIntegerLiteralAdapter
This creates an adapter for aBinaryIntegerLiteral.- Overrides:
createBinaryIntegerLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDecimalLongLiteralAdapter
This creates an adapter for aDecimalLongLiteral.- Overrides:
createDecimalLongLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createHexLongLiteralAdapter
This creates an adapter for aHexLongLiteral.- Overrides:
createHexLongLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createOctalLongLiteralAdapter
This creates an adapter for aOctalLongLiteral.- Overrides:
createOctalLongLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBinaryLongLiteralAdapter
This creates an adapter for aBinaryLongLiteral.- Overrides:
createBinaryLongLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNullLiteralAdapter
This creates an adapter for aNullLiteral.- Overrides:
createNullLiteralAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createSuperAdapter
This creates an adapter for aSuper.- Overrides:
createSuperAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createThisAdapter
This creates an adapter for aThis.- Overrides:
createThisAdapterin classLiteralsAdapterFactory- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
getRootAdapterFactory
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactoryin interfaceComposeableAdapterFactory- Generated class or method.
-
setParentAdapterFactory
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactoryin interfaceComposeableAdapterFactory- Generated class or method.
-
isFactoryForType
- Specified by:
isFactoryForTypein interfaceAdapterFactory- Overrides:
isFactoryForTypein classLiteralsAdapterFactory- Returns:
- whether this factory is applicable for the type of the object.
- Generated class or method.
-
adapt
This implementation substitutes the factory itself as the key for the adapter.- Specified by:
adaptin interfaceAdapterFactory- Overrides:
adaptin classAdapterFactoryImpl- Generated class or method.
-
adapt
- Specified by:
adaptin interfaceAdapterFactory- Overrides:
adaptin classAdapterFactoryImpl- Generated class or method.
-
addListener
This adds a listener.- Specified by:
addListenerin interfaceIChangeNotifier- Generated class or method.
-
removeListener
This removes a listener.- Specified by:
removeListenerin interfaceIChangeNotifier- Generated class or method.
-
fireNotifyChanged
This delegates tochangeNotifierand toparentAdapterFactory.- Specified by:
fireNotifyChangedin interfaceIChangeNotifier- Generated class or method.
-
dispose
public void dispose()This disposes all of the item providers created by this factory.- Specified by:
disposein interfaceIDisposable- Generated class or method.
-