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 tofireNotifyChanged
. The adapters also support Eclipse property sheets. Note that most of the adapters are shared among multiple instances.- Generated class or method.
-
-
Field Summary
Fields Modifier and Type Field Description protected AdditionItemProvider
additionItemProvider
This keeps track of the one adapter used for allAddition
instances.protected AssignmentAndItemProvider
assignmentAndItemProvider
This keeps track of the one adapter used for allAssignmentAnd
instances.protected AssignmentDivisionItemProvider
assignmentDivisionItemProvider
This keeps track of the one adapter used for allAssignmentDivision
instances.protected AssignmentExclusiveOrItemProvider
assignmentExclusiveOrItemProvider
This keeps track of the one adapter used for allAssignmentExclusiveOr
instances.protected AssignmentItemProvider
assignmentItemProvider
This keeps track of the one adapter used for allAssignment
instances.protected AssignmentLeftShiftItemProvider
assignmentLeftShiftItemProvider
This keeps track of the one adapter used for allAssignmentLeftShift
instances.protected AssignmentMinusItemProvider
assignmentMinusItemProvider
This keeps track of the one adapter used for allAssignmentMinus
instances.protected AssignmentModuloItemProvider
assignmentModuloItemProvider
This keeps track of the one adapter used for allAssignmentModulo
instances.protected AssignmentMultiplicationItemProvider
assignmentMultiplicationItemProvider
This keeps track of the one adapter used for allAssignmentMultiplication
instances.protected AssignmentOrItemProvider
assignmentOrItemProvider
This keeps track of the one adapter used for allAssignmentOr
instances.protected AssignmentPlusItemProvider
assignmentPlusItemProvider
This keeps track of the one adapter used for allAssignmentPlus
instances.protected AssignmentRightShiftItemProvider
assignmentRightShiftItemProvider
This keeps track of the one adapter used for allAssignmentRightShift
instances.protected AssignmentUnsignedRightShiftItemProvider
assignmentUnsignedRightShiftItemProvider
This keeps track of the one adapter used for allAssignmentUnsignedRightShift
instances.protected IChangeNotifier
changeNotifier
This is used to implementIChangeNotifier
.protected ComplementItemProvider
complementItemProvider
This keeps track of the one adapter used for allComplement
instances.protected DivisionItemProvider
divisionItemProvider
This keeps track of the one adapter used for allDivision
instances.protected EqualItemProvider
equalItemProvider
This keeps track of the one adapter used for allEqual
instances.protected GreaterThanItemProvider
greaterThanItemProvider
This keeps track of the one adapter used for allGreaterThan
instances.protected GreaterThanOrEqualItemProvider
greaterThanOrEqualItemProvider
This keeps track of the one adapter used for allGreaterThanOrEqual
instances.protected LeftShiftItemProvider
leftShiftItemProvider
This keeps track of the one adapter used for allLeftShift
instances.protected LessThanItemProvider
lessThanItemProvider
This keeps track of the one adapter used for allLessThan
instances.protected LessThanOrEqualItemProvider
lessThanOrEqualItemProvider
This keeps track of the one adapter used for allLessThanOrEqual
instances.protected MinusMinusItemProvider
minusMinusItemProvider
This keeps track of the one adapter used for allMinusMinus
instances.protected MultiplicationItemProvider
multiplicationItemProvider
This keeps track of the one adapter used for allMultiplication
instances.protected NegateItemProvider
negateItemProvider
This keeps track of the one adapter used for allNegate
instances.protected NotEqualItemProvider
notEqualItemProvider
This keeps track of the one adapter used for allNotEqual
instances.protected ComposedAdapterFactory
parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.protected PlusPlusItemProvider
plusPlusItemProvider
This keeps track of the one adapter used for allPlusPlus
instances.protected RemainderItemProvider
remainderItemProvider
This keeps track of the one adapter used for allRemainder
instances.protected RightShiftItemProvider
rightShiftItemProvider
This keeps track of the one adapter used for allRightShift
instances.protected SubtractionItemProvider
subtractionItemProvider
This keeps track of the one adapter used for allSubtraction
instances.protected Collection<Object>
supportedTypes
This keeps track of all the supported types checked byisFactoryForType
.protected UnsignedRightShiftItemProvider
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
Constructors Constructor Description OperatorsItemProviderAdapterFactory()
This constructs an instance.
-
Method Summary
-
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 Detail
-
parentAdapterFactory
protected ComposedAdapterFactory parentAdapterFactory
This keeps track of the root adapter factory that delegates to this adapter factory.- Generated class or method.
-
changeNotifier
protected IChangeNotifier changeNotifier
This is used to implementIChangeNotifier
.- Generated class or method.
-
supportedTypes
protected Collection<Object> supportedTypes
This keeps track of all the supported types checked byisFactoryForType
.- Generated class or method.
-
assignmentItemProvider
protected AssignmentItemProvider assignmentItemProvider
This keeps track of the one adapter used for allAssignment
instances.- Generated class or method.
-
assignmentAndItemProvider
protected AssignmentAndItemProvider assignmentAndItemProvider
This keeps track of the one adapter used for allAssignmentAnd
instances.- Generated class or method.
-
assignmentDivisionItemProvider
protected AssignmentDivisionItemProvider assignmentDivisionItemProvider
This keeps track of the one adapter used for allAssignmentDivision
instances.- Generated class or method.
-
assignmentExclusiveOrItemProvider
protected AssignmentExclusiveOrItemProvider assignmentExclusiveOrItemProvider
This keeps track of the one adapter used for allAssignmentExclusiveOr
instances.- Generated class or method.
-
assignmentMinusItemProvider
protected AssignmentMinusItemProvider assignmentMinusItemProvider
This keeps track of the one adapter used for allAssignmentMinus
instances.- Generated class or method.
-
assignmentModuloItemProvider
protected AssignmentModuloItemProvider assignmentModuloItemProvider
This keeps track of the one adapter used for allAssignmentModulo
instances.- Generated class or method.
-
assignmentMultiplicationItemProvider
protected AssignmentMultiplicationItemProvider assignmentMultiplicationItemProvider
This keeps track of the one adapter used for allAssignmentMultiplication
instances.- Generated class or method.
-
assignmentLeftShiftItemProvider
protected AssignmentLeftShiftItemProvider assignmentLeftShiftItemProvider
This keeps track of the one adapter used for allAssignmentLeftShift
instances.- Generated class or method.
-
assignmentOrItemProvider
protected AssignmentOrItemProvider assignmentOrItemProvider
This keeps track of the one adapter used for allAssignmentOr
instances.- Generated class or method.
-
assignmentPlusItemProvider
protected AssignmentPlusItemProvider assignmentPlusItemProvider
This keeps track of the one adapter used for allAssignmentPlus
instances.- Generated class or method.
-
assignmentRightShiftItemProvider
protected AssignmentRightShiftItemProvider assignmentRightShiftItemProvider
This keeps track of the one adapter used for allAssignmentRightShift
instances.- Generated class or method.
-
assignmentUnsignedRightShiftItemProvider
protected AssignmentUnsignedRightShiftItemProvider assignmentUnsignedRightShiftItemProvider
This keeps track of the one adapter used for allAssignmentUnsignedRightShift
instances.- Generated class or method.
-
equalItemProvider
protected EqualItemProvider equalItemProvider
This keeps track of the one adapter used for allEqual
instances.- Generated class or method.
-
notEqualItemProvider
protected NotEqualItemProvider notEqualItemProvider
This keeps track of the one adapter used for allNotEqual
instances.- Generated class or method.
-
greaterThanItemProvider
protected GreaterThanItemProvider greaterThanItemProvider
This keeps track of the one adapter used for allGreaterThan
instances.- Generated class or method.
-
greaterThanOrEqualItemProvider
protected GreaterThanOrEqualItemProvider greaterThanOrEqualItemProvider
This keeps track of the one adapter used for allGreaterThanOrEqual
instances.- Generated class or method.
-
lessThanItemProvider
protected LessThanItemProvider lessThanItemProvider
This keeps track of the one adapter used for allLessThan
instances.- Generated class or method.
-
lessThanOrEqualItemProvider
protected LessThanOrEqualItemProvider lessThanOrEqualItemProvider
This keeps track of the one adapter used for allLessThanOrEqual
instances.- Generated class or method.
-
additionItemProvider
protected AdditionItemProvider additionItemProvider
This keeps track of the one adapter used for allAddition
instances.- Generated class or method.
-
subtractionItemProvider
protected SubtractionItemProvider subtractionItemProvider
This keeps track of the one adapter used for allSubtraction
instances.- Generated class or method.
-
divisionItemProvider
protected DivisionItemProvider divisionItemProvider
This keeps track of the one adapter used for allDivision
instances.- Generated class or method.
-
multiplicationItemProvider
protected MultiplicationItemProvider multiplicationItemProvider
This keeps track of the one adapter used for allMultiplication
instances.- Generated class or method.
-
remainderItemProvider
protected RemainderItemProvider remainderItemProvider
This keeps track of the one adapter used for allRemainder
instances.- Generated class or method.
-
complementItemProvider
protected ComplementItemProvider complementItemProvider
This keeps track of the one adapter used for allComplement
instances.- Generated class or method.
-
minusMinusItemProvider
protected MinusMinusItemProvider minusMinusItemProvider
This keeps track of the one adapter used for allMinusMinus
instances.- Generated class or method.
-
negateItemProvider
protected NegateItemProvider negateItemProvider
This keeps track of the one adapter used for allNegate
instances.- Generated class or method.
-
plusPlusItemProvider
protected PlusPlusItemProvider plusPlusItemProvider
This keeps track of the one adapter used for allPlusPlus
instances.- Generated class or method.
-
leftShiftItemProvider
protected LeftShiftItemProvider leftShiftItemProvider
This keeps track of the one adapter used for allLeftShift
instances.- Generated class or method.
-
rightShiftItemProvider
protected RightShiftItemProvider rightShiftItemProvider
This keeps track of the one adapter used for allRightShift
instances.- Generated class or method.
-
unsignedRightShiftItemProvider
protected UnsignedRightShiftItemProvider unsignedRightShiftItemProvider
This keeps track of the one adapter used for allUnsignedRightShift
instances.- Generated class or method.
-
-
Method Detail
-
createAssignmentAdapter
public Adapter createAssignmentAdapter()
This creates an adapter for aAssignment
.- Overrides:
createAssignmentAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
Assignment
- Generated class or method.
-
createAssignmentAndAdapter
public Adapter createAssignmentAndAdapter()
This creates an adapter for aAssignmentAnd
.- Overrides:
createAssignmentAndAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentAnd
- Generated class or method.
-
createAssignmentDivisionAdapter
public Adapter createAssignmentDivisionAdapter()
This creates an adapter for aAssignmentDivision
.- Overrides:
createAssignmentDivisionAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentDivision
- Generated class or method.
-
createAssignmentExclusiveOrAdapter
public Adapter createAssignmentExclusiveOrAdapter()
This creates an adapter for aAssignmentExclusiveOr
.- Overrides:
createAssignmentExclusiveOrAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentExclusiveOr
- Generated class or method.
-
createAssignmentMinusAdapter
public Adapter createAssignmentMinusAdapter()
This creates an adapter for aAssignmentMinus
.- Overrides:
createAssignmentMinusAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentMinus
- Generated class or method.
-
createAssignmentModuloAdapter
public Adapter createAssignmentModuloAdapter()
This creates an adapter for aAssignmentModulo
.- Overrides:
createAssignmentModuloAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentModulo
- Generated class or method.
-
createAssignmentMultiplicationAdapter
public Adapter createAssignmentMultiplicationAdapter()
This creates an adapter for aAssignmentMultiplication
.- Overrides:
createAssignmentMultiplicationAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentMultiplication
- Generated class or method.
-
createAssignmentLeftShiftAdapter
public Adapter createAssignmentLeftShiftAdapter()
This creates an adapter for aAssignmentLeftShift
.- Overrides:
createAssignmentLeftShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentLeftShift
- Generated class or method.
-
createAssignmentOrAdapter
public Adapter createAssignmentOrAdapter()
This creates an adapter for aAssignmentOr
.- Overrides:
createAssignmentOrAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentOr
- Generated class or method.
-
createAssignmentPlusAdapter
public Adapter createAssignmentPlusAdapter()
This creates an adapter for aAssignmentPlus
.- Overrides:
createAssignmentPlusAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentPlus
- Generated class or method.
-
createAssignmentRightShiftAdapter
public Adapter createAssignmentRightShiftAdapter()
This creates an adapter for aAssignmentRightShift
.- Overrides:
createAssignmentRightShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentRightShift
- Generated class or method.
-
createAssignmentUnsignedRightShiftAdapter
public Adapter createAssignmentUnsignedRightShiftAdapter()
This creates an adapter for aAssignmentUnsignedRightShift
.- Overrides:
createAssignmentUnsignedRightShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
AssignmentUnsignedRightShift
- Generated class or method.
-
createEqualAdapter
public Adapter createEqualAdapter()
This creates an adapter for aEqual
.- Overrides:
createEqualAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
Equal
- Generated class or method.
-
createNotEqualAdapter
public Adapter createNotEqualAdapter()
This creates an adapter for aNotEqual
.- Overrides:
createNotEqualAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
NotEqual
- Generated class or method.
-
createGreaterThanAdapter
public Adapter createGreaterThanAdapter()
This creates an adapter for aGreaterThan
.- Overrides:
createGreaterThanAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
GreaterThan
- Generated class or method.
-
createGreaterThanOrEqualAdapter
public Adapter createGreaterThanOrEqualAdapter()
This creates an adapter for aGreaterThanOrEqual
.- Overrides:
createGreaterThanOrEqualAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
GreaterThanOrEqual
- Generated class or method.
-
createLessThanAdapter
public Adapter createLessThanAdapter()
This creates an adapter for aLessThan
.- Overrides:
createLessThanAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
LessThan
- Generated class or method.
-
createLessThanOrEqualAdapter
public Adapter createLessThanOrEqualAdapter()
This creates an adapter for aLessThanOrEqual
.- Overrides:
createLessThanOrEqualAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
LessThanOrEqual
- Generated class or method.
-
createAdditionAdapter
public Adapter createAdditionAdapter()
This creates an adapter for aAddition
.- Overrides:
createAdditionAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
Addition
- Generated class or method.
-
createSubtractionAdapter
public Adapter createSubtractionAdapter()
This creates an adapter for aSubtraction
.- Overrides:
createSubtractionAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
Subtraction
- Generated class or method.
-
createDivisionAdapter
public Adapter createDivisionAdapter()
This creates an adapter for aDivision
.- Overrides:
createDivisionAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
Division
- Generated class or method.
-
createMultiplicationAdapter
public Adapter createMultiplicationAdapter()
This creates an adapter for aMultiplication
.- Overrides:
createMultiplicationAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
Multiplication
- Generated class or method.
-
createRemainderAdapter
public Adapter createRemainderAdapter()
This creates an adapter for aRemainder
.- Overrides:
createRemainderAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
Remainder
- Generated class or method.
-
createComplementAdapter
public Adapter createComplementAdapter()
This creates an adapter for aComplement
.- Overrides:
createComplementAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
Complement
- Generated class or method.
-
createMinusMinusAdapter
public Adapter createMinusMinusAdapter()
This creates an adapter for aMinusMinus
.- Overrides:
createMinusMinusAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
MinusMinus
- Generated class or method.
-
createNegateAdapter
public Adapter createNegateAdapter()
This creates an adapter for aNegate
.- Overrides:
createNegateAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
Negate
- Generated class or method.
-
createPlusPlusAdapter
public Adapter createPlusPlusAdapter()
This creates an adapter for aPlusPlus
.- Overrides:
createPlusPlusAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
PlusPlus
- Generated class or method.
-
createLeftShiftAdapter
public Adapter createLeftShiftAdapter()
This creates an adapter for aLeftShift
.- Overrides:
createLeftShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
LeftShift
- Generated class or method.
-
createRightShiftAdapter
public Adapter createRightShiftAdapter()
This creates an adapter for aRightShift
.- Overrides:
createRightShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
RightShift
- Generated class or method.
-
createUnsignedRightShiftAdapter
public Adapter createUnsignedRightShiftAdapter()
This creates an adapter for aUnsignedRightShift
.- Overrides:
createUnsignedRightShiftAdapter
in classOperatorsAdapterFactory
- Returns:
- the new adapter.
- See Also:
UnsignedRightShift
- Generated class or method.
-
getRootAdapterFactory
public ComposeableAdapterFactory getRootAdapterFactory()
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactory
in interfaceComposeableAdapterFactory
- Generated class or method.
-
setParentAdapterFactory
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactory
in interfaceComposeableAdapterFactory
- Generated class or method.
-
isFactoryForType
public boolean isFactoryForType(Object type)
- 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
public Adapter adapt(Notifier notifier, Object type)
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
public Object adapt(Object object, Object type)
- Specified by:
adapt
in interfaceAdapterFactory
- Overrides:
adapt
in classAdapterFactoryImpl
- Generated class or method.
-
addListener
public void addListener(INotifyChangedListener notifyChangedListener)
This adds a listener.- Specified by:
addListener
in interfaceIChangeNotifier
- Generated class or method.
-
removeListener
public void removeListener(INotifyChangedListener notifyChangedListener)
This removes a listener.- Specified by:
removeListener
in interfaceIChangeNotifier
- Generated class or method.
-
fireNotifyChanged
public void fireNotifyChanged(Notification notification)
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.
-
-