Class OperatorsItemProviderAdapterFactory
java.lang.Object
org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
org.emftext.language.java.operators.util.OperatorsAdapterFactory
org.emftext.language.java.operators.provider.OperatorsItemProviderAdapterFactory
- All Implemented Interfaces:
AdapterFactory
,ComposeableAdapterFactory
,IChangeNotifier
,IDisposable
public class OperatorsItemProviderAdapterFactory
extends OperatorsAdapterFactory
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 AdditionItemProvider
This keeps track of the one adapter used for allAddition
instances.protected AssignmentAndItemProvider
This keeps track of the one adapter used for allAssignmentAnd
instances.protected AssignmentDivisionItemProvider
This keeps track of the one adapter used for allAssignmentDivision
instances.protected AssignmentExclusiveOrItemProvider
This keeps track of the one adapter used for allAssignmentExclusiveOr
instances.protected AssignmentItemProvider
This keeps track of the one adapter used for allAssignment
instances.protected AssignmentLeftShiftItemProvider
This keeps track of the one adapter used for allAssignmentLeftShift
instances.protected AssignmentMinusItemProvider
This keeps track of the one adapter used for allAssignmentMinus
instances.protected AssignmentModuloItemProvider
This keeps track of the one adapter used for allAssignmentModulo
instances.protected AssignmentMultiplicationItemProvider
This keeps track of the one adapter used for allAssignmentMultiplication
instances.protected AssignmentOrItemProvider
This keeps track of the one adapter used for allAssignmentOr
instances.protected AssignmentPlusItemProvider
This keeps track of the one adapter used for allAssignmentPlus
instances.protected AssignmentRightShiftItemProvider
This keeps track of the one adapter used for allAssignmentRightShift
instances.protected AssignmentUnsignedRightShiftItemProvider
This keeps track of the one adapter used for allAssignmentUnsignedRightShift
instances.protected IChangeNotifier
This is used to implementIChangeNotifier
.protected ComplementItemProvider
This keeps track of the one adapter used for allComplement
instances.protected DivisionItemProvider
This keeps track of the one adapter used for allDivision
instances.protected EqualItemProvider
This keeps track of the one adapter used for allEqual
instances.protected GreaterThanItemProvider
This keeps track of the one adapter used for allGreaterThan
instances.protected GreaterThanOrEqualItemProvider
This keeps track of the one adapter used for allGreaterThanOrEqual
instances.protected LeftShiftItemProvider
This keeps track of the one adapter used for allLeftShift
instances.protected LessThanItemProvider
This keeps track of the one adapter used for allLessThan
instances.protected LessThanOrEqualItemProvider
This keeps track of the one adapter used for allLessThanOrEqual
instances.protected MinusMinusItemProvider
This keeps track of the one adapter used for allMinusMinus
instances.protected MultiplicationItemProvider
This keeps track of the one adapter used for allMultiplication
instances.protected NegateItemProvider
This keeps track of the one adapter used for allNegate
instances.protected NotEqualItemProvider
This keeps track of the one adapter used for allNotEqual
instances.protected ComposedAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.protected PlusPlusItemProvider
This keeps track of the one adapter used for allPlusPlus
instances.protected RemainderItemProvider
This keeps track of the one adapter used for allRemainder
instances.protected RightShiftItemProvider
This keeps track of the one adapter used for allRightShift
instances.protected SubtractionItemProvider
This keeps track of the one adapter used for allSubtraction
instances.protected Collection<Object>
This keeps track of all the supported types checked byisFactoryForType
.protected UnsignedRightShiftItemProvider
This keeps track of the one adapter used for allUnsignedRightShift
instances.Fields inherited from class org.emftext.language.java.operators.util.OperatorsAdapterFactory
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 aAddition
.This creates an adapter for aAssignment
.This creates an adapter for aAssignmentAnd
.This creates an adapter for aAssignmentDivision
.This creates an adapter for aAssignmentExclusiveOr
.This creates an adapter for aAssignmentLeftShift
.This creates an adapter for aAssignmentMinus
.This creates an adapter for aAssignmentModulo
.This creates an adapter for aAssignmentMultiplication
.This creates an adapter for aAssignmentOr
.This creates an adapter for aAssignmentPlus
.This creates an adapter for aAssignmentRightShift
.This creates an adapter for aAssignmentUnsignedRightShift
.This creates an adapter for aComplement
.This creates an adapter for aDivision
.This creates an adapter for aEqual
.This creates an adapter for aGreaterThan
.This creates an adapter for aGreaterThanOrEqual
.This creates an adapter for aLeftShift
.This creates an adapter for aLessThan
.This creates an adapter for aLessThanOrEqual
.This creates an adapter for aMinusMinus
.This creates an adapter for aMultiplication
.This creates an adapter for aNegate
.This creates an adapter for aNotEqual
.This creates an adapter for aPlusPlus
.This creates an adapter for aRemainder
.This creates an adapter for aRightShift
.This creates an adapter for aSubtraction
.This creates an adapter for aUnsignedRightShift
.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.operators.util.OperatorsAdapterFactory
createAdapter, createAdditiveOperatorAdapter, createAssignmentOperatorAdapter, createCommentableAdapter, createEObjectAdapter, createEqualityOperatorAdapter, createMultiplicativeOperatorAdapter, createOperatorAdapter, createRelationOperatorAdapter, createShiftOperatorAdapter, createUnaryModificationOperatorAdapter, createUnaryOperatorAdapter
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.
-
assignmentItemProvider
This keeps track of the one adapter used for allAssignment
instances.- Generated class or method.
-
assignmentAndItemProvider
This keeps track of the one adapter used for allAssignmentAnd
instances.- Generated class or method.
-
assignmentDivisionItemProvider
This keeps track of the one adapter used for allAssignmentDivision
instances.- Generated class or method.
-
assignmentExclusiveOrItemProvider
This keeps track of the one adapter used for allAssignmentExclusiveOr
instances.- Generated class or method.
-
assignmentMinusItemProvider
This keeps track of the one adapter used for allAssignmentMinus
instances.- Generated class or method.
-
assignmentModuloItemProvider
This keeps track of the one adapter used for allAssignmentModulo
instances.- Generated class or method.
-
assignmentMultiplicationItemProvider
This keeps track of the one adapter used for allAssignmentMultiplication
instances.- Generated class or method.
-
assignmentLeftShiftItemProvider
This keeps track of the one adapter used for allAssignmentLeftShift
instances.- Generated class or method.
-
assignmentOrItemProvider
This keeps track of the one adapter used for allAssignmentOr
instances.- Generated class or method.
-
assignmentPlusItemProvider
This keeps track of the one adapter used for allAssignmentPlus
instances.- Generated class or method.
-
assignmentRightShiftItemProvider
This keeps track of the one adapter used for allAssignmentRightShift
instances.- Generated class or method.
-
assignmentUnsignedRightShiftItemProvider
This keeps track of the one adapter used for allAssignmentUnsignedRightShift
instances.- Generated class or method.
-
equalItemProvider
This keeps track of the one adapter used for allEqual
instances.- Generated class or method.
-
notEqualItemProvider
This keeps track of the one adapter used for allNotEqual
instances.- Generated class or method.
-
greaterThanItemProvider
This keeps track of the one adapter used for allGreaterThan
instances.- Generated class or method.
-
greaterThanOrEqualItemProvider
This keeps track of the one adapter used for allGreaterThanOrEqual
instances.- Generated class or method.
-
lessThanItemProvider
This keeps track of the one adapter used for allLessThan
instances.- Generated class or method.
-
lessThanOrEqualItemProvider
This keeps track of the one adapter used for allLessThanOrEqual
instances.- Generated class or method.
-
additionItemProvider
This keeps track of the one adapter used for allAddition
instances.- Generated class or method.
-
subtractionItemProvider
This keeps track of the one adapter used for allSubtraction
instances.- Generated class or method.
-
divisionItemProvider
This keeps track of the one adapter used for allDivision
instances.- Generated class or method.
-
multiplicationItemProvider
This keeps track of the one adapter used for allMultiplication
instances.- Generated class or method.
-
remainderItemProvider
This keeps track of the one adapter used for allRemainder
instances.- Generated class or method.
-
complementItemProvider
This keeps track of the one adapter used for allComplement
instances.- Generated class or method.
-
minusMinusItemProvider
This keeps track of the one adapter used for allMinusMinus
instances.- Generated class or method.
-
negateItemProvider
This keeps track of the one adapter used for allNegate
instances.- Generated class or method.
-
plusPlusItemProvider
This keeps track of the one adapter used for allPlusPlus
instances.- Generated class or method.
-
leftShiftItemProvider
This keeps track of the one adapter used for allLeftShift
instances.- Generated class or method.
-
rightShiftItemProvider
This keeps track of the one adapter used for allRightShift
instances.- Generated class or method.
-
unsignedRightShiftItemProvider
This keeps track of the one adapter used for allUnsignedRightShift
instances.- Generated class or method.
-
-
Constructor Details
-
OperatorsItemProviderAdapterFactory
public OperatorsItemProviderAdapterFactory()This constructs an instance.- Generated class or method.
-
-
Method Details
-
createAssignmentAdapter
This creates an adapter for aAssignment
.- Overrides:
createAssignmentAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentAndAdapter
This creates an adapter for aAssignmentAnd
.- Overrides:
createAssignmentAndAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentDivisionAdapter
This creates an adapter for aAssignmentDivision
.- Overrides:
createAssignmentDivisionAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentExclusiveOrAdapter
This creates an adapter for aAssignmentExclusiveOr
.- Overrides:
createAssignmentExclusiveOrAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentMinusAdapter
This creates an adapter for aAssignmentMinus
.- Overrides:
createAssignmentMinusAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentModuloAdapter
This creates an adapter for aAssignmentModulo
.- Overrides:
createAssignmentModuloAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentMultiplicationAdapter
This creates an adapter for aAssignmentMultiplication
.- Overrides:
createAssignmentMultiplicationAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentLeftShiftAdapter
This creates an adapter for aAssignmentLeftShift
.- Overrides:
createAssignmentLeftShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentOrAdapter
This creates an adapter for aAssignmentOr
.- Overrides:
createAssignmentOrAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentPlusAdapter
This creates an adapter for aAssignmentPlus
.- Overrides:
createAssignmentPlusAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentRightShiftAdapter
This creates an adapter for aAssignmentRightShift
.- Overrides:
createAssignmentRightShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAssignmentUnsignedRightShiftAdapter
This creates an adapter for aAssignmentUnsignedRightShift
.- Overrides:
createAssignmentUnsignedRightShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createEqualAdapter
This creates an adapter for aEqual
.- Overrides:
createEqualAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNotEqualAdapter
This creates an adapter for aNotEqual
.- Overrides:
createNotEqualAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createGreaterThanAdapter
This creates an adapter for aGreaterThan
.- Overrides:
createGreaterThanAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createGreaterThanOrEqualAdapter
This creates an adapter for aGreaterThanOrEqual
.- Overrides:
createGreaterThanOrEqualAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLessThanAdapter
This creates an adapter for aLessThan
.- Overrides:
createLessThanAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLessThanOrEqualAdapter
This creates an adapter for aLessThanOrEqual
.- Overrides:
createLessThanOrEqualAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createAdditionAdapter
This creates an adapter for aAddition
.- Overrides:
createAdditionAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createSubtractionAdapter
This creates an adapter for aSubtraction
.- Overrides:
createSubtractionAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createDivisionAdapter
This creates an adapter for aDivision
.- Overrides:
createDivisionAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createMultiplicationAdapter
This creates an adapter for aMultiplication
.- Overrides:
createMultiplicationAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createRemainderAdapter
This creates an adapter for aRemainder
.- Overrides:
createRemainderAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createComplementAdapter
This creates an adapter for aComplement
.- Overrides:
createComplementAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createMinusMinusAdapter
This creates an adapter for aMinusMinus
.- Overrides:
createMinusMinusAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createNegateAdapter
This creates an adapter for aNegate
.- Overrides:
createNegateAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createPlusPlusAdapter
This creates an adapter for aPlusPlus
.- Overrides:
createPlusPlusAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createLeftShiftAdapter
This creates an adapter for aLeftShift
.- Overrides:
createLeftShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createRightShiftAdapter
This creates an adapter for aRightShift
.- Overrides:
createRightShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
- Generated class or method.
-
createUnsignedRightShiftAdapter
This creates an adapter for aUnsignedRightShift
.- Overrides:
createUnsignedRightShiftAdapter
in classOperatorsAdapterFactory
- 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 classOperatorsAdapterFactory
- 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.
-