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
Modifier and TypeFieldDescriptionprotected BinaryIntegerLiteralItemProvider
This keeps track of the one adapter used for allBinaryIntegerLiteral
instances.protected BinaryLongLiteralItemProvider
This keeps track of the one adapter used for allBinaryLongLiteral
instances.protected BooleanLiteralItemProvider
This keeps track of the one adapter used for allBooleanLiteral
instances.protected IChangeNotifier
This is used to implementIChangeNotifier
.protected CharacterLiteralItemProvider
This keeps track of the one adapter used for allCharacterLiteral
instances.protected DecimalDoubleLiteralItemProvider
This keeps track of the one adapter used for allDecimalDoubleLiteral
instances.protected DecimalFloatLiteralItemProvider
This keeps track of the one adapter used for allDecimalFloatLiteral
instances.protected DecimalIntegerLiteralItemProvider
This keeps track of the one adapter used for allDecimalIntegerLiteral
instances.protected DecimalLongLiteralItemProvider
This keeps track of the one adapter used for allDecimalLongLiteral
instances.protected HexDoubleLiteralItemProvider
This keeps track of the one adapter used for allHexDoubleLiteral
instances.protected HexFloatLiteralItemProvider
This keeps track of the one adapter used for allHexFloatLiteral
instances.protected HexIntegerLiteralItemProvider
This keeps track of the one adapter used for allHexIntegerLiteral
instances.protected HexLongLiteralItemProvider
This keeps track of the one adapter used for allHexLongLiteral
instances.protected NullLiteralItemProvider
This keeps track of the one adapter used for allNullLiteral
instances.protected OctalIntegerLiteralItemProvider
This keeps track of the one adapter used for allOctalIntegerLiteral
instances.protected OctalLongLiteralItemProvider
This keeps track of the one adapter used for allOctalLongLiteral
instances.protected ComposedAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.protected SuperItemProvider
This keeps track of the one adapter used for allSuper
instances.protected Collection<Object>
This keeps track of all the supported types checked byisFactoryForType
.protected ThisItemProvider
This keeps track of the one adapter used for allThis
instances.Fields inherited from class org.emftext.language.java.literals.util.LiteralsAdapterFactory
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 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
.void
dispose()
This disposes all of the item providers created by this factory.void
fireNotifyChanged
(Notification notification) This delegates tochangeNotifier
and toparentAdapterFactory
.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.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, createUnaryModificationExpressionChildAdapter
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 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 allBooleanLiteral
instances.- Generated class or method.
-
characterLiteralItemProvider
This keeps track of the one adapter used for allCharacterLiteral
instances.- Generated class or method.
-
decimalFloatLiteralItemProvider
This keeps track of the one adapter used for allDecimalFloatLiteral
instances.- Generated class or method.
-
hexFloatLiteralItemProvider
This keeps track of the one adapter used for allHexFloatLiteral
instances.- Generated class or method.
-
decimalDoubleLiteralItemProvider
This keeps track of the one adapter used for allDecimalDoubleLiteral
instances.- Generated class or method.
-
hexDoubleLiteralItemProvider
This keeps track of the one adapter used for allHexDoubleLiteral
instances.- Generated class or method.
-
decimalIntegerLiteralItemProvider
This keeps track of the one adapter used for allDecimalIntegerLiteral
instances.- Generated class or method.
-
hexIntegerLiteralItemProvider
This keeps track of the one adapter used for allHexIntegerLiteral
instances.- Generated class or method.
-
octalIntegerLiteralItemProvider
This keeps track of the one adapter used for allOctalIntegerLiteral
instances.- Generated class or method.
-
binaryIntegerLiteralItemProvider
This keeps track of the one adapter used for allBinaryIntegerLiteral
instances.- Generated class or method.
-
decimalLongLiteralItemProvider
This keeps track of the one adapter used for allDecimalLongLiteral
instances.- Generated class or method.
-
hexLongLiteralItemProvider
This keeps track of the one adapter used for allHexLongLiteral
instances.- Generated class or method.
-
octalLongLiteralItemProvider
This keeps track of the one adapter used for allOctalLongLiteral
instances.- Generated class or method.
-
binaryLongLiteralItemProvider
This keeps track of the one adapter used for allBinaryLongLiteral
instances.- Generated class or method.
-
nullLiteralItemProvider
This keeps track of the one adapter used for allNullLiteral
instances.- Generated class or method.
-
superItemProvider
This keeps track of the one adapter used for allSuper
instances.- Generated class or method.
-
thisItemProvider
This keeps track of the one adapter used for allThis
instances.- 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:
createBooleanLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createCharacterLiteralAdapter
This creates an adapter for aCharacterLiteral
.- Overrides:
createCharacterLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDecimalFloatLiteralAdapter
This creates an adapter for aDecimalFloatLiteral
.- Overrides:
createDecimalFloatLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createHexFloatLiteralAdapter
This creates an adapter for aHexFloatLiteral
.- Overrides:
createHexFloatLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDecimalDoubleLiteralAdapter
This creates an adapter for aDecimalDoubleLiteral
.- Overrides:
createDecimalDoubleLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createHexDoubleLiteralAdapter
This creates an adapter for aHexDoubleLiteral
.- Overrides:
createHexDoubleLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDecimalIntegerLiteralAdapter
This creates an adapter for aDecimalIntegerLiteral
.- Overrides:
createDecimalIntegerLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createHexIntegerLiteralAdapter
This creates an adapter for aHexIntegerLiteral
.- Overrides:
createHexIntegerLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createOctalIntegerLiteralAdapter
This creates an adapter for aOctalIntegerLiteral
.- Overrides:
createOctalIntegerLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBinaryIntegerLiteralAdapter
This creates an adapter for aBinaryIntegerLiteral
.- Overrides:
createBinaryIntegerLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDecimalLongLiteralAdapter
This creates an adapter for aDecimalLongLiteral
.- Overrides:
createDecimalLongLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createHexLongLiteralAdapter
This creates an adapter for aHexLongLiteral
.- Overrides:
createHexLongLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createOctalLongLiteralAdapter
This creates an adapter for aOctalLongLiteral
.- Overrides:
createOctalLongLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createBinaryLongLiteralAdapter
This creates an adapter for aBinaryLongLiteral
.- Overrides:
createBinaryLongLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNullLiteralAdapter
This creates an adapter for aNullLiteral
.- Overrides:
createNullLiteralAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createSuperAdapter
This creates an adapter for aSuper
.- Overrides:
createSuperAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createThisAdapter
This creates an adapter for aThis
.- Overrides:
createThisAdapter
in classLiteralsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
getRootAdapterFactory
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactory
in interfaceComposeableAdapterFactory
- Generated class or method.
-
setParentAdapterFactory
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactory
in interfaceComposeableAdapterFactory
- Generated class or method.
-
isFactoryForType
- Specified by:
isFactoryForType
in interfaceAdapterFactory
- Overrides:
isFactoryForType
in 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:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated class or method.
-
adapt
- Specified by:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated class or method.
-
addListener
This adds a listener.- Specified by:
addListener
in interfaceIChangeNotifier
- Generated class or method.
-
removeListener
This removes a listener.- Specified by:
removeListener
in interfaceIChangeNotifier
- Generated class or method.
-
fireNotifyChanged
This delegates tochangeNotifier
and toparentAdapterFactory
.- Specified by:
fireNotifyChanged
in interfaceIChangeNotifier
- Generated class or method.
-
dispose
public void dispose()This disposes all of the item providers created by this factory.- Specified by:
dispose
in interfaceIDisposable
- Generated class or method.
-