Class ExpressionsItemProviderAdapterFactory
- java.lang.Object
-
- org.eclipse.emf.common.notify.impl.AdapterFactoryImpl
-
- org.emftext.language.java.expressions.util.ExpressionsAdapterFactory
-
- org.emftext.language.java.expressions.provider.ExpressionsItemProviderAdapterFactory
-
- All Implemented Interfaces:
AdapterFactory,ComposeableAdapterFactory,IChangeNotifier,IDisposable
public class ExpressionsItemProviderAdapterFactory extends ExpressionsAdapterFactory 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 inherited from class org.emftext.language.java.expressions.util.ExpressionsAdapterFactory
modelPackage, modelSwitch
-
-
Constructor Summary
Constructors Constructor Description ExpressionsItemProviderAdapterFactory()This constructs an instance.
-
Method Summary
-
Methods inherited from class org.emftext.language.java.expressions.util.ExpressionsAdapterFactory
createAdapter, createAdditiveExpressionChildAdapter, createAndExpressionChildAdapter, createAnnotationValueAdapter, createArrayInitializationValueAdapter, createArrayTypeableAdapter, createAssignmentExpressionChildAdapter, createCallTypeArgumentableAdapter, createCommentableAdapter, createConditionalAndExpressionChildAdapter, createConditionalExpressionChildAdapter, createConditionalOrExpressionChildAdapter, createEObjectAdapter, createEqualityExpressionChildAdapter, createExclusiveOrExpressionChildAdapter, createExpressionAdapter, createForLoopInitializerAdapter, createInclusiveOrExpressionChildAdapter, createInstanceOfExpressionChildAdapter, createLambdaBodyAdapter, createLambdaParametersAdapter, createMethodReferenceExpressionAdapter, createMethodReferenceExpressionChildAdapter, createMultiplicativeExpressionChildAdapter, createParametrizableAdapter, createPrimaryExpressionAdapter, createReferenceAdapter, createRelationExpressionChildAdapter, createShiftExpressionChildAdapter, createTypeArgumentableAdapter, createTypedElementAdapter, createUnaryExpressionChildAdapter, createUnaryModificationExpressionAdapter, 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 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.
-
expressionListItemProvider
protected ExpressionListItemProvider expressionListItemProvider
This keeps track of the one adapter used for allExpressionListinstances.- Generated class or method.
-
assignmentExpressionItemProvider
protected AssignmentExpressionItemProvider assignmentExpressionItemProvider
This keeps track of the one adapter used for allAssignmentExpressioninstances.- Generated class or method.
-
conditionalExpressionItemProvider
protected ConditionalExpressionItemProvider conditionalExpressionItemProvider
This keeps track of the one adapter used for allConditionalExpressioninstances.- Generated class or method.
-
conditionalOrExpressionItemProvider
protected ConditionalOrExpressionItemProvider conditionalOrExpressionItemProvider
This keeps track of the one adapter used for allConditionalOrExpressioninstances.- Generated class or method.
-
conditionalAndExpressionItemProvider
protected ConditionalAndExpressionItemProvider conditionalAndExpressionItemProvider
This keeps track of the one adapter used for allConditionalAndExpressioninstances.- Generated class or method.
-
inclusiveOrExpressionItemProvider
protected InclusiveOrExpressionItemProvider inclusiveOrExpressionItemProvider
This keeps track of the one adapter used for allInclusiveOrExpressioninstances.- Generated class or method.
-
exclusiveOrExpressionItemProvider
protected ExclusiveOrExpressionItemProvider exclusiveOrExpressionItemProvider
This keeps track of the one adapter used for allExclusiveOrExpressioninstances.- Generated class or method.
-
andExpressionItemProvider
protected AndExpressionItemProvider andExpressionItemProvider
This keeps track of the one adapter used for allAndExpressioninstances.- Generated class or method.
-
equalityExpressionItemProvider
protected EqualityExpressionItemProvider equalityExpressionItemProvider
This keeps track of the one adapter used for allEqualityExpressioninstances.- Generated class or method.
-
instanceOfExpressionItemProvider
protected InstanceOfExpressionItemProvider instanceOfExpressionItemProvider
This keeps track of the one adapter used for allInstanceOfExpressioninstances.- Generated class or method.
-
relationExpressionItemProvider
protected RelationExpressionItemProvider relationExpressionItemProvider
This keeps track of the one adapter used for allRelationExpressioninstances.- Generated class or method.
-
shiftExpressionItemProvider
protected ShiftExpressionItemProvider shiftExpressionItemProvider
This keeps track of the one adapter used for allShiftExpressioninstances.- Generated class or method.
-
additiveExpressionItemProvider
protected AdditiveExpressionItemProvider additiveExpressionItemProvider
This keeps track of the one adapter used for allAdditiveExpressioninstances.- Generated class or method.
-
multiplicativeExpressionItemProvider
protected MultiplicativeExpressionItemProvider multiplicativeExpressionItemProvider
This keeps track of the one adapter used for allMultiplicativeExpressioninstances.- Generated class or method.
-
unaryExpressionItemProvider
protected UnaryExpressionItemProvider unaryExpressionItemProvider
This keeps track of the one adapter used for allUnaryExpressioninstances.- Generated class or method.
-
prefixUnaryModificationExpressionItemProvider
protected PrefixUnaryModificationExpressionItemProvider prefixUnaryModificationExpressionItemProvider
This keeps track of the one adapter used for allPrefixUnaryModificationExpressioninstances.- Generated class or method.
-
suffixUnaryModificationExpressionItemProvider
protected SuffixUnaryModificationExpressionItemProvider suffixUnaryModificationExpressionItemProvider
This keeps track of the one adapter used for allSuffixUnaryModificationExpressioninstances.- Generated class or method.
-
castExpressionItemProvider
protected CastExpressionItemProvider castExpressionItemProvider
This keeps track of the one adapter used for allCastExpressioninstances.- Generated class or method.
-
nestedExpressionItemProvider
protected NestedExpressionItemProvider nestedExpressionItemProvider
This keeps track of the one adapter used for allNestedExpressioninstances.- Generated class or method.
-
primaryExpressionReferenceExpressionItemProvider
protected PrimaryExpressionReferenceExpressionItemProvider primaryExpressionReferenceExpressionItemProvider
This keeps track of the one adapter used for allPrimaryExpressionReferenceExpressioninstances.- Generated class or method.
-
classTypeConstructorReferenceExpressionItemProvider
protected ClassTypeConstructorReferenceExpressionItemProvider classTypeConstructorReferenceExpressionItemProvider
This keeps track of the one adapter used for allClassTypeConstructorReferenceExpressioninstances.- Generated class or method.
-
arrayConstructorReferenceExpressionItemProvider
protected ArrayConstructorReferenceExpressionItemProvider arrayConstructorReferenceExpressionItemProvider
This keeps track of the one adapter used for allArrayConstructorReferenceExpressioninstances.- Generated class or method.
-
lambdaExpressionItemProvider
protected LambdaExpressionItemProvider lambdaExpressionItemProvider
This keeps track of the one adapter used for allLambdaExpressioninstances.- Generated class or method.
-
explicitlyTypedLambdaParametersItemProvider
protected ExplicitlyTypedLambdaParametersItemProvider explicitlyTypedLambdaParametersItemProvider
This keeps track of the one adapter used for allExplicitlyTypedLambdaParametersinstances.- Generated class or method.
-
implicitlyTypedLambdaParametersItemProvider
protected ImplicitlyTypedLambdaParametersItemProvider implicitlyTypedLambdaParametersItemProvider
This keeps track of the one adapter used for allImplicitlyTypedLambdaParametersinstances.- Generated class or method.
-
singleImplicitLambdaParameterItemProvider
protected SingleImplicitLambdaParameterItemProvider singleImplicitLambdaParameterItemProvider
This keeps track of the one adapter used for allSingleImplicitLambdaParameterinstances.- Generated class or method.
-
-
Method Detail
-
createExpressionListAdapter
public Adapter createExpressionListAdapter()
This creates an adapter for aExpressionList.- Overrides:
createExpressionListAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
ExpressionList- Generated class or method.
-
createAssignmentExpressionAdapter
public Adapter createAssignmentExpressionAdapter()
This creates an adapter for aAssignmentExpression.- Overrides:
createAssignmentExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
AssignmentExpression- Generated class or method.
-
createConditionalExpressionAdapter
public Adapter createConditionalExpressionAdapter()
This creates an adapter for aConditionalExpression.- Overrides:
createConditionalExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
ConditionalExpression- Generated class or method.
-
createConditionalOrExpressionAdapter
public Adapter createConditionalOrExpressionAdapter()
This creates an adapter for aConditionalOrExpression.- Overrides:
createConditionalOrExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
ConditionalOrExpression- Generated class or method.
-
createConditionalAndExpressionAdapter
public Adapter createConditionalAndExpressionAdapter()
This creates an adapter for aConditionalAndExpression.- Overrides:
createConditionalAndExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
ConditionalAndExpression- Generated class or method.
-
createInclusiveOrExpressionAdapter
public Adapter createInclusiveOrExpressionAdapter()
This creates an adapter for aInclusiveOrExpression.- Overrides:
createInclusiveOrExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
InclusiveOrExpression- Generated class or method.
-
createExclusiveOrExpressionAdapter
public Adapter createExclusiveOrExpressionAdapter()
This creates an adapter for aExclusiveOrExpression.- Overrides:
createExclusiveOrExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
ExclusiveOrExpression- Generated class or method.
-
createAndExpressionAdapter
public Adapter createAndExpressionAdapter()
This creates an adapter for aAndExpression.- Overrides:
createAndExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
AndExpression- Generated class or method.
-
createEqualityExpressionAdapter
public Adapter createEqualityExpressionAdapter()
This creates an adapter for aEqualityExpression.- Overrides:
createEqualityExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
EqualityExpression- Generated class or method.
-
createInstanceOfExpressionAdapter
public Adapter createInstanceOfExpressionAdapter()
This creates an adapter for aInstanceOfExpression.- Overrides:
createInstanceOfExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
InstanceOfExpression- Generated class or method.
-
createRelationExpressionAdapter
public Adapter createRelationExpressionAdapter()
This creates an adapter for aRelationExpression.- Overrides:
createRelationExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
RelationExpression- Generated class or method.
-
createShiftExpressionAdapter
public Adapter createShiftExpressionAdapter()
This creates an adapter for aShiftExpression.- Overrides:
createShiftExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
ShiftExpression- Generated class or method.
-
createAdditiveExpressionAdapter
public Adapter createAdditiveExpressionAdapter()
This creates an adapter for aAdditiveExpression.- Overrides:
createAdditiveExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
AdditiveExpression- Generated class or method.
-
createMultiplicativeExpressionAdapter
public Adapter createMultiplicativeExpressionAdapter()
This creates an adapter for aMultiplicativeExpression.- Overrides:
createMultiplicativeExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
MultiplicativeExpression- Generated class or method.
-
createUnaryExpressionAdapter
public Adapter createUnaryExpressionAdapter()
This creates an adapter for aUnaryExpression.- Overrides:
createUnaryExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
UnaryExpression- Generated class or method.
-
createPrefixUnaryModificationExpressionAdapter
public Adapter createPrefixUnaryModificationExpressionAdapter()
This creates an adapter for aPrefixUnaryModificationExpression.- Overrides:
createPrefixUnaryModificationExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
PrefixUnaryModificationExpression- Generated class or method.
-
createSuffixUnaryModificationExpressionAdapter
public Adapter createSuffixUnaryModificationExpressionAdapter()
This creates an adapter for aSuffixUnaryModificationExpression.- Overrides:
createSuffixUnaryModificationExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
SuffixUnaryModificationExpression- Generated class or method.
-
createCastExpressionAdapter
public Adapter createCastExpressionAdapter()
This creates an adapter for aCastExpression.- Overrides:
createCastExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
CastExpression- Generated class or method.
-
createNestedExpressionAdapter
public Adapter createNestedExpressionAdapter()
This creates an adapter for aNestedExpression.- Overrides:
createNestedExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
NestedExpression- Generated class or method.
-
createPrimaryExpressionReferenceExpressionAdapter
public Adapter createPrimaryExpressionReferenceExpressionAdapter()
This creates an adapter for aPrimaryExpressionReferenceExpression.- Overrides:
createPrimaryExpressionReferenceExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
PrimaryExpressionReferenceExpression- Generated class or method.
-
createClassTypeConstructorReferenceExpressionAdapter
public Adapter createClassTypeConstructorReferenceExpressionAdapter()
This creates an adapter for aClassTypeConstructorReferenceExpression.- Overrides:
createClassTypeConstructorReferenceExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
ClassTypeConstructorReferenceExpression- Generated class or method.
-
createArrayConstructorReferenceExpressionAdapter
public Adapter createArrayConstructorReferenceExpressionAdapter()
This creates an adapter for aArrayConstructorReferenceExpression.- Overrides:
createArrayConstructorReferenceExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
ArrayConstructorReferenceExpression- Generated class or method.
-
createLambdaExpressionAdapter
public Adapter createLambdaExpressionAdapter()
This creates an adapter for aLambdaExpression.- Overrides:
createLambdaExpressionAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
LambdaExpression- Generated class or method.
-
createExplicitlyTypedLambdaParametersAdapter
public Adapter createExplicitlyTypedLambdaParametersAdapter()
This creates an adapter for aExplicitlyTypedLambdaParameters.- Overrides:
createExplicitlyTypedLambdaParametersAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
ExplicitlyTypedLambdaParameters- Generated class or method.
-
createImplicitlyTypedLambdaParametersAdapter
public Adapter createImplicitlyTypedLambdaParametersAdapter()
This creates an adapter for aImplicitlyTypedLambdaParameters.- Overrides:
createImplicitlyTypedLambdaParametersAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
ImplicitlyTypedLambdaParameters- Generated class or method.
-
createSingleImplicitLambdaParameterAdapter
public Adapter createSingleImplicitLambdaParameterAdapter()
This creates an adapter for aSingleImplicitLambdaParameter.- Overrides:
createSingleImplicitLambdaParameterAdapterin classExpressionsAdapterFactory- Returns:
- the new adapter.
- See Also:
SingleImplicitLambdaParameter- Generated class or method.
-
getRootAdapterFactory
public ComposeableAdapterFactory getRootAdapterFactory()
This returns the root adapter factory that contains this factory.- Specified by:
getRootAdapterFactoryin interfaceComposeableAdapterFactory- Generated class or method.
-
setParentAdapterFactory
public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory)
This sets the composed adapter factory that contains this factory.- Specified by:
setParentAdapterFactoryin interfaceComposeableAdapterFactory- Generated class or method.
-
isFactoryForType
public boolean isFactoryForType(Object type)
- Specified by:
isFactoryForTypein interfaceAdapterFactory- Overrides:
isFactoryForTypein classExpressionsAdapterFactory- 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:
adaptin interfaceAdapterFactory- Overrides:
adaptin classAdapterFactoryImpl- Generated class or method.
-
adapt
public Object adapt(Object object, Object type)
- Specified by:
adaptin interfaceAdapterFactory- Overrides:
adaptin classAdapterFactoryImpl- Generated class or method.
-
addListener
public void addListener(INotifyChangedListener notifyChangedListener)
This adds a listener.- Specified by:
addListenerin interfaceIChangeNotifier- Generated class or method.
-
removeListener
public void removeListener(INotifyChangedListener notifyChangedListener)
This removes a listener.- Specified by:
removeListenerin interfaceIChangeNotifier- Generated class or method.
-
fireNotifyChanged
public void fireNotifyChanged(Notification notification)
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.
-
-