aboutsummaryrefslogtreecommitdiffstats
path: root/rba.model.core.edit
diff options
context:
space:
mode:
authorKenji Hosokawa <khosokawa@jp.adit-jv.com>2021-08-03 18:42:39 +0900
committerKenji Hosokawa <khosokawa@jp.adit-jv.com>2021-08-06 19:32:38 +0900
commitbe4f78978faba3d3ceb88df02a7f93a2e09ff1e0 (patch)
tree1f3f1a96251ac4f655c8a96fc33d5d4ee779cd06 /rba.model.core.edit
parent71ca7c6cab863767ef30c8bd05b2bbfda8731cb5 (diff)
Initial commit
Bug-AGL: SPEC-4033 Signed-off-by: Kenji Hosokawa <khosokawa@jp.adit-jv.com>
Diffstat (limited to 'rba.model.core.edit')
-rw-r--r--rba.model.core.edit/.classpath7
-rw-r--r--rba.model.core.edit/.project28
-rw-r--r--rba.model.core.edit/META-INF/MANIFEST.MF15
-rw-r--r--rba.model.core.edit/build.properties10
-rw-r--r--rba.model.core.edit/icons/full/obj16/ActivateContent.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ActivateContentStateOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ActiveContents.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ActiveState.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/AllocatedContent.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/AndOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ArbitrationPolicyExpression.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ComparisonAnd.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ComplexExpression.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Constraint.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ContentValue.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/DeactivateContent.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/DeactivateContentStateOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Defeats.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Displayed.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/EqualToOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Event.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/EventProcessing.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ExclusiveOrOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ExistsOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/FindStateMachine.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ForAllOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/GetAllocatables.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/GetContentsList.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/GetProperty.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/GetState.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/GreaterThanOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Handler.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/HasBeenDisplayed.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/HasComeEarlierThan.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/HasComeLaterThan.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IfActionOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IfStatement.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ImpliesOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IntegerProperty.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IntegerValue.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsActive.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsAllocatedTo.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsCanceled.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsChanged.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsDefeatedBy.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsDisappeared.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsEqualToOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsGreaterThanEqualOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsGreaterThanOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsLowerThanEqualOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsLowerThanOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsOn.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsRunningOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsStateOf.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsTranslatedTo.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/IsTypeOf.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/LambdaExpression.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/LetStatement.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/LoserTypeExpression.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/LowerThanOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/MaxOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/MaxValue.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/MinOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/MinValue.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/MuchGreaterThanOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/NoneValue.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/NotOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/NullExpression.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ObjectCompare.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ObjectCompareNot.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ObjectReference.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/OffScene.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/OnScene.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/OpaqueAction.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/OrOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Package.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/PlusOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/PostConstraint.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/PreviousModifier.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Project.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Rule.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Scene.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/SelectOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/SetOfOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/SetProperty.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/SetState.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/SizeOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/StandardValue.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/State.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/StateMachine.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/StateValue.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Stereotype.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Tag.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/ThatOfOperator.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Transition.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Undisplayed.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/icons/full/obj16/Variable.gifbin0 -> 129 bytes
-rw-r--r--rba.model.core.edit/plugin.properties227
-rw-r--r--rba.model.core.edit/plugin.xml22
-rw-r--r--rba.model.core.edit/src/rba/core/provider/AbstractAllocatableItemProvider.java121
-rw-r--r--rba.model.core.edit/src/rba/core/provider/AbstractConstraintItemProvider.java292
-rw-r--r--rba.model.core.edit/src/rba/core/provider/AbstractContentItemProvider.java120
-rw-r--r--rba.model.core.edit/src/rba/core/provider/AbstractPropertyItemProvider.java105
-rw-r--r--rba.model.core.edit/src/rba/core/provider/AbstractSceneItemProvider.java88
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ActionOperatorItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ActiveContentsItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ActiveStateItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/AllocatableItemProvider.java311
-rw-r--r--rba.model.core.edit/src/rba/core/provider/AllocatableOperatorItemProvider.java91
-rw-r--r--rba.model.core.edit/src/rba/core/provider/AllocatableSetItemProvider.java105
-rw-r--r--rba.model.core.edit/src/rba/core/provider/AllocatedContentItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/AndOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ArbitrationPolicyExpressionItemProvider.java127
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ArithmeticOperatorItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ComparisonAndItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ComparisonOperatorItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ComplexExpressionItemProvider.java304
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ConstraintItemProvider.java124
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ContentItemProvider.java147
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ContentOperatorItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ContentSetItemProvider.java105
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ContentStateItemProvider.java291
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ContentStateOperatorItemProvider.java91
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ContentValueItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/EnumExpressionItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/EqualToOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ExistsOperatorItemProvider.java122
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ExpressionItemProvider.java167
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ForAllOperatorItemProvider.java122
-rw-r--r--rba.model.core.edit/src/rba/core/provider/GetAllocatablesItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/GetContentsListItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/GetPropertyItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/GetStateItemProvider.java114
-rw-r--r--rba.model.core.edit/src/rba/core/provider/GreaterThanOperatorItemProvider.java101
-rw-r--r--rba.model.core.edit/src/rba/core/provider/HasBeenDisplayedItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/HasComeEarlierThanItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/HasComeLaterThanItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IfActionOperatorItemProvider.java98
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IfStatementItemProvider.java660
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ImpliesOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IntegerPropertyItemProvider.java302
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IntegerValueItemProvider.java126
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsActiveItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsAllocatedToItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsCanceledItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsChangedItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsDisappearedItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsEqualToOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsGreaterThanEqualOperatorItemProvider.java101
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsGreaterThanOperatorItemProvider.java101
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsLowerThanEqualOperatorItemProvider.java101
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsLowerThanOperatorItemProvider.java101
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsOnItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsTranslatedToItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/IsTypeOfItemProvider.java124
-rw-r--r--rba.model.core.edit/src/rba/core/provider/LambdaContextItemProvider.java153
-rw-r--r--rba.model.core.edit/src/rba/core/provider/LambdaExpressionItemProvider.java309
-rw-r--r--rba.model.core.edit/src/rba/core/provider/LetStatementItemProvider.java130
-rw-r--r--rba.model.core.edit/src/rba/core/provider/LogicalOperatorItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/LoserTypeExpressionItemProvider.java127
-rw-r--r--rba.model.core.edit/src/rba/core/provider/LowerThanOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/MaxOperatorItemProvider.java122
-rw-r--r--rba.model.core.edit/src/rba/core/provider/MaxValueItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/MinOperatorItemProvider.java122
-rw-r--r--rba.model.core.edit/src/rba/core/provider/MinValueItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ModelElementItemProvider.java133
-rw-r--r--rba.model.core.edit/src/rba/core/provider/MuchGreaterThanOperatorItemProvider.java101
-rw-r--r--rba.model.core.edit/src/rba/core/provider/NamedElementItemProvider.java114
-rw-r--r--rba.model.core.edit/src/rba/core/provider/NoneValueItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/NotOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/NullExpressionItemProvider.java108
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ObjectCompareItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ObjectCompareNotItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ObjectReferenceItemProvider.java117
-rw-r--r--rba.model.core.edit/src/rba/core/provider/OffSceneItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/OnSceneItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/OperatorItemProvider.java294
-rw-r--r--rba.model.core.edit/src/rba/core/provider/OrOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/PackagableElementItemProvider.java88
-rw-r--r--rba.model.core.edit/src/rba/core/provider/PackageItemProvider.java157
-rw-r--r--rba.model.core.edit/src/rba/core/provider/PlusOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/PreviousModifierItemProvider.java142
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ProjectItemProvider.java143
-rw-r--r--rba.model.core.edit/src/rba/core/provider/PropertyOperatorItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/RBACoreItemProviderAdapterFactory.java1726
-rw-r--r--rba.model.core.edit/src/rba/core/provider/RbaCoreEditPlugin.java79
-rw-r--r--rba.model.core.edit/src/rba/core/provider/RuleObjectItemProvider.java129
-rw-r--r--rba.model.core.edit/src/rba/core/provider/SceneItemProvider.java160
-rw-r--r--rba.model.core.edit/src/rba/core/provider/SceneOperatorItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/SelectOperatorItemProvider.java122
-rw-r--r--rba.model.core.edit/src/rba/core/provider/SetExpressionItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/SetOfOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/SetOperatorItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/SetPropertyItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/SizeOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/StandardValueItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/StateItemProvider.java96
-rw-r--r--rba.model.core.edit/src/rba/core/provider/StateValueItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/StereotypeItemProvider.java178
-rw-r--r--rba.model.core.edit/src/rba/core/provider/TagItemProvider.java132
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ThatOfOperatorItemProvider.java100
-rw-r--r--rba.model.core.edit/src/rba/core/provider/ValueExpressionItemProvider.java90
-rw-r--r--rba.model.core.edit/src/rba/core/provider/VariableItemProvider.java96
203 files changed, 15039 insertions, 0 deletions
diff --git a/rba.model.core.edit/.classpath b/rba.model.core.edit/.classpath
new file mode 100644
index 0000000..22f3064
--- /dev/null
+++ b/rba.model.core.edit/.classpath
@@ -0,0 +1,7 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" path="src"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8"/>
+ <classpathentry kind="con" path="org.eclipse.pde.core.requiredPlugins"/>
+ <classpathentry kind="output" path="bin"/>
+</classpath>
diff --git a/rba.model.core.edit/.project b/rba.model.core.edit/.project
new file mode 100644
index 0000000..f5acd5a
--- /dev/null
+++ b/rba.model.core.edit/.project
@@ -0,0 +1,28 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>rba.model.core.edit</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.ManifestBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.pde.SchemaBuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.eclipse.pde.PluginNature</nature>
+ </natures>
+</projectDescription>
diff --git a/rba.model.core.edit/META-INF/MANIFEST.MF b/rba.model.core.edit/META-INF/MANIFEST.MF
new file mode 100644
index 0000000..8a0c246
--- /dev/null
+++ b/rba.model.core.edit/META-INF/MANIFEST.MF
@@ -0,0 +1,15 @@
+Manifest-Version: 1.0
+Bundle-ManifestVersion: 2
+Bundle-Name: %pluginName
+Bundle-SymbolicName: rba.model.core.edit;singleton:=true
+Bundle-Version: 1.0.0.qualifier
+Bundle-ClassPath: .
+Bundle-Activator: rba.core.provider.RbaCoreEditPlugin$Implementation
+Bundle-Vendor: %providerName
+Bundle-Localization: plugin
+Bundle-RequiredExecutionEnvironment: JavaSE-1.8
+Export-Package: rba.core.provider
+Require-Bundle: org.eclipse.core.runtime,
+ rba.model.core;visibility:=reexport,
+ org.eclipse.emf.edit;visibility:=reexport
+Bundle-ActivationPolicy: lazy
diff --git a/rba.model.core.edit/build.properties b/rba.model.core.edit/build.properties
new file mode 100644
index 0000000..6e3e902
--- /dev/null
+++ b/rba.model.core.edit/build.properties
@@ -0,0 +1,10 @@
+#
+
+bin.includes = .,\
+ icons/,\
+ META-INF/,\
+ plugin.xml,\
+ plugin.properties
+jars.compile.order = .
+source.. = src/
+output.. = bin/
diff --git a/rba.model.core.edit/icons/full/obj16/ActivateContent.gif b/rba.model.core.edit/icons/full/obj16/ActivateContent.gif
new file mode 100644
index 0000000..a3908bc
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ActivateContent.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ActivateContentStateOperator.gif b/rba.model.core.edit/icons/full/obj16/ActivateContentStateOperator.gif
new file mode 100644
index 0000000..53500da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ActivateContentStateOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ActiveContents.gif b/rba.model.core.edit/icons/full/obj16/ActiveContents.gif
new file mode 100644
index 0000000..89ad5da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ActiveContents.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ActiveState.gif b/rba.model.core.edit/icons/full/obj16/ActiveState.gif
new file mode 100644
index 0000000..c00aedf
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ActiveState.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/AllocatedContent.gif b/rba.model.core.edit/icons/full/obj16/AllocatedContent.gif
new file mode 100644
index 0000000..89ad5da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/AllocatedContent.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/AndOperator.gif b/rba.model.core.edit/icons/full/obj16/AndOperator.gif
new file mode 100644
index 0000000..338fb8d
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/AndOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ArbitrationPolicyExpression.gif b/rba.model.core.edit/icons/full/obj16/ArbitrationPolicyExpression.gif
new file mode 100644
index 0000000..a3908bc
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ArbitrationPolicyExpression.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ComparisonAnd.gif b/rba.model.core.edit/icons/full/obj16/ComparisonAnd.gif
new file mode 100644
index 0000000..c414fe9
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ComparisonAnd.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ComplexExpression.gif b/rba.model.core.edit/icons/full/obj16/ComplexExpression.gif
new file mode 100644
index 0000000..cdd3b76
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ComplexExpression.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Constraint.gif b/rba.model.core.edit/icons/full/obj16/Constraint.gif
new file mode 100644
index 0000000..db7414e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Constraint.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ContentValue.gif b/rba.model.core.edit/icons/full/obj16/ContentValue.gif
new file mode 100644
index 0000000..f8041d2
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ContentValue.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/DeactivateContent.gif b/rba.model.core.edit/icons/full/obj16/DeactivateContent.gif
new file mode 100644
index 0000000..b1f8afa
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/DeactivateContent.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/DeactivateContentStateOperator.gif b/rba.model.core.edit/icons/full/obj16/DeactivateContentStateOperator.gif
new file mode 100644
index 0000000..498364f
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/DeactivateContentStateOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Defeats.gif b/rba.model.core.edit/icons/full/obj16/Defeats.gif
new file mode 100644
index 0000000..e4b530e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Defeats.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Displayed.gif b/rba.model.core.edit/icons/full/obj16/Displayed.gif
new file mode 100644
index 0000000..badaab0
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Displayed.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/EqualToOperator.gif b/rba.model.core.edit/icons/full/obj16/EqualToOperator.gif
new file mode 100644
index 0000000..89ad5da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/EqualToOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Event.gif b/rba.model.core.edit/icons/full/obj16/Event.gif
new file mode 100644
index 0000000..e4b530e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Event.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/EventProcessing.gif b/rba.model.core.edit/icons/full/obj16/EventProcessing.gif
new file mode 100644
index 0000000..7b7c428
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/EventProcessing.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ExclusiveOrOperator.gif b/rba.model.core.edit/icons/full/obj16/ExclusiveOrOperator.gif
new file mode 100644
index 0000000..7c2aaac
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ExclusiveOrOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ExistsOperator.gif b/rba.model.core.edit/icons/full/obj16/ExistsOperator.gif
new file mode 100644
index 0000000..90d10f9
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ExistsOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/FindStateMachine.gif b/rba.model.core.edit/icons/full/obj16/FindStateMachine.gif
new file mode 100644
index 0000000..c4a8af4
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/FindStateMachine.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ForAllOperator.gif b/rba.model.core.edit/icons/full/obj16/ForAllOperator.gif
new file mode 100644
index 0000000..53500da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ForAllOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/GetAllocatables.gif b/rba.model.core.edit/icons/full/obj16/GetAllocatables.gif
new file mode 100644
index 0000000..c8d381f
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/GetAllocatables.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/GetContentsList.gif b/rba.model.core.edit/icons/full/obj16/GetContentsList.gif
new file mode 100644
index 0000000..badaab0
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/GetContentsList.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/GetProperty.gif b/rba.model.core.edit/icons/full/obj16/GetProperty.gif
new file mode 100644
index 0000000..ea58a65
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/GetProperty.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/GetState.gif b/rba.model.core.edit/icons/full/obj16/GetState.gif
new file mode 100644
index 0000000..53500da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/GetState.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/GreaterThanOperator.gif b/rba.model.core.edit/icons/full/obj16/GreaterThanOperator.gif
new file mode 100644
index 0000000..136e3b2
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/GreaterThanOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Handler.gif b/rba.model.core.edit/icons/full/obj16/Handler.gif
new file mode 100644
index 0000000..134551b
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Handler.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/HasBeenDisplayed.gif b/rba.model.core.edit/icons/full/obj16/HasBeenDisplayed.gif
new file mode 100644
index 0000000..35ef84e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/HasBeenDisplayed.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/HasComeEarlierThan.gif b/rba.model.core.edit/icons/full/obj16/HasComeEarlierThan.gif
new file mode 100644
index 0000000..35ef84e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/HasComeEarlierThan.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/HasComeLaterThan.gif b/rba.model.core.edit/icons/full/obj16/HasComeLaterThan.gif
new file mode 100644
index 0000000..14af8aa
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/HasComeLaterThan.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IfActionOperator.gif b/rba.model.core.edit/icons/full/obj16/IfActionOperator.gif
new file mode 100644
index 0000000..7bac4fd
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IfActionOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IfStatement.gif b/rba.model.core.edit/icons/full/obj16/IfStatement.gif
new file mode 100644
index 0000000..35ef84e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IfStatement.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ImpliesOperator.gif b/rba.model.core.edit/icons/full/obj16/ImpliesOperator.gif
new file mode 100644
index 0000000..7b7c428
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ImpliesOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IntegerProperty.gif b/rba.model.core.edit/icons/full/obj16/IntegerProperty.gif
new file mode 100644
index 0000000..db7414e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IntegerProperty.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IntegerValue.gif b/rba.model.core.edit/icons/full/obj16/IntegerValue.gif
new file mode 100644
index 0000000..7b7c428
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IntegerValue.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsActive.gif b/rba.model.core.edit/icons/full/obj16/IsActive.gif
new file mode 100644
index 0000000..cb1755a
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsActive.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsAllocatedTo.gif b/rba.model.core.edit/icons/full/obj16/IsAllocatedTo.gif
new file mode 100644
index 0000000..ef56c14
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsAllocatedTo.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsCanceled.gif b/rba.model.core.edit/icons/full/obj16/IsCanceled.gif
new file mode 100644
index 0000000..ed87474
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsCanceled.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsChanged.gif b/rba.model.core.edit/icons/full/obj16/IsChanged.gif
new file mode 100644
index 0000000..c00aedf
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsChanged.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsDefeatedBy.gif b/rba.model.core.edit/icons/full/obj16/IsDefeatedBy.gif
new file mode 100644
index 0000000..10d2229
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsDefeatedBy.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsDisappeared.gif b/rba.model.core.edit/icons/full/obj16/IsDisappeared.gif
new file mode 100644
index 0000000..35ef84e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsDisappeared.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsEqualToOperator.gif b/rba.model.core.edit/icons/full/obj16/IsEqualToOperator.gif
new file mode 100644
index 0000000..2124f3e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsEqualToOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsGreaterThanEqualOperator.gif b/rba.model.core.edit/icons/full/obj16/IsGreaterThanEqualOperator.gif
new file mode 100644
index 0000000..45731fe
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsGreaterThanEqualOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsGreaterThanOperator.gif b/rba.model.core.edit/icons/full/obj16/IsGreaterThanOperator.gif
new file mode 100644
index 0000000..d3dc5a9
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsGreaterThanOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsLowerThanEqualOperator.gif b/rba.model.core.edit/icons/full/obj16/IsLowerThanEqualOperator.gif
new file mode 100644
index 0000000..a26660e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsLowerThanEqualOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsLowerThanOperator.gif b/rba.model.core.edit/icons/full/obj16/IsLowerThanOperator.gif
new file mode 100644
index 0000000..30f0c48
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsLowerThanOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsOn.gif b/rba.model.core.edit/icons/full/obj16/IsOn.gif
new file mode 100644
index 0000000..d3dc5a9
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsOn.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsRunningOperator.gif b/rba.model.core.edit/icons/full/obj16/IsRunningOperator.gif
new file mode 100644
index 0000000..d3dc5a9
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsRunningOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsStateOf.gif b/rba.model.core.edit/icons/full/obj16/IsStateOf.gif
new file mode 100644
index 0000000..10d2229
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsStateOf.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsTranslatedTo.gif b/rba.model.core.edit/icons/full/obj16/IsTranslatedTo.gif
new file mode 100644
index 0000000..83afb9b
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsTranslatedTo.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/IsTypeOf.gif b/rba.model.core.edit/icons/full/obj16/IsTypeOf.gif
new file mode 100644
index 0000000..48e3cf2
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/IsTypeOf.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/LambdaExpression.gif b/rba.model.core.edit/icons/full/obj16/LambdaExpression.gif
new file mode 100644
index 0000000..7c2aaac
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/LambdaExpression.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/LetStatement.gif b/rba.model.core.edit/icons/full/obj16/LetStatement.gif
new file mode 100644
index 0000000..b3643da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/LetStatement.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/LoserTypeExpression.gif b/rba.model.core.edit/icons/full/obj16/LoserTypeExpression.gif
new file mode 100644
index 0000000..53500da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/LoserTypeExpression.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/LowerThanOperator.gif b/rba.model.core.edit/icons/full/obj16/LowerThanOperator.gif
new file mode 100644
index 0000000..53500da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/LowerThanOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/MaxOperator.gif b/rba.model.core.edit/icons/full/obj16/MaxOperator.gif
new file mode 100644
index 0000000..4365960
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/MaxOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/MaxValue.gif b/rba.model.core.edit/icons/full/obj16/MaxValue.gif
new file mode 100644
index 0000000..30f0c48
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/MaxValue.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/MinOperator.gif b/rba.model.core.edit/icons/full/obj16/MinOperator.gif
new file mode 100644
index 0000000..9041598
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/MinOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/MinValue.gif b/rba.model.core.edit/icons/full/obj16/MinValue.gif
new file mode 100644
index 0000000..53500da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/MinValue.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/MuchGreaterThanOperator.gif b/rba.model.core.edit/icons/full/obj16/MuchGreaterThanOperator.gif
new file mode 100644
index 0000000..2124f3e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/MuchGreaterThanOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/NoneValue.gif b/rba.model.core.edit/icons/full/obj16/NoneValue.gif
new file mode 100644
index 0000000..498364f
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/NoneValue.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/NotOperator.gif b/rba.model.core.edit/icons/full/obj16/NotOperator.gif
new file mode 100644
index 0000000..b3643da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/NotOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/NullExpression.gif b/rba.model.core.edit/icons/full/obj16/NullExpression.gif
new file mode 100644
index 0000000..30f0c48
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/NullExpression.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ObjectCompare.gif b/rba.model.core.edit/icons/full/obj16/ObjectCompare.gif
new file mode 100644
index 0000000..35ef84e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ObjectCompare.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ObjectCompareNot.gif b/rba.model.core.edit/icons/full/obj16/ObjectCompareNot.gif
new file mode 100644
index 0000000..d3dc5a9
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ObjectCompareNot.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ObjectReference.gif b/rba.model.core.edit/icons/full/obj16/ObjectReference.gif
new file mode 100644
index 0000000..4365960
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ObjectReference.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/OffScene.gif b/rba.model.core.edit/icons/full/obj16/OffScene.gif
new file mode 100644
index 0000000..c00aedf
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/OffScene.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/OnScene.gif b/rba.model.core.edit/icons/full/obj16/OnScene.gif
new file mode 100644
index 0000000..33a997a
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/OnScene.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/OpaqueAction.gif b/rba.model.core.edit/icons/full/obj16/OpaqueAction.gif
new file mode 100644
index 0000000..cb1755a
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/OpaqueAction.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/OrOperator.gif b/rba.model.core.edit/icons/full/obj16/OrOperator.gif
new file mode 100644
index 0000000..b1f8afa
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/OrOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Package.gif b/rba.model.core.edit/icons/full/obj16/Package.gif
new file mode 100644
index 0000000..c00aedf
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Package.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/PlusOperator.gif b/rba.model.core.edit/icons/full/obj16/PlusOperator.gif
new file mode 100644
index 0000000..89ad5da
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/PlusOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/PostConstraint.gif b/rba.model.core.edit/icons/full/obj16/PostConstraint.gif
new file mode 100644
index 0000000..30f0c48
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/PostConstraint.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/PreviousModifier.gif b/rba.model.core.edit/icons/full/obj16/PreviousModifier.gif
new file mode 100644
index 0000000..d3dc5a9
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/PreviousModifier.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Project.gif b/rba.model.core.edit/icons/full/obj16/Project.gif
new file mode 100644
index 0000000..7bac4fd
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Project.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Rule.gif b/rba.model.core.edit/icons/full/obj16/Rule.gif
new file mode 100644
index 0000000..cdd3b76
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Rule.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Scene.gif b/rba.model.core.edit/icons/full/obj16/Scene.gif
new file mode 100644
index 0000000..badaab0
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Scene.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/SelectOperator.gif b/rba.model.core.edit/icons/full/obj16/SelectOperator.gif
new file mode 100644
index 0000000..2124f3e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/SelectOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/SetOfOperator.gif b/rba.model.core.edit/icons/full/obj16/SetOfOperator.gif
new file mode 100644
index 0000000..c8d381f
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/SetOfOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/SetProperty.gif b/rba.model.core.edit/icons/full/obj16/SetProperty.gif
new file mode 100644
index 0000000..94c953e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/SetProperty.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/SetState.gif b/rba.model.core.edit/icons/full/obj16/SetState.gif
new file mode 100644
index 0000000..d92f34c
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/SetState.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/SizeOperator.gif b/rba.model.core.edit/icons/full/obj16/SizeOperator.gif
new file mode 100644
index 0000000..33854e9
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/SizeOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/StandardValue.gif b/rba.model.core.edit/icons/full/obj16/StandardValue.gif
new file mode 100644
index 0000000..c414fe9
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/StandardValue.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/State.gif b/rba.model.core.edit/icons/full/obj16/State.gif
new file mode 100644
index 0000000..cb1755a
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/State.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/StateMachine.gif b/rba.model.core.edit/icons/full/obj16/StateMachine.gif
new file mode 100644
index 0000000..badaab0
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/StateMachine.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/StateValue.gif b/rba.model.core.edit/icons/full/obj16/StateValue.gif
new file mode 100644
index 0000000..a3908bc
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/StateValue.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Stereotype.gif b/rba.model.core.edit/icons/full/obj16/Stereotype.gif
new file mode 100644
index 0000000..94c953e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Stereotype.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Tag.gif b/rba.model.core.edit/icons/full/obj16/Tag.gif
new file mode 100644
index 0000000..d3dc5a9
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Tag.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/ThatOfOperator.gif b/rba.model.core.edit/icons/full/obj16/ThatOfOperator.gif
new file mode 100644
index 0000000..f8041d2
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/ThatOfOperator.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Transition.gif b/rba.model.core.edit/icons/full/obj16/Transition.gif
new file mode 100644
index 0000000..7bac4fd
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Transition.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Undisplayed.gif b/rba.model.core.edit/icons/full/obj16/Undisplayed.gif
new file mode 100644
index 0000000..db7414e
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Undisplayed.gif
Binary files differ
diff --git a/rba.model.core.edit/icons/full/obj16/Variable.gif b/rba.model.core.edit/icons/full/obj16/Variable.gif
new file mode 100644
index 0000000..83afb9b
--- /dev/null
+++ b/rba.model.core.edit/icons/full/obj16/Variable.gif
Binary files differ
diff --git a/rba.model.core.edit/plugin.properties b/rba.model.core.edit/plugin.properties
new file mode 100644
index 0000000..d2590ab
--- /dev/null
+++ b/rba.model.core.edit/plugin.properties
@@ -0,0 +1,227 @@
+#
+
+pluginName = RBA Tool RBACore Edit Support
+providerName =DENSO CORPORATION
+
+
+_UI_CreateChild_text = {0}
+_UI_CreateChild_text2 = {1} {0}
+_UI_CreateChild_text3 = {1}
+_UI_CreateChild_tooltip = Create New {0} Under {1} Feature
+_UI_CreateChild_description = Create a new child of type {0} for the {1} feature of the selected {2}.
+_UI_CreateSibling_description = Create a new sibling of type {0} for the selected {2}, under the {1} feature of their parent.
+
+_UI_PropertyDescriptor_description = The {0} of the {1}
+
+_UI_ModelElement_type = Model Element
+_UI_NamedElement_type = Named Element
+_UI_Allocatable_type = Allocatable
+_UI_Project_type = Project
+_UI_PackagableElement_type = Packagable Element
+_UI_Package_type = Package
+_UI_RuleObject_type = Rule Object
+_UI_AbstractContent_type = Abstract Content
+_UI_AbstractScene_type = Abstract Scene
+_UI_Scene_type = Scene
+_UI_Content_type = Content
+_UI_ContentSet_type = Content Set
+_UI_ContentState_type = Content State
+_UI_AbstractProperty_type = Abstract Property
+_UI_IntegerProperty_type = Integer Property
+_UI_AbstractConstraint_type = Abstract Constraint
+_UI_Constraint_type = Constraint
+_UI_Expression_type = Expression
+_UI_Operator_type = Operator
+_UI_ObjectReference_type = Object Reference
+_UI_PreviousModifier_type = Previous Modifier
+_UI_GreaterThanOperator_type = Greater Than Operator
+_UI_MuchGreaterThanOperator_type = Much Greater Than Operator
+_UI_LowerThanOperator_type = Lower Than Operator
+_UI_ComparisonOperator_type = Comparison Operator
+_UI_EqualToOperator_type = Equal To Operator
+_UI_ComparisonAnd_type = Comparison And
+_UI_LogicalOperator_type = Logical Operator
+_UI_AndOperator_type = And Operator
+_UI_OrOperator_type = Or Operator
+_UI_NotOperator_type = Not Operator
+_UI_ExclusiveOrOperator_type = Exclusive Or Operator
+_UI_IsEqualToOperator_type = Is Equal To Operator
+_UI_IsGreaterThanOperator_type = Is Greater Than Operator
+_UI_IsLowerThanOperator_type = Is Lower Than Operator
+_UI_IsGreaterThanEqualOperator_type = Is Greater Than Equal Operator
+_UI_IsLowerThanEqualOperator_type = Is Lower Than Equal Operator
+_UI_ArithmeticOperator_type = Arithmetic Operator
+_UI_PlusOperator_type = Plus Operator
+_UI_ImpliesOperator_type = Implies Operator
+_UI_ContentOperator_type = Content Operator
+_UI_IsActive_type = Is Active
+_UI_GetAllocatables_type = Get Allocatables
+_UI_IsDefeatedBy_type = Is Defeated By
+_UI_Defeats_type = Defeats
+_UI_IsDisappeared_type = Is Disappeared
+_UI_IsCanceled_type = Is Canceled
+_UI_ObjectCompare_type = Object Compare
+_UI_ThatOfOperator_type = That Of Operator
+_UI_ValueExpression_type = Value Expression
+_UI_MaxValue_type = Max Value
+_UI_MinValue_type = Min Value
+_UI_NoneValue_type = None Value
+_UI_StandardValue_type = Standard Value
+_UI_IntegerValue_type = Integer Value
+_UI_SetExpression_type = Set Expression
+_UI_SetOperator_type = Set Operator
+_UI_ExistsOperator_type = Exists Operator
+_UI_ForAllOperator_type = For All Operator
+_UI_SetOfOperator_type = Set Of Operator
+_UI_LambdaExpression_type = Lambda Expression
+_UI_Variable_type = Variable
+_UI_LambdaContext_type = Lambda Context
+_UI_IfStatement_type = If Statement
+_UI_SceneOperator_type = Scene Operator
+_UI_IsOn_type = Is On
+_UI_AllocatableOperator_type = Allocatable Operator
+_UI_ContentValue_type = Content Value
+_UI_GetContentsList_type = Get Contents List
+_UI_PropertyOperator_type = Property Operator
+_UI_SetSceneProperty_type = Set Scene Property
+_UI_GetSceneProperty_type = Get Scene Property
+_UI_OffScene_type = Off Scene
+_UI_OnScene_type = On Scene
+_UI_ActivateContent_type = Activate Content
+_UI_OpaqueAction_type = Opaque Action
+_UI_DeactivateContent_type = Deactivate Content
+_UI_Unknown_type = Object
+
+_UI_Unknown_datatype= Value
+
+_UI_ModelElement_description_feature = Description
+_UI_NamedElement_name_feature = Name
+_UI_Allocatable_contents_feature = Contents
+_UI_Package_packagableelement_feature = Packagableelement
+_UI_Scene_global_feature = Global
+_UI_Scene_properties_feature = Properties
+_UI_Content_loserType_feature = Loser Type
+_UI_Content_states_feature = States
+_UI_Content_allocatable_feature = Allocatable
+_UI_ContentSet_target_feature = Target
+_UI_ContentState_value_feature = Value
+_UI_ContentState_owner_feature = Owner
+_UI_ContentState_infoAmount_feature = Info Amount
+_UI_AbstractProperty_owner_feature = Owner
+_UI_IntegerProperty_value_feature = Value
+_UI_AbstractConstraint_expression_feature = Expression
+_UI_Constraint_runtime_feature = Runtime
+_UI_Expression_type_feature = Type
+_UI_Expression_expression_feature = Expression
+_UI_Operator_operand_feature = Operand
+_UI_ObjectReference_refObject_feature = Ref Object
+_UI_PreviousModifier_objReference_feature = Obj Reference
+_UI_IntegerValue_value_feature = Value
+_UI_LambdaExpression_context_feature = Context
+_UI_LambdaExpression_x_feature = X
+_UI_LambdaExpression_bodyText_feature = Body Text
+_UI_Variable_type_feature = Type
+_UI_LambdaContext_lambda_feature = Lambda
+_UI_IfStatement_condition_feature = Condition
+_UI_IfStatement_thenExpression_feature = Then Expression
+_UI_IfStatement_elseExpression_feature = Else Expression
+_UI_State_contentState_feature = Content State
+_UI_ActivateContent_target_feature = Target
+_UI_DeactivateContent_target_feature = Target
+_UI_Unknown_feature = Unspecified
+
+_UI_ArbitrationPolicy_DEFAULT_literal = DEFAULT
+_UI_ArbitrationPolicy_LAST_COME_FIRST_literal = LAST_COME_FIRST
+_UI_ArbitrationPolicy_FIRST_COME_FIRST_literal = FIRST_COME_FIRST
+_UI_InfoAmount_IN_A_BLINK_literal = IN_A_BLINK
+_UI_InfoAmount_A_NUMBER_literal = A_NUMBER
+_UI_InfoAmount_SIMPLE_PICTURE_literal = SIMPLE_PICTURE
+_UI_InfoAmount_SHORT_SENTENCE_literal = SHORT_SENTENCE
+_UI_InfoAmount_COMPLEX_PICTURE_literal = COMPLEX_PICTURE
+_UI_InfoAmount_LONG_SENTENCE_literal = LONG_SENTENCE
+_UI_ExpressionType_VALUE_literal = VALUE
+_UI_ExpressionType_BOOLEAN_literal = BOOLEAN
+_UI_ExpressionType_AREA_literal = AREA
+_UI_ExpressionType_CONTENT_literal = CONTENT
+_UI_ExpressionType_SET_OF_AREA_literal = SET_OF_AREA
+_UI_ExpressionType_SET_OF_CONTENT_literal = SET_OF_CONTENT
+_UI_ExpressionType_LAMBDA_literal = LAMBDA
+_UI_ExpressionType_SCENE_literal = SCENE
+_UI_ExpressionType_ZONE_literal = ZONE
+_UI_ExpressionType_SET_OF_ZONE_literal = SET_OF_ZONE
+_UI_ExpressionType_SOUND_literal = SOUND
+_UI_ExpressionType_SET_OF_SOUND_literal = SET_OF_SOUND
+_UI_ExpressionType_PROPERTY_literal = PROPERTY
+_UI_LoserType_NEVER_GIVEUP_literal = NEVER_GIVEUP
+_UI_LoserType_GOOD_LOSER_literal = GOOD_LOSER
+_UI_LoserType_DO_NOT_GIVEUP_UNTIL_WIN_literal = DO_NOT_GIVEUP_UNTIL_WIN
+_UI_State_children_feature = Children
+_UI_SetProperty_type = Set Property
+_UI_GetProperty_type = Get Property
+_UI_AbstractAllocatable_type = Abstract Allocatable
+_UI_AllocatableSet_type = Allocatable Set
+_UI_AllocatedContent_type = Allocated Content
+_UI_AbstractAllocatable_contents_feature = Contents
+_UI_AbstractAllocatable_group_feature = Group
+_UI_AllocatableSet_target_feature = Target
+_UI_Allocatable_arbitrationPolicy_feature = Arbitration Policy
+_UI_Allocatable_visibility_feature = Visibility
+_UI_Allocatable_visibilityValue_feature = Visibility Value
+_UI_ArbitrationPolicy_PRIORITY_FIRST_COME_FIRST_literal = PRIORITY_FIRST_COME_FIRST
+_UI_ArbitrationPolicy_PRIORITY_LAST_COME_FIRST_literal = PRIORITY_LAST_COME_FIRST
+_UI_AbstractContent_group_feature = Group
+_UI_AbstractContent_allocatable_feature = Allocatable
+_UI_Stereotype_type = Stereotype
+_UI_Tag_type = Tag
+_UI_ClosureExpression_type = Closure Expression
+_UI_VariableDeclaration_type = Variable Declaration
+_UI_IsTypeOf_type = Is Type Of
+_UI_HasBeenDisplayed_type = Has Been Displayed
+_UI_HasBeenCanceled_type = Has Been Canceled
+_UI_ActiveState_type = Active State
+_UI_EnumExpression_type = Enum Expression
+_UI_LoserTypeExpression_type = Loser Type Expression
+_UI_ArbitrationPolicyExpression_type = Arbitration Policy Expression
+_UI_SizeOperator_type = Size Operator
+_UI_MaxOperator_type = Max Operator
+_UI_MinOperator_type = Min Operator
+_UI_SelectOperator_type = Select Operator
+_UI_ActiveContents_type = Active Contents
+_UI_StateValue_type = State Value
+_UI_HasComeLaterThan_type = Has Come Later Than
+_UI_HasComeEarlierThan_type = Has Come Earlier Than
+_UI_SugarExpression_type = Sugar Expression
+_UI_SugarExpressionBase_type = Sugar Expression Base
+_UI_ObjectCompareNot_type = Object Compare Not
+_UI_IsAllocatedTo_type = Is Allocated To
+_UI_IsChanged_type = Is Changed
+_UI_IsTranslatedTo_type = Is Translated To
+_UI_GetState_type = Get State
+_UI_SetState_type = Set State
+_UI_AbstractAllocatable_allocatableGroup_feature = Allocatable Group
+_UI_Stereotype_targetModelName_feature = Target Model Name
+_UI_Stereotype_bodyText_feature = Body Text
+_UI_Stereotype_variables_feature = Variables
+_UI_Tag_stereotype_feature = Stereotype
+_UI_Tag_values_feature = Values
+_UI_RuleObject_tags_feature = Tags
+_UI_AbstractContent_contentGroup_feature = Content Group
+_UI_ClosureExpression_expressions_feature = Expressions
+_UI_VariableDeclaration_value_feature = Value
+_UI_LoserTypeExpression_value_feature = Value
+_UI_ArbitrationPolicyExpression_value_feature = Value
+_UI_ExpressionType_CONTENT_STATE_literal = CONTENT_STATE
+_UI_ExpressionType_ENUM_literal = ENUM
+_UI_ContentStateOperator_type = Content State Operator
+_UI_ExpressionType_TIMER_literal = TIMER
+_UI_LetStatement_type = Let Statement
+_UI_Expression_letStatements_feature = Let Statements
+_UI_LetStatement_variable_feature = Variable
+_UI_LetStatement_body_feature = Body
+_UI_ComplexExpression_type = Complex Expression
+_UI_ComplexExpression_otherExpression_feature = Other Expression
+_UI_IsTypeOf_tagName_feature = Tag Name
+_UI_NullExpression_type = Null Expression
+_UI_ExpressionType_NULL_literal = NULL
+_UI_Project_version_feature = Version
+_UI_Project_dummyName_feature = Dummy Name
diff --git a/rba.model.core.edit/plugin.xml b/rba.model.core.edit/plugin.xml
new file mode 100644
index 0000000..7e0655f
--- /dev/null
+++ b/rba.model.core.edit/plugin.xml
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<?eclipse version="3.0"?>
+
+<!--
+-->
+
+<plugin>
+
+ <extension point="org.eclipse.emf.edit.itemProviderAdapterFactories">
+ <!-- @generated rbacore -->
+ <factory
+ uri="http://www.denso.com/ict/rba/core"
+ class="rba.core.provider.RBACoreItemProviderAdapterFactory"
+ supportedTypes=
+ "org.eclipse.emf.edit.provider.IEditingDomainItemProvider
+ org.eclipse.emf.edit.provider.IStructuredItemContentProvider
+ org.eclipse.emf.edit.provider.ITreeItemContentProvider
+ org.eclipse.emf.edit.provider.IItemLabelProvider
+ org.eclipse.emf.edit.provider.IItemPropertySource"/>
+ </extension>
+
+</plugin>
diff --git a/rba.model.core.edit/src/rba/core/provider/AbstractAllocatableItemProvider.java b/rba.model.core.edit/src/rba/core/provider/AbstractAllocatableItemProvider.java
new file mode 100644
index 0000000..952b3cd
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/AbstractAllocatableItemProvider.java
@@ -0,0 +1,121 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.AbstractAllocatable;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.AbstractAllocatable} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class AbstractAllocatableItemProvider extends RuleObjectItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public AbstractAllocatableItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addContentsPropertyDescriptor(object);
+ addAllocatableGroupPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Contents feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addContentsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_AbstractAllocatable_contents_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AbstractAllocatable_contents_feature",
+ "_UI_AbstractAllocatable_type"),
+ RBACorePackage.Literals.ABSTRACT_ALLOCATABLE__CONTENTS, true, false, true, null, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Allocatable Group feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addAllocatableGroupPropertyDescriptor(Object object) {
+ itemPropertyDescriptors.add(createItemPropertyDescriptor(
+ ((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(), getResourceLocator(),
+ getString("_UI_AbstractAllocatable_allocatableGroup_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AbstractAllocatable_allocatableGroup_feature",
+ "_UI_AbstractAllocatable_type"),
+ RBACorePackage.Literals.ABSTRACT_ALLOCATABLE__ALLOCATABLE_GROUP, true, false, true, null, null, null));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((AbstractAllocatable) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_AbstractAllocatable_type")
+ : getString("_UI_AbstractAllocatable_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/AbstractConstraintItemProvider.java b/rba.model.core.edit/src/rba/core/provider/AbstractConstraintItemProvider.java
new file mode 100644
index 0000000..ccdac09
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/AbstractConstraintItemProvider.java
@@ -0,0 +1,292 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.AbstractConstraint;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.AbstractConstraint} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class AbstractConstraintItemProvider extends PackagableElementItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public AbstractConstraintItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((AbstractConstraint) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_AbstractConstraint_type")
+ : getString("_UI_AbstractConstraint_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(AbstractConstraint.class)) {
+ case RBACorePackage.ABSTRACT_CONSTRAINT__EXPRESSION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createComplexExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsTypeOf()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createPreviousModifier()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMuchGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createComparisonAnd()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createAndOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createOrOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNotOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsLowerThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createPlusOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createImpliesOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsActive()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetAllocatables()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasBeenDisplayed()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createActiveState()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectCompare()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createThatOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMaxValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMinValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNoneValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createStandardValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIntegerValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLoserTypeExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createArbitrationPolicyExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSizeOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createExistsOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createForAllOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMaxOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMinOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSelectOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSetOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIfStatement()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsOn()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createAllocatedContent()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createContentValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetContentsList()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createActiveContents()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createStateValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasComeLaterThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasComeEarlierThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectCompareNot()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsAllocatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsChanged()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsTranslatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ABSTRACT_CONSTRAINT__EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNullExpression()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/AbstractContentItemProvider.java b/rba.model.core.edit/src/rba/core/provider/AbstractContentItemProvider.java
new file mode 100644
index 0000000..5300157
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/AbstractContentItemProvider.java
@@ -0,0 +1,120 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.AbstractContent;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.AbstractContent} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class AbstractContentItemProvider extends RuleObjectItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public AbstractContentItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addContentGroupPropertyDescriptor(object);
+ addAllocatablePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Content Group feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addContentGroupPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_AbstractContent_contentGroup_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AbstractContent_contentGroup_feature",
+ "_UI_AbstractContent_type"),
+ RBACorePackage.Literals.ABSTRACT_CONTENT__CONTENT_GROUP, true, false, true, null, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Allocatable feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addAllocatablePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_AbstractContent_allocatable_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AbstractContent_allocatable_feature",
+ "_UI_AbstractContent_type"),
+ RBACorePackage.Literals.ABSTRACT_CONTENT__ALLOCATABLE, true, false, true, null, null, null));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((AbstractContent) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_AbstractContent_type")
+ : getString("_UI_AbstractContent_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/AbstractPropertyItemProvider.java b/rba.model.core.edit/src/rba/core/provider/AbstractPropertyItemProvider.java
new file mode 100644
index 0000000..0392eb4
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/AbstractPropertyItemProvider.java
@@ -0,0 +1,105 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.AbstractProperty;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.AbstractProperty} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class AbstractPropertyItemProvider extends RuleObjectItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public AbstractPropertyItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addOwnerPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Owner feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addOwnerPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_AbstractProperty_owner_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AbstractProperty_owner_feature",
+ "_UI_AbstractProperty_type"),
+ RBACorePackage.Literals.ABSTRACT_PROPERTY__OWNER, true, false, true, null, null, null));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((AbstractProperty) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_AbstractProperty_type")
+ : getString("_UI_AbstractProperty_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/AbstractSceneItemProvider.java b/rba.model.core.edit/src/rba/core/provider/AbstractSceneItemProvider.java
new file mode 100644
index 0000000..cdba21d
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/AbstractSceneItemProvider.java
@@ -0,0 +1,88 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.AbstractScene;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.AbstractScene} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class AbstractSceneItemProvider extends RuleObjectItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public AbstractSceneItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((AbstractScene) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_AbstractScene_type")
+ : getString("_UI_AbstractScene_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ActionOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ActionOperatorItemProvider.java
new file mode 100644
index 0000000..c3ae25d
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ActionOperatorItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ActionOperator;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ActionOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ActionOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ActionOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ActionOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ActionOperator_type")
+ : getString("_UI_ActionOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ActiveContentsItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ActiveContentsItemProvider.java
new file mode 100644
index 0000000..d8c7ee5
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ActiveContentsItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ActiveContents;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ActiveContents} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ActiveContentsItemProvider extends AllocatableOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ActiveContentsItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns ActiveContents.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ActiveContents"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ActiveContents) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ActiveContents_type")
+ : getString("_UI_ActiveContents_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ActiveStateItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ActiveStateItemProvider.java
new file mode 100644
index 0000000..1b97f0d
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ActiveStateItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ActiveState;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ActiveState} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ActiveStateItemProvider extends ContentOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ActiveStateItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns ActiveState.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ActiveState"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ActiveState) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ActiveState_type")
+ : getString("_UI_ActiveState_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/AllocatableItemProvider.java b/rba.model.core.edit/src/rba/core/provider/AllocatableItemProvider.java
new file mode 100644
index 0000000..7d40819
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/AllocatableItemProvider.java
@@ -0,0 +1,311 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import rba.core.Allocatable;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Allocatable} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class AllocatableItemProvider extends AbstractAllocatableItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public AllocatableItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addArbitrationPolicyPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Arbitration Policy feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addArbitrationPolicyPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Allocatable_arbitrationPolicy_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Allocatable_arbitrationPolicy_feature",
+ "_UI_Allocatable_type"),
+ RBACorePackage.Literals.ALLOCATABLE__ARBITRATION_POLICY, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Allocatable) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_Allocatable_type")
+ : getString("_UI_Allocatable_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Allocatable.class)) {
+ case RBACorePackage.ALLOCATABLE__ARBITRATION_POLICY:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case RBACorePackage.ALLOCATABLE__VISIBILITY:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createComplexExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsTypeOf()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createPreviousModifier()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createMuchGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createComparisonAnd()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createAndOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createOrOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createNotOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsLowerThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createPlusOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createImpliesOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsActive()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createGetAllocatables()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createHasBeenDisplayed()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createActiveState()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createObjectCompare()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createThatOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createMaxValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createMinValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createNoneValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createStandardValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIntegerValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createLoserTypeExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createArbitrationPolicyExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createSizeOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createExistsOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createForAllOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createMaxOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createMinOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createSelectOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createSetOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIfStatement()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsOn()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createAllocatedContent()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createContentValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createGetContentsList()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createActiveContents()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createGetProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createStateValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createHasComeLaterThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createHasComeEarlierThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createObjectCompareNot()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsAllocatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsChanged()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createIsTranslatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.ALLOCATABLE__VISIBILITY,
+ RBACoreFactory.eINSTANCE.createNullExpression()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/AllocatableOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/AllocatableOperatorItemProvider.java
new file mode 100644
index 0000000..a7e1082
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/AllocatableOperatorItemProvider.java
@@ -0,0 +1,91 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.AllocatableOperator;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.AllocatableOperator} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class AllocatableOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public AllocatableOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((AllocatableOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_AllocatableOperator_type")
+ : getString("_UI_AllocatableOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/AllocatableSetItemProvider.java b/rba.model.core.edit/src/rba/core/provider/AllocatableSetItemProvider.java
new file mode 100644
index 0000000..9c01f4b
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/AllocatableSetItemProvider.java
@@ -0,0 +1,105 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.AllocatableSet;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.AllocatableSet} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class AllocatableSetItemProvider extends AbstractAllocatableItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public AllocatableSetItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTargetPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Target feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTargetPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_AllocatableSet_target_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_AllocatableSet_target_feature",
+ "_UI_AllocatableSet_type"),
+ RBACorePackage.Literals.ALLOCATABLE_SET__TARGET, true, false, true, null, null, null));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((AllocatableSet) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_AllocatableSet_type")
+ : getString("_UI_AllocatableSet_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/AllocatedContentItemProvider.java b/rba.model.core.edit/src/rba/core/provider/AllocatedContentItemProvider.java
new file mode 100644
index 0000000..b06a025
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/AllocatedContentItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.AllocatedContent;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.AllocatedContent} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class AllocatedContentItemProvider extends AllocatableOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public AllocatedContentItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns AllocatedContent.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/AllocatedContent"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((AllocatedContent) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_AllocatedContent_type")
+ : getString("_UI_AllocatedContent_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/AndOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/AndOperatorItemProvider.java
new file mode 100644
index 0000000..d76a288
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/AndOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.AndOperator;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.AndOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class AndOperatorItemProvider extends LogicalOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public AndOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns AndOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/AndOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((AndOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_AndOperator_type")
+ : getString("_UI_AndOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ArbitrationPolicyExpressionItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ArbitrationPolicyExpressionItemProvider.java
new file mode 100644
index 0000000..c39be72
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ArbitrationPolicyExpressionItemProvider.java
@@ -0,0 +1,127 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ArbitrationPolicyExpression;
+import rba.core.ExpressionType;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ArbitrationPolicyExpression} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class ArbitrationPolicyExpressionItemProvider extends EnumExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ArbitrationPolicyExpressionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_ArbitrationPolicyExpression_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ArbitrationPolicyExpression_value_feature",
+ "_UI_ArbitrationPolicyExpression_type"),
+ RBACorePackage.Literals.ARBITRATION_POLICY_EXPRESSION__VALUE, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This returns ArbitrationPolicyExpression.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ArbitrationPolicyExpression"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ArbitrationPolicyExpression) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ArbitrationPolicyExpression_type")
+ : getString("_UI_ArbitrationPolicyExpression_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ArbitrationPolicyExpression.class)) {
+ case RBACorePackage.ARBITRATION_POLICY_EXPRESSION__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ArithmeticOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ArithmeticOperatorItemProvider.java
new file mode 100644
index 0000000..32403a0
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ArithmeticOperatorItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ArithmeticOperator;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ArithmeticOperator} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class ArithmeticOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ArithmeticOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ArithmeticOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ArithmeticOperator_type")
+ : getString("_UI_ArithmeticOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ComparisonAndItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ComparisonAndItemProvider.java
new file mode 100644
index 0000000..7d92367
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ComparisonAndItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ComparisonAnd;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ComparisonAnd} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ComparisonAndItemProvider extends ComparisonOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ComparisonAndItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns ComparisonAnd.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ComparisonAnd"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ComparisonAnd) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ComparisonAnd_type")
+ : getString("_UI_ComparisonAnd_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ComparisonOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ComparisonOperatorItemProvider.java
new file mode 100644
index 0000000..25307b2
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ComparisonOperatorItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ComparisonOperator;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ComparisonOperator} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class ComparisonOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ComparisonOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ComparisonOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ComparisonOperator_type")
+ : getString("_UI_ComparisonOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ComplexExpressionItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ComplexExpressionItemProvider.java
new file mode 100644
index 0000000..2f7765c
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ComplexExpressionItemProvider.java
@@ -0,0 +1,304 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ComplexExpression;
+import rba.core.ExpressionType;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ComplexExpression} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class ComplexExpressionItemProvider extends ExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ComplexExpressionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns ComplexExpression.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ComplexExpression"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ComplexExpression) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ComplexExpression_type")
+ : getString("_UI_ComplexExpression_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ComplexExpression.class)) {
+ case RBACorePackage.COMPLEX_EXPRESSION__OTHER_EXPRESSION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createComplexExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsTypeOf()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createPreviousModifier()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMuchGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createComparisonAnd()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createAndOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createOrOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNotOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsLowerThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createPlusOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createImpliesOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsActive()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetAllocatables()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasBeenDisplayed()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createActiveState()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectCompare()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createThatOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMaxValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMinValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNoneValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createStandardValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIntegerValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLoserTypeExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createArbitrationPolicyExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSizeOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createExistsOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createForAllOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMaxOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMinOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSelectOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSetOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIfStatement()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsOn()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createAllocatedContent()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createContentValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetContentsList()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createActiveContents()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createStateValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasComeLaterThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasComeEarlierThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectCompareNot()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsAllocatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsChanged()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsTranslatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.COMPLEX_EXPRESSION__OTHER_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNullExpression()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ConstraintItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ConstraintItemProvider.java
new file mode 100644
index 0000000..3970918
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ConstraintItemProvider.java
@@ -0,0 +1,124 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.Constraint;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Constraint} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ConstraintItemProvider extends AbstractConstraintItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ConstraintItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addRuntimePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Runtime feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addRuntimePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Constraint_runtime_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Constraint_runtime_feature",
+ "_UI_Constraint_type"),
+ RBACorePackage.Literals.CONSTRAINT__RUNTIME, true, false, false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This returns Constraint.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Constraint"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Constraint) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_Constraint_type")
+ : getString("_UI_Constraint_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Constraint.class)) {
+ case RBACorePackage.CONSTRAINT__RUNTIME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ContentItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ContentItemProvider.java
new file mode 100644
index 0000000..76b20c3
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ContentItemProvider.java
@@ -0,0 +1,147 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.Content;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Content} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ContentItemProvider extends AbstractContentItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ContentItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addLoserTypePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Loser Type feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addLoserTypePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Content_loserType_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Content_loserType_feature",
+ "_UI_Content_type"),
+ RBACorePackage.Literals.CONTENT__LOSER_TYPE, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.CONTENT__STATES);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Content) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_Content_type")
+ : getString("_UI_Content_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Content.class)) {
+ case RBACorePackage.CONTENT__LOSER_TYPE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case RBACorePackage.CONTENT__STATES:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ContentOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ContentOperatorItemProvider.java
new file mode 100644
index 0000000..4fb121f
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ContentOperatorItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ContentOperator;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ContentOperator} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class ContentOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ContentOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ContentOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ContentOperator_type")
+ : getString("_UI_ContentOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ContentSetItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ContentSetItemProvider.java
new file mode 100644
index 0000000..f28822a
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ContentSetItemProvider.java
@@ -0,0 +1,105 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ContentSet;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ContentSet} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ContentSetItemProvider extends AbstractContentItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ContentSetItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTargetPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Target feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTargetPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_ContentSet_target_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ContentSet_target_feature",
+ "_UI_ContentSet_type"),
+ RBACorePackage.Literals.CONTENT_SET__TARGET, true, false, true, null, null, null));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ContentSet) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_ContentSet_type")
+ : getString("_UI_ContentSet_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ContentStateItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ContentStateItemProvider.java
new file mode 100644
index 0000000..03f01cc
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ContentStateItemProvider.java
@@ -0,0 +1,291 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ContentState;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ContentState} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ContentStateItemProvider extends RuleObjectItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ContentStateItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.CONTENT_STATE__VALUE);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ContentState) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_ContentState_type")
+ : getString("_UI_ContentState_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ContentState.class)) {
+ case RBACorePackage.CONTENT_STATE__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createComplexExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsTypeOf()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createPreviousModifier()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createMuchGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createComparisonAnd()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createAndOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createOrOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createNotOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsLowerThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createPlusOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createImpliesOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsActive()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createGetAllocatables()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createHasBeenDisplayed()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createActiveState()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createObjectCompare()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createThatOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createMaxValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createMinValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createNoneValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createStandardValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIntegerValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createLoserTypeExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createArbitrationPolicyExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createSizeOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createExistsOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createForAllOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createMaxOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createMinOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createSelectOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createSetOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIfStatement()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsOn()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createAllocatedContent()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createContentValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createGetContentsList()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createActiveContents()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createGetProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createStateValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createHasComeLaterThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createHasComeEarlierThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createObjectCompareNot()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsAllocatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsChanged()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createIsTranslatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.CONTENT_STATE__VALUE,
+ RBACoreFactory.eINSTANCE.createNullExpression()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ContentStateOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ContentStateOperatorItemProvider.java
new file mode 100644
index 0000000..1cf7838
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ContentStateOperatorItemProvider.java
@@ -0,0 +1,91 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ContentStateOperator;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ContentStateOperator} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class ContentStateOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ContentStateOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ContentStateOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ContentStateOperator_type")
+ : getString("_UI_ContentStateOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ContentValueItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ContentValueItemProvider.java
new file mode 100644
index 0000000..29c3e83
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ContentValueItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ContentValue;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ContentValue} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ContentValueItemProvider extends AllocatableOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ContentValueItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns ContentValue.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ContentValue"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ContentValue) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ContentValue_type")
+ : getString("_UI_ContentValue_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/EnumExpressionItemProvider.java b/rba.model.core.edit/src/rba/core/provider/EnumExpressionItemProvider.java
new file mode 100644
index 0000000..70f5c1d
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/EnumExpressionItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.EnumExpression;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.EnumExpression} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class EnumExpressionItemProvider extends ExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public EnumExpressionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((EnumExpression) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_EnumExpression_type")
+ : getString("_UI_EnumExpression_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/EqualToOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/EqualToOperatorItemProvider.java
new file mode 100644
index 0000000..146fada
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/EqualToOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.EqualToOperator;
+import rba.core.ExpressionType;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.EqualToOperator} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class EqualToOperatorItemProvider extends ComparisonOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public EqualToOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns EqualToOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/EqualToOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((EqualToOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_EqualToOperator_type")
+ : getString("_UI_EqualToOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ExistsOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ExistsOperatorItemProvider.java
new file mode 100644
index 0000000..e17017d
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ExistsOperatorItemProvider.java
@@ -0,0 +1,122 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExistsOperator;
+import rba.core.ExpressionType;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ExistsOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ExistsOperatorItemProvider extends LambdaContextItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ExistsOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns ExistsOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ExistsOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ExistsOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ExistsOperator_type")
+ : getString("_UI_ExistsOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ boolean qualify = childFeature == RBACorePackage.Literals.OPERATOR__OPERAND
+ || childFeature == RBACorePackage.Literals.LAMBDA_CONTEXT__LAMBDA;
+
+ if (qualify) {
+ return getString("_UI_CreateChild_text2",
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ExpressionItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ExpressionItemProvider.java
new file mode 100644
index 0000000..66b2b4b
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ExpressionItemProvider.java
@@ -0,0 +1,167 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.Expression;
+import rba.core.ExpressionType;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Expression} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ExpressionItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ExpressionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTypePropertyDescriptor(object);
+ addExpressionPropertyDescriptor(object);
+ addLetStatementsPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Type feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTypePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Expression_type_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Expression_type_feature",
+ "_UI_Expression_type"),
+ RBACorePackage.Literals.EXPRESSION__TYPE, false, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Expression feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addExpressionPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Expression_expression_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Expression_expression_feature",
+ "_UI_Expression_type"),
+ RBACorePackage.Literals.EXPRESSION__EXPRESSION, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Let Statements feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addLetStatementsPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Expression_letStatements_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Expression_letStatements_feature",
+ "_UI_Expression_type"),
+ RBACorePackage.Literals.EXPRESSION__LET_STATEMENTS, true, false, true, null, null, null));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((Expression) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_Expression_type")
+ : getString("_UI_Expression_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Expression.class)) {
+ case RBACorePackage.EXPRESSION__TYPE:
+ case RBACorePackage.EXPRESSION__EXPRESSION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RbaCoreEditPlugin.INSTANCE;
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ForAllOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ForAllOperatorItemProvider.java
new file mode 100644
index 0000000..cd9ce4d
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ForAllOperatorItemProvider.java
@@ -0,0 +1,122 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.ForAllOperator;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ForAllOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ForAllOperatorItemProvider extends LambdaContextItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ForAllOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns ForAllOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ForAllOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ForAllOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ForAllOperator_type")
+ : getString("_UI_ForAllOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ boolean qualify = childFeature == RBACorePackage.Literals.OPERATOR__OPERAND
+ || childFeature == RBACorePackage.Literals.LAMBDA_CONTEXT__LAMBDA;
+
+ if (qualify) {
+ return getString("_UI_CreateChild_text2",
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/GetAllocatablesItemProvider.java b/rba.model.core.edit/src/rba/core/provider/GetAllocatablesItemProvider.java
new file mode 100644
index 0000000..c04eb0d
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/GetAllocatablesItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.GetAllocatables;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.GetAllocatables} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class GetAllocatablesItemProvider extends ContentOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public GetAllocatablesItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns GetAllocatables.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/GetAllocatables"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((GetAllocatables) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_GetAllocatables_type")
+ : getString("_UI_GetAllocatables_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/GetContentsListItemProvider.java b/rba.model.core.edit/src/rba/core/provider/GetContentsListItemProvider.java
new file mode 100644
index 0000000..2febb8e
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/GetContentsListItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.GetContentsList;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.GetContentsList} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class GetContentsListItemProvider extends AllocatableOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public GetContentsListItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns GetContentsList.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/GetContentsList"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((GetContentsList) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_GetContentsList_type")
+ : getString("_UI_GetContentsList_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/GetPropertyItemProvider.java b/rba.model.core.edit/src/rba/core/provider/GetPropertyItemProvider.java
new file mode 100644
index 0000000..9c5f5e3
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/GetPropertyItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.GetProperty;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.GetProperty} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class GetPropertyItemProvider extends PropertyOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public GetPropertyItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns GetProperty.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/GetProperty"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((GetProperty) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_GetProperty_type")
+ : getString("_UI_GetProperty_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/GetStateItemProvider.java b/rba.model.core.edit/src/rba/core/provider/GetStateItemProvider.java
new file mode 100644
index 0000000..747d55a
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/GetStateItemProvider.java
@@ -0,0 +1,114 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.GetState} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class GetStateItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public GetStateItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns GetState.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/GetState"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ return getString("_UI_GetState_type");
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RbaCoreEditPlugin.INSTANCE;
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/GreaterThanOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/GreaterThanOperatorItemProvider.java
new file mode 100644
index 0000000..c252e8a
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/GreaterThanOperatorItemProvider.java
@@ -0,0 +1,101 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.GreaterThanOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.GreaterThanOperator} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class GreaterThanOperatorItemProvider extends ComparisonOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public GreaterThanOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns GreaterThanOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/GreaterThanOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((GreaterThanOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_GreaterThanOperator_type")
+ : getString("_UI_GreaterThanOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/HasBeenDisplayedItemProvider.java b/rba.model.core.edit/src/rba/core/provider/HasBeenDisplayedItemProvider.java
new file mode 100644
index 0000000..a71e1b5
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/HasBeenDisplayedItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.HasBeenDisplayed;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.HasBeenDisplayed} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class HasBeenDisplayedItemProvider extends ContentOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public HasBeenDisplayedItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns HasBeenDisplayed.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/HasBeenDisplayed"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((HasBeenDisplayed) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_HasBeenDisplayed_type")
+ : getString("_UI_HasBeenDisplayed_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/HasComeEarlierThanItemProvider.java b/rba.model.core.edit/src/rba/core/provider/HasComeEarlierThanItemProvider.java
new file mode 100644
index 0000000..1ef924f
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/HasComeEarlierThanItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.HasComeEarlierThan;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.HasComeEarlierThan} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class HasComeEarlierThanItemProvider extends ContentOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public HasComeEarlierThanItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns HasComeEarlierThan.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/HasComeEarlierThan"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((HasComeEarlierThan) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_HasComeEarlierThan_type")
+ : getString("_UI_HasComeEarlierThan_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/HasComeLaterThanItemProvider.java b/rba.model.core.edit/src/rba/core/provider/HasComeLaterThanItemProvider.java
new file mode 100644
index 0000000..a30e083
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/HasComeLaterThanItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.HasComeLaterThan;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.HasComeLaterThan} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class HasComeLaterThanItemProvider extends ContentOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public HasComeLaterThanItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns HasComeLaterThan.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/HasComeLaterThan"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((HasComeLaterThan) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_HasComeLaterThan_type")
+ : getString("_UI_HasComeLaterThan_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IfActionOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IfActionOperatorItemProvider.java
new file mode 100644
index 0000000..417c2a7
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IfActionOperatorItemProvider.java
@@ -0,0 +1,98 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import rba.core.ExpressionType;
+import rba.core.IfActionOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IfActionOperator} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class IfActionOperatorItemProvider extends ActionOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IfActionOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IfActionOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IfActionOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IfActionOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IfActionOperator_type")
+ : getString("_UI_IfActionOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IfStatementItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IfStatementItemProvider.java
new file mode 100644
index 0000000..be514fe
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IfStatementItemProvider.java
@@ -0,0 +1,660 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ExpressionType;
+import rba.core.IfStatement;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IfStatement} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class IfStatementItemProvider extends ExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IfStatementItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.IF_STATEMENT__CONDITION);
+ childrenFeatures.add(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION);
+ childrenFeatures.add(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns IfStatement.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IfStatement"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IfStatement) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IfStatement_type")
+ : getString("_UI_IfStatement_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(IfStatement.class)) {
+ case RBACorePackage.IF_STATEMENT__CONDITION:
+ case RBACorePackage.IF_STATEMENT__THEN_EXPRESSION:
+ case RBACorePackage.IF_STATEMENT__ELSE_EXPRESSION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createComplexExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsTypeOf()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createPreviousModifier()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createMuchGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createComparisonAnd()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createAndOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createOrOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createNotOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsLowerThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createPlusOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createImpliesOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsActive()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createGetAllocatables()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createHasBeenDisplayed()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createActiveState()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createObjectCompare()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createThatOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createMaxValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createMinValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createNoneValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createStandardValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIntegerValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createLoserTypeExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createArbitrationPolicyExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createSizeOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createExistsOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createForAllOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createMaxOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createMinOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createSelectOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createSetOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIfStatement()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsOn()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createAllocatedContent()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createContentValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createGetContentsList()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createActiveContents()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createGetProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createStateValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createHasComeLaterThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createHasComeEarlierThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createObjectCompareNot()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsAllocatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsChanged()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createIsTranslatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__CONDITION,
+ RBACoreFactory.eINSTANCE.createNullExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createComplexExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsTypeOf()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createPreviousModifier()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMuchGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createComparisonAnd()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createAndOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createOrOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNotOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsLowerThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createPlusOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createImpliesOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsActive()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetAllocatables()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasBeenDisplayed()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createActiveState()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectCompare()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createThatOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMaxValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMinValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNoneValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createStandardValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIntegerValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLoserTypeExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createArbitrationPolicyExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSizeOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createExistsOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createForAllOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMaxOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMinOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSelectOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSetOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIfStatement()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsOn()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createAllocatedContent()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createContentValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetContentsList()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createActiveContents()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createStateValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasComeLaterThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasComeEarlierThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectCompareNot()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsAllocatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsChanged()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsTranslatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNullExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createComplexExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsTypeOf()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createPreviousModifier()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMuchGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createComparisonAnd()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createAndOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createOrOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNotOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsLowerThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createPlusOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createImpliesOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsActive()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetAllocatables()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasBeenDisplayed()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createActiveState()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectCompare()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createThatOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMaxValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMinValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNoneValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createStandardValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIntegerValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLoserTypeExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createArbitrationPolicyExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSizeOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createExistsOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createForAllOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMaxOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createMinOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSelectOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createSetOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIfStatement()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsOn()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createAllocatedContent()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createContentValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetContentsList()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createActiveContents()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createGetProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createStateValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasComeLaterThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createHasComeEarlierThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createObjectCompareNot()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsAllocatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsChanged()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createIsTranslatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION,
+ RBACoreFactory.eINSTANCE.createNullExpression()));
+ }
+
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ boolean qualify = childFeature == RBACorePackage.Literals.IF_STATEMENT__CONDITION
+ || childFeature == RBACorePackage.Literals.IF_STATEMENT__THEN_EXPRESSION
+ || childFeature == RBACorePackage.Literals.IF_STATEMENT__ELSE_EXPRESSION;
+
+ if (qualify) {
+ return getString("_UI_CreateChild_text2",
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ImpliesOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ImpliesOperatorItemProvider.java
new file mode 100644
index 0000000..67b1f95
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ImpliesOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.ImpliesOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ImpliesOperator} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class ImpliesOperatorItemProvider extends LogicalOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ImpliesOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns ImpliesOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ImpliesOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ImpliesOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ImpliesOperator_type")
+ : getString("_UI_ImpliesOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IntegerPropertyItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IntegerPropertyItemProvider.java
new file mode 100644
index 0000000..9b1036a
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IntegerPropertyItemProvider.java
@@ -0,0 +1,302 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.IntegerProperty;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IntegerProperty} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class IntegerPropertyItemProvider extends AbstractPropertyItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IntegerPropertyItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns IntegerProperty.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IntegerProperty"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((IntegerProperty) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_IntegerProperty_type")
+ : getString("_UI_IntegerProperty_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(IntegerProperty.class)) {
+ case RBACorePackage.INTEGER_PROPERTY__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createComplexExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsTypeOf()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createPreviousModifier()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createMuchGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createComparisonAnd()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createAndOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createOrOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createNotOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsLowerThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createPlusOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createImpliesOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsActive()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createGetAllocatables()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createHasBeenDisplayed()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createActiveState()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createObjectCompare()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createThatOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createMaxValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createMinValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createNoneValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createStandardValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIntegerValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createLoserTypeExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createArbitrationPolicyExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createSizeOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createExistsOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createForAllOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createMaxOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createMinOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createSelectOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createSetOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIfStatement()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsOn()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createAllocatedContent()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createContentValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createGetContentsList()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createActiveContents()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createGetProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createStateValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createHasComeLaterThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createHasComeEarlierThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createObjectCompareNot()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsAllocatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsChanged()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createIsTranslatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.INTEGER_PROPERTY__VALUE,
+ RBACoreFactory.eINSTANCE.createNullExpression()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IntegerValueItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IntegerValueItemProvider.java
new file mode 100644
index 0000000..4544ffd
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IntegerValueItemProvider.java
@@ -0,0 +1,126 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ExpressionType;
+import rba.core.IntegerValue;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IntegerValue} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class IntegerValueItemProvider extends ValueExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IntegerValueItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_IntegerValue_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_IntegerValue_value_feature",
+ "_UI_IntegerValue_type"),
+ RBACorePackage.Literals.INTEGER_VALUE__VALUE, true, false, false,
+ ItemPropertyDescriptor.INTEGRAL_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This returns IntegerValue.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IntegerValue"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IntegerValue) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IntegerValue_type")
+ : getString("_UI_IntegerValue_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(IntegerValue.class)) {
+ case RBACorePackage.INTEGER_VALUE__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsActiveItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsActiveItemProvider.java
new file mode 100644
index 0000000..3784293
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsActiveItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsActive;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsActive} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class IsActiveItemProvider extends ContentOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsActiveItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsActive.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsActive"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsActive) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsActive_type")
+ : getString("_UI_IsActive_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsAllocatedToItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsAllocatedToItemProvider.java
new file mode 100644
index 0000000..c533df5
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsAllocatedToItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsAllocatedTo;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsAllocatedTo} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class IsAllocatedToItemProvider extends ContentOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsAllocatedToItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsAllocatedTo.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsAllocatedTo"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsAllocatedTo) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsAllocatedTo_type")
+ : getString("_UI_IsAllocatedTo_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsCanceledItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsCanceledItemProvider.java
new file mode 100644
index 0000000..25ecd49
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsCanceledItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsCanceled;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsCanceled} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class IsCanceledItemProvider extends ContentOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsCanceledItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsCanceled.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsCanceled"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsCanceled) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsCanceled_type")
+ : getString("_UI_IsCanceled_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsChangedItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsChangedItemProvider.java
new file mode 100644
index 0000000..7601e1c
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsChangedItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsChanged;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsChanged} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class IsChangedItemProvider extends AllocatableOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsChangedItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsChanged.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsChanged"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsChanged) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsChanged_type")
+ : getString("_UI_IsChanged_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsDisappearedItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsDisappearedItemProvider.java
new file mode 100644
index 0000000..b971be0
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsDisappearedItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsDisappeared;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsDisappeared} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class IsDisappearedItemProvider extends ContentOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsDisappearedItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsDisappeared.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsDisappeared"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsDisappeared) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsDisappeared_type")
+ : getString("_UI_IsDisappeared_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsEqualToOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsEqualToOperatorItemProvider.java
new file mode 100644
index 0000000..2e524aa
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsEqualToOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsEqualToOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsEqualToOperator} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class IsEqualToOperatorItemProvider extends LogicalOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsEqualToOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsEqualToOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsEqualToOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsEqualToOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsEqualToOperator_type")
+ : getString("_UI_IsEqualToOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsGreaterThanEqualOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsGreaterThanEqualOperatorItemProvider.java
new file mode 100644
index 0000000..bb8e456
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsGreaterThanEqualOperatorItemProvider.java
@@ -0,0 +1,101 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsGreaterThanEqualOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsGreaterThanEqualOperator} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class IsGreaterThanEqualOperatorItemProvider extends LogicalOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsGreaterThanEqualOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsGreaterThanEqualOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsGreaterThanEqualOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsGreaterThanEqualOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsGreaterThanEqualOperator_type")
+ : getString("_UI_IsGreaterThanEqualOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsGreaterThanOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsGreaterThanOperatorItemProvider.java
new file mode 100644
index 0000000..eefe3cf
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsGreaterThanOperatorItemProvider.java
@@ -0,0 +1,101 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsGreaterThanOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsGreaterThanOperator} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class IsGreaterThanOperatorItemProvider extends LogicalOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsGreaterThanOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsGreaterThanOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsGreaterThanOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsGreaterThanOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsGreaterThanOperator_type")
+ : getString("_UI_IsGreaterThanOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsLowerThanEqualOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsLowerThanEqualOperatorItemProvider.java
new file mode 100644
index 0000000..fcadce2
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsLowerThanEqualOperatorItemProvider.java
@@ -0,0 +1,101 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsLowerThanEqualOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsLowerThanEqualOperator} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class IsLowerThanEqualOperatorItemProvider extends LogicalOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsLowerThanEqualOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsLowerThanEqualOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsLowerThanEqualOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsLowerThanEqualOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsLowerThanEqualOperator_type")
+ : getString("_UI_IsLowerThanEqualOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsLowerThanOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsLowerThanOperatorItemProvider.java
new file mode 100644
index 0000000..d6b9138
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsLowerThanOperatorItemProvider.java
@@ -0,0 +1,101 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsLowerThanOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsLowerThanOperator} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class IsLowerThanOperatorItemProvider extends LogicalOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsLowerThanOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsLowerThanOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsLowerThanOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsLowerThanOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsLowerThanOperator_type")
+ : getString("_UI_IsLowerThanOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsOnItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsOnItemProvider.java
new file mode 100644
index 0000000..f704d56
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsOnItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsOn;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsOn} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class IsOnItemProvider extends SceneOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsOnItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsOn.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsOn"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsOn) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsOn_type")
+ : getString("_UI_IsOn_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsTranslatedToItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsTranslatedToItemProvider.java
new file mode 100644
index 0000000..c86d512
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsTranslatedToItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.IsTranslatedTo;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsTranslatedTo} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class IsTranslatedToItemProvider extends AllocatableOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsTranslatedToItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns IsTranslatedTo.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsTranslatedTo"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((IsTranslatedTo) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_IsTranslatedTo_type")
+ : getString("_UI_IsTranslatedTo_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/IsTypeOfItemProvider.java b/rba.model.core.edit/src/rba/core/provider/IsTypeOfItemProvider.java
new file mode 100644
index 0000000..902e71d
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/IsTypeOfItemProvider.java
@@ -0,0 +1,124 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import rba.core.IsTypeOf;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.IsTypeOf} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class IsTypeOfItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public IsTypeOfItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTagNamePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Tag Name feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTagNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_IsTypeOf_tagName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_IsTypeOf_tagName_feature",
+ "_UI_IsTypeOf_type"),
+ RBACorePackage.Literals.IS_TYPE_OF__TAG_NAME, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This returns IsTypeOf.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/IsTypeOf"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((IsTypeOf) object).getTagName();
+ return label == null || label.length() == 0 ? getString("_UI_IsTypeOf_type")
+ : getString("_UI_IsTypeOf_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(IsTypeOf.class)) {
+ case RBACorePackage.IS_TYPE_OF__TAG_NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/LambdaContextItemProvider.java b/rba.model.core.edit/src/rba/core/provider/LambdaContextItemProvider.java
new file mode 100644
index 0000000..62f6a6e
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/LambdaContextItemProvider.java
@@ -0,0 +1,153 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ExpressionType;
+import rba.core.LambdaContext;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.LambdaContext} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class LambdaContextItemProvider extends SetOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public LambdaContextItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.LAMBDA_CONTEXT__LAMBDA);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((LambdaContext) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_LambdaContext_type")
+ : getString("_UI_LambdaContext_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(LambdaContext.class)) {
+ case RBACorePackage.LAMBDA_CONTEXT__LAMBDA:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_CONTEXT__LAMBDA,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+ }
+
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ boolean qualify = childFeature == RBACorePackage.Literals.OPERATOR__OPERAND
+ || childFeature == RBACorePackage.Literals.LAMBDA_CONTEXT__LAMBDA;
+
+ if (qualify) {
+ return getString("_UI_CreateChild_text2",
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/LambdaExpressionItemProvider.java b/rba.model.core.edit/src/rba/core/provider/LambdaExpressionItemProvider.java
new file mode 100644
index 0000000..fed0eee
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/LambdaExpressionItemProvider.java
@@ -0,0 +1,309 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ExpressionType;
+import rba.core.LambdaExpression;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.LambdaExpression} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class LambdaExpressionItemProvider extends ExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public LambdaExpressionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.LAMBDA_EXPRESSION__X);
+ childrenFeatures.add(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns LambdaExpression.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/LambdaExpression"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((LambdaExpression) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_LambdaExpression_type")
+ : getString("_UI_LambdaExpression_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(LambdaExpression.class)) {
+ case RBACorePackage.LAMBDA_EXPRESSION__X:
+ case RBACorePackage.LAMBDA_EXPRESSION__BODY_TEXT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__X,
+ RBACoreFactory.eINSTANCE.createVariable()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createComplexExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsTypeOf()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createPreviousModifier()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createMuchGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createComparisonAnd()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createAndOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createOrOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createNotOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsLowerThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createPlusOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createImpliesOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsActive()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createGetAllocatables()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createHasBeenDisplayed()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createActiveState()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createObjectCompare()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createThatOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createMaxValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createMinValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createNoneValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createStandardValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIntegerValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createLoserTypeExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createArbitrationPolicyExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createSizeOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createExistsOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createForAllOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createMaxOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createMinOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createSelectOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createSetOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIfStatement()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsOn()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createAllocatedContent()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createContentValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createGetContentsList()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createActiveContents()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createGetProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createStateValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createHasComeLaterThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createHasComeEarlierThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createObjectCompareNot()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsAllocatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsChanged()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createIsTranslatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.LAMBDA_EXPRESSION__BODY_TEXT,
+ RBACoreFactory.eINSTANCE.createNullExpression()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/LetStatementItemProvider.java b/rba.model.core.edit/src/rba/core/provider/LetStatementItemProvider.java
new file mode 100644
index 0000000..d525d70
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/LetStatementItemProvider.java
@@ -0,0 +1,130 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.LetStatement;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.LetStatement} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class LetStatementItemProvider extends ModelElementItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public LetStatementItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addVariablePropertyDescriptor(object);
+ addBodyPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Variable feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addVariablePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_LetStatement_variable_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_LetStatement_variable_feature",
+ "_UI_LetStatement_type"),
+ RBACorePackage.Literals.LET_STATEMENT__VARIABLE, true, false, true, null, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Body feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addBodyPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_LetStatement_body_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_LetStatement_body_feature",
+ "_UI_LetStatement_type"),
+ RBACorePackage.Literals.LET_STATEMENT__BODY, true, false, true, null, null, null));
+ }
+
+ /**
+ * This returns LetStatement.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/LetStatement"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((LetStatement) object).getDescription();
+ return label == null || label.length() == 0 ? getString("_UI_LetStatement_type")
+ : getString("_UI_LetStatement_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/LogicalOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/LogicalOperatorItemProvider.java
new file mode 100644
index 0000000..1efa485
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/LogicalOperatorItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.LogicalOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.LogicalOperator} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class LogicalOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public LogicalOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((LogicalOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_LogicalOperator_type")
+ : getString("_UI_LogicalOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/LoserTypeExpressionItemProvider.java b/rba.model.core.edit/src/rba/core/provider/LoserTypeExpressionItemProvider.java
new file mode 100644
index 0000000..b5abed8
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/LoserTypeExpressionItemProvider.java
@@ -0,0 +1,127 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ExpressionType;
+import rba.core.LoserTypeExpression;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.LoserTypeExpression} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class LoserTypeExpressionItemProvider extends EnumExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public LoserTypeExpressionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Value feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_LoserTypeExpression_value_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_LoserTypeExpression_value_feature",
+ "_UI_LoserTypeExpression_type"),
+ RBACorePackage.Literals.LOSER_TYPE_EXPRESSION__VALUE, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This returns LoserTypeExpression.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/LoserTypeExpression"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((LoserTypeExpression) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_LoserTypeExpression_type")
+ : getString("_UI_LoserTypeExpression_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(LoserTypeExpression.class)) {
+ case RBACorePackage.LOSER_TYPE_EXPRESSION__VALUE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/LowerThanOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/LowerThanOperatorItemProvider.java
new file mode 100644
index 0000000..75b2de6
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/LowerThanOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.LowerThanOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.LowerThanOperator} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class LowerThanOperatorItemProvider extends ComparisonOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public LowerThanOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns LowerThanOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/LowerThanOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((LowerThanOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_LowerThanOperator_type")
+ : getString("_UI_LowerThanOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/MaxOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/MaxOperatorItemProvider.java
new file mode 100644
index 0000000..815fa03
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/MaxOperatorItemProvider.java
@@ -0,0 +1,122 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.MaxOperator;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.MaxOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class MaxOperatorItemProvider extends LambdaContextItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public MaxOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns MaxOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/MaxOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((MaxOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_MaxOperator_type")
+ : getString("_UI_MaxOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ boolean qualify = childFeature == RBACorePackage.Literals.OPERATOR__OPERAND
+ || childFeature == RBACorePackage.Literals.LAMBDA_CONTEXT__LAMBDA;
+
+ if (qualify) {
+ return getString("_UI_CreateChild_text2",
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/MaxValueItemProvider.java b/rba.model.core.edit/src/rba/core/provider/MaxValueItemProvider.java
new file mode 100644
index 0000000..fceb368
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/MaxValueItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.MaxValue;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.MaxValue} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class MaxValueItemProvider extends ValueExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public MaxValueItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns MaxValue.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/MaxValue"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((MaxValue) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_MaxValue_type")
+ : getString("_UI_MaxValue_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/MinOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/MinOperatorItemProvider.java
new file mode 100644
index 0000000..92db2fc
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/MinOperatorItemProvider.java
@@ -0,0 +1,122 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.MinOperator;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.MinOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class MinOperatorItemProvider extends LambdaContextItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public MinOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns MinOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/MinOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((MinOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_MinOperator_type")
+ : getString("_UI_MinOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ boolean qualify = childFeature == RBACorePackage.Literals.OPERATOR__OPERAND
+ || childFeature == RBACorePackage.Literals.LAMBDA_CONTEXT__LAMBDA;
+
+ if (qualify) {
+ return getString("_UI_CreateChild_text2",
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/MinValueItemProvider.java b/rba.model.core.edit/src/rba/core/provider/MinValueItemProvider.java
new file mode 100644
index 0000000..3593355
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/MinValueItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.MinValue;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.MinValue} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class MinValueItemProvider extends ValueExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public MinValueItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns MinValue.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/MinValue"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((MinValue) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_MinValue_type")
+ : getString("_UI_MinValue_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ModelElementItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ModelElementItemProvider.java
new file mode 100644
index 0000000..f120720
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ModelElementItemProvider.java
@@ -0,0 +1,133 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemProviderAdapter;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ModelElement;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ModelElement} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ModelElementItemProvider extends ItemProviderAdapter implements IEditingDomainItemProvider,
+ IStructuredItemContentProvider, ITreeItemContentProvider, IItemLabelProvider, IItemPropertySource {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ModelElementItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addDescriptionPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Description feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDescriptionPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_ModelElement_description_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ModelElement_description_feature",
+ "_UI_ModelElement_type"),
+ RBACorePackage.Literals.MODEL_ELEMENT__DESCRIPTION, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((ModelElement) object).getDescription();
+ return label == null || label.length() == 0 ? getString("_UI_ModelElement_type")
+ : getString("_UI_ModelElement_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(ModelElement.class)) {
+ case RBACorePackage.MODEL_ELEMENT__DESCRIPTION:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * Return the resource locator for this item provider's resources.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public ResourceLocator getResourceLocator() {
+ return RbaCoreEditPlugin.INSTANCE;
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/MuchGreaterThanOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/MuchGreaterThanOperatorItemProvider.java
new file mode 100644
index 0000000..3ba06a7
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/MuchGreaterThanOperatorItemProvider.java
@@ -0,0 +1,101 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.MuchGreaterThanOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.MuchGreaterThanOperator} object.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class MuchGreaterThanOperatorItemProvider extends ComparisonOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public MuchGreaterThanOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns MuchGreaterThanOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/MuchGreaterThanOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((MuchGreaterThanOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_MuchGreaterThanOperator_type")
+ : getString("_UI_MuchGreaterThanOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/NamedElementItemProvider.java b/rba.model.core.edit/src/rba/core/provider/NamedElementItemProvider.java
new file mode 100644
index 0000000..3b38ec5
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/NamedElementItemProvider.java
@@ -0,0 +1,114 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.NamedElement;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.NamedElement} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class NamedElementItemProvider extends ModelElementItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public NamedElementItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addNamePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Name feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_NamedElement_name_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_NamedElement_name_feature",
+ "_UI_NamedElement_type"),
+ RBACorePackage.Literals.NAMED_ELEMENT__NAME, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((NamedElement) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_NamedElement_type")
+ : getString("_UI_NamedElement_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(NamedElement.class)) {
+ case RBACorePackage.NAMED_ELEMENT__NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/NoneValueItemProvider.java b/rba.model.core.edit/src/rba/core/provider/NoneValueItemProvider.java
new file mode 100644
index 0000000..40aec45
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/NoneValueItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.NoneValue;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.NoneValue} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class NoneValueItemProvider extends ValueExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public NoneValueItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns NoneValue.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/NoneValue"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((NoneValue) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_NoneValue_type")
+ : getString("_UI_NoneValue_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/NotOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/NotOperatorItemProvider.java
new file mode 100644
index 0000000..fc4264b
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/NotOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.NotOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.NotOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class NotOperatorItemProvider extends LogicalOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public NotOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns NotOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/NotOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((NotOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_NotOperator_type")
+ : getString("_UI_NotOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/NullExpressionItemProvider.java b/rba.model.core.edit/src/rba/core/provider/NullExpressionItemProvider.java
new file mode 100644
index 0000000..c81faec
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/NullExpressionItemProvider.java
@@ -0,0 +1,108 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.NullExpression;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.NullExpression} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class NullExpressionItemProvider extends ExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public NullExpressionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns NullExpression.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/NullExpression"));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((NullExpression) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_NullExpression_type")
+ : getString("_UI_NullExpression_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ObjectCompareItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ObjectCompareItemProvider.java
new file mode 100644
index 0000000..0b1e9a4
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ObjectCompareItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.ObjectCompare;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ObjectCompare} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ObjectCompareItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ObjectCompareItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns ObjectCompare.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ObjectCompare"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ObjectCompare) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ObjectCompare_type")
+ : getString("_UI_ObjectCompare_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ObjectCompareNotItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ObjectCompareNotItemProvider.java
new file mode 100644
index 0000000..1bcc1c4
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ObjectCompareNotItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.ObjectCompareNot;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ObjectCompareNot} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class ObjectCompareNotItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ObjectCompareNotItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns ObjectCompareNot.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ObjectCompareNot"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ObjectCompareNot) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ObjectCompareNot_type")
+ : getString("_UI_ObjectCompareNot_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ObjectReferenceItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ObjectReferenceItemProvider.java
new file mode 100644
index 0000000..8a9ec37
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ObjectReferenceItemProvider.java
@@ -0,0 +1,117 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.ObjectReference;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ObjectReference} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class ObjectReferenceItemProvider extends ExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ObjectReferenceItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addRefObjectPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Ref Object feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addRefObjectPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_ObjectReference_refObject_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_ObjectReference_refObject_feature",
+ "_UI_ObjectReference_type"),
+ RBACorePackage.Literals.OBJECT_REFERENCE__REF_OBJECT, true, false, true, null, null, null));
+ }
+
+ /**
+ * This returns ObjectReference.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ObjectReference"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ObjectReference) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ObjectReference_type")
+ : getString("_UI_ObjectReference_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/OffSceneItemProvider.java b/rba.model.core.edit/src/rba/core/provider/OffSceneItemProvider.java
new file mode 100644
index 0000000..3936e07
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/OffSceneItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.OffScene;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.OffScene} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class OffSceneItemProvider extends SceneOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public OffSceneItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns OffScene.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/OffScene"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((OffScene) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_OffScene_type")
+ : getString("_UI_OffScene_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/OnSceneItemProvider.java b/rba.model.core.edit/src/rba/core/provider/OnSceneItemProvider.java
new file mode 100644
index 0000000..f9a650d
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/OnSceneItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.OnScene;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.OnScene} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class OnSceneItemProvider extends SceneOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public OnSceneItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns OnScene.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/OnScene"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((OnScene) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_OnScene_type")
+ : getString("_UI_OnScene_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/OperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/OperatorItemProvider.java
new file mode 100644
index 0000000..f660cd3
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/OperatorItemProvider.java
@@ -0,0 +1,294 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ExpressionType;
+import rba.core.Operator;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Operator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class OperatorItemProvider extends ExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public OperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.OPERATOR__OPERAND);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((Operator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_Operator_type")
+ : getString("_UI_Operator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Operator.class)) {
+ case RBACorePackage.OPERATOR__OPERAND:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createComplexExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIsTypeOf()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createPreviousModifier()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createMuchGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createComparisonAnd()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createAndOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createOrOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createNotOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIsEqualToOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIsLowerThanOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIsGreaterThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIsLowerThanEqualOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createPlusOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createImpliesOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIsActive()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createGetAllocatables()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createHasBeenDisplayed()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createActiveState()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createObjectCompare()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createThatOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createMaxValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createMinValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createNoneValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createStandardValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIntegerValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createLoserTypeExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createArbitrationPolicyExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createSizeOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createExistsOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createForAllOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createMaxOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createMinOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createSelectOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createSetOfOperator()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createLambdaExpression()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIfStatement()));
+
+ newChildDescriptors.add(
+ createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND, RBACoreFactory.eINSTANCE.createIsOn()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createAllocatedContent()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createContentValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createGetContentsList()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createActiveContents()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createGetProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createStateValue()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createHasComeLaterThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createHasComeEarlierThan()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createObjectCompareNot()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIsAllocatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIsChanged()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createIsTranslatedTo()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.OPERATOR__OPERAND,
+ RBACoreFactory.eINSTANCE.createNullExpression()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/OrOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/OrOperatorItemProvider.java
new file mode 100644
index 0000000..1bf98f4
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/OrOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.OrOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.OrOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class OrOperatorItemProvider extends LogicalOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public OrOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns OrOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/OrOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((OrOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_OrOperator_type")
+ : getString("_UI_OrOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/PackagableElementItemProvider.java b/rba.model.core.edit/src/rba/core/provider/PackagableElementItemProvider.java
new file mode 100644
index 0000000..a447297
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/PackagableElementItemProvider.java
@@ -0,0 +1,88 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.PackagableElement;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.PackagableElement} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class PackagableElementItemProvider extends NamedElementItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public PackagableElementItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((PackagableElement) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_PackagableElement_type")
+ : getString("_UI_PackagableElement_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/PackageItemProvider.java b/rba.model.core.edit/src/rba/core/provider/PackageItemProvider.java
new file mode 100644
index 0000000..0bf5eda
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/PackageItemProvider.java
@@ -0,0 +1,157 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Package} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class PackageItemProvider extends PackagableElementItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public PackageItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.PACKAGE__PACKAGABLEELEMENT);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns Package.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Package"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((rba.core.Package) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_Package_type")
+ : getString("_UI_Package_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(rba.core.Package.class)) {
+ case RBACorePackage.PACKAGE__PACKAGABLEELEMENT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.PACKAGE__PACKAGABLEELEMENT,
+ RBACoreFactory.eINSTANCE.createPackage()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.PACKAGE__PACKAGABLEELEMENT,
+ RBACoreFactory.eINSTANCE.createProject()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.PACKAGE__PACKAGABLEELEMENT,
+ RBACoreFactory.eINSTANCE.createStereotype()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.PACKAGE__PACKAGABLEELEMENT,
+ RBACoreFactory.eINSTANCE.createScene()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.PACKAGE__PACKAGABLEELEMENT,
+ RBACoreFactory.eINSTANCE.createIntegerProperty()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.PACKAGE__PACKAGABLEELEMENT,
+ RBACoreFactory.eINSTANCE.createConstraint()));
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.PACKAGE__PACKAGABLEELEMENT,
+ RBACoreFactory.eINSTANCE.createVariable()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/PlusOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/PlusOperatorItemProvider.java
new file mode 100644
index 0000000..a02ec94
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/PlusOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.PlusOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.PlusOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class PlusOperatorItemProvider extends ArithmeticOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public PlusOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns PlusOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/PlusOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((PlusOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_PlusOperator_type")
+ : getString("_UI_PlusOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/PreviousModifierItemProvider.java b/rba.model.core.edit/src/rba/core/provider/PreviousModifierItemProvider.java
new file mode 100644
index 0000000..5611c47
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/PreviousModifierItemProvider.java
@@ -0,0 +1,142 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.ExpressionType;
+import rba.core.PreviousModifier;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.PreviousModifier} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class PreviousModifierItemProvider extends ExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public PreviousModifierItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.PREVIOUS_MODIFIER__OBJ_REFERENCE);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns PreviousModifier.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/PreviousModifier"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((PreviousModifier) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_PreviousModifier_type")
+ : getString("_UI_PreviousModifier_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(PreviousModifier.class)) {
+ case RBACorePackage.PREVIOUS_MODIFIER__OBJ_REFERENCE:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.PREVIOUS_MODIFIER__OBJ_REFERENCE,
+ RBACoreFactory.eINSTANCE.createObjectReference()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ProjectItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ProjectItemProvider.java
new file mode 100644
index 0000000..f17a09e
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ProjectItemProvider.java
@@ -0,0 +1,143 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import rba.core.Project;
+import rba.core.RBACorePackage;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Project} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ProjectItemProvider extends PackageItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ProjectItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addVersionPropertyDescriptor(object);
+ addDummyNamePropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Version feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addVersionPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Project_version_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Project_version_feature",
+ "_UI_Project_type"),
+ RBACorePackage.Literals.PROJECT__VERSION, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Dummy Name feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addDummyNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Project_dummyName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Project_dummyName_feature",
+ "_UI_Project_type"),
+ RBACorePackage.Literals.PROJECT__DUMMY_NAME, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This returns Project.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Project"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Project) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_Project_type")
+ : getString("_UI_Project_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Project.class)) {
+ case RBACorePackage.PROJECT__VERSION:
+ case RBACorePackage.PROJECT__DUMMY_NAME:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/PropertyOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/PropertyOperatorItemProvider.java
new file mode 100644
index 0000000..118c92b
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/PropertyOperatorItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.PropertyOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.PropertyOperator} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class PropertyOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public PropertyOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((PropertyOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_PropertyOperator_type")
+ : getString("_UI_PropertyOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/RBACoreItemProviderAdapterFactory.java b/rba.model.core.edit/src/rba/core/provider/RBACoreItemProviderAdapterFactory.java
new file mode 100644
index 0000000..86f302d
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/RBACoreItemProviderAdapterFactory.java
@@ -0,0 +1,1726 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.ArrayList;
+import java.util.Collection;
+
+import org.eclipse.emf.common.notify.Adapter;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.common.notify.Notifier;
+
+import org.eclipse.emf.edit.provider.ChangeNotifier;
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.ComposedAdapterFactory;
+import org.eclipse.emf.edit.provider.IChangeNotifier;
+import org.eclipse.emf.edit.provider.IDisposable;
+import org.eclipse.emf.edit.provider.IEditingDomainItemProvider;
+import org.eclipse.emf.edit.provider.IItemLabelProvider;
+import org.eclipse.emf.edit.provider.IItemPropertySource;
+import org.eclipse.emf.edit.provider.INotifyChangedListener;
+import org.eclipse.emf.edit.provider.IStructuredItemContentProvider;
+import org.eclipse.emf.edit.provider.ITreeItemContentProvider;
+
+import rba.core.util.RBACoreAdapterFactory;
+
+/**
+ * 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 {@link #fireNotifyChanged fireNotifyChanged}.
+ * The adapters also support Eclipse property sheets.
+ * Note that most of the adapters are shared among multiple instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+public class RBACoreItemProviderAdapterFactory extends RBACoreAdapterFactory
+ implements ComposeableAdapterFactory, IChangeNotifier, IDisposable {
+ /**
+ * This keeps track of the root adapter factory that delegates to this adapter factory.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ComposedAdapterFactory parentAdapterFactory;
+
+ /**
+ * This is used to implement {@link org.eclipse.emf.edit.provider.IChangeNotifier}.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected IChangeNotifier changeNotifier = new ChangeNotifier();
+
+ /**
+ * This keeps track of all the supported types checked by {@link #isFactoryForType isFactoryForType}.
+ * <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected Collection<Object> supportedTypes = new ArrayList<Object>();
+
+ /**
+ * This constructs an instance.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public RBACoreItemProviderAdapterFactory() {
+ supportedTypes.add(IEditingDomainItemProvider.class);
+ supportedTypes.add(IStructuredItemContentProvider.class);
+ supportedTypes.add(ITreeItemContentProvider.class);
+ supportedTypes.add(IItemLabelProvider.class);
+ supportedTypes.add(IItemPropertySource.class);
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.Project} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ProjectItemProvider projectItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.Project}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createProjectAdapter() {
+ if (projectItemProvider == null) {
+ projectItemProvider = new ProjectItemProvider(this);
+ }
+
+ return projectItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.Package} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected PackageItemProvider packageItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.Package}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createPackageAdapter() {
+ if (packageItemProvider == null) {
+ packageItemProvider = new PackageItemProvider(this);
+ }
+
+ return packageItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.Stereotype} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected StereotypeItemProvider stereotypeItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.Stereotype}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createStereotypeAdapter() {
+ if (stereotypeItemProvider == null) {
+ stereotypeItemProvider = new StereotypeItemProvider(this);
+ }
+
+ return stereotypeItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.Tag} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected TagItemProvider tagItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.Tag}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createTagAdapter() {
+ if (tagItemProvider == null) {
+ tagItemProvider = new TagItemProvider(this);
+ }
+
+ return tagItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.Scene} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected SceneItemProvider sceneItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.Scene}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createSceneAdapter() {
+ if (sceneItemProvider == null) {
+ sceneItemProvider = new SceneItemProvider(this);
+ }
+
+ return sceneItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IntegerProperty} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected IntegerPropertyItemProvider integerPropertyItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IntegerProperty}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIntegerPropertyAdapter() {
+ if (integerPropertyItemProvider == null) {
+ integerPropertyItemProvider = new IntegerPropertyItemProvider(this);
+ }
+
+ return integerPropertyItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.Constraint} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ConstraintItemProvider constraintItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.Constraint}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createConstraintAdapter() {
+ if (constraintItemProvider == null) {
+ constraintItemProvider = new ConstraintItemProvider(this);
+ }
+
+ return constraintItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.LetStatement} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected LetStatementItemProvider letStatementItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.LetStatement}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createLetStatementAdapter() {
+ if (letStatementItemProvider == null) {
+ letStatementItemProvider = new LetStatementItemProvider(this);
+ }
+
+ return letStatementItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ComplexExpression} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ComplexExpressionItemProvider complexExpressionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ComplexExpression}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createComplexExpressionAdapter() {
+ if (complexExpressionItemProvider == null) {
+ complexExpressionItemProvider = new ComplexExpressionItemProvider(this);
+ }
+
+ return complexExpressionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsTypeOf} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected IsTypeOfItemProvider isTypeOfItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsTypeOf}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsTypeOfAdapter() {
+ if (isTypeOfItemProvider == null) {
+ isTypeOfItemProvider = new IsTypeOfItemProvider(this);
+ }
+
+ return isTypeOfItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ObjectReference} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ObjectReferenceItemProvider objectReferenceItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ObjectReference}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createObjectReferenceAdapter() {
+ if (objectReferenceItemProvider == null) {
+ objectReferenceItemProvider = new ObjectReferenceItemProvider(this);
+ }
+
+ return objectReferenceItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.PreviousModifier} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected PreviousModifierItemProvider previousModifierItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.PreviousModifier}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createPreviousModifierAdapter() {
+ if (previousModifierItemProvider == null) {
+ previousModifierItemProvider = new PreviousModifierItemProvider(this);
+ }
+
+ return previousModifierItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.GreaterThanOperator} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected GreaterThanOperatorItemProvider greaterThanOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.GreaterThanOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createGreaterThanOperatorAdapter() {
+ if (greaterThanOperatorItemProvider == null) {
+ greaterThanOperatorItemProvider = new GreaterThanOperatorItemProvider(this);
+ }
+
+ return greaterThanOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.MuchGreaterThanOperator} instances.
+ * <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected MuchGreaterThanOperatorItemProvider muchGreaterThanOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.MuchGreaterThanOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createMuchGreaterThanOperatorAdapter() {
+ if (muchGreaterThanOperatorItemProvider == null) {
+ muchGreaterThanOperatorItemProvider = new MuchGreaterThanOperatorItemProvider(this);
+ }
+
+ return muchGreaterThanOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.LowerThanOperator} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LowerThanOperatorItemProvider lowerThanOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.LowerThanOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createLowerThanOperatorAdapter() {
+ if (lowerThanOperatorItemProvider == null) {
+ lowerThanOperatorItemProvider = new LowerThanOperatorItemProvider(this);
+ }
+
+ return lowerThanOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.EqualToOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected EqualToOperatorItemProvider equalToOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.EqualToOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createEqualToOperatorAdapter() {
+ if (equalToOperatorItemProvider == null) {
+ equalToOperatorItemProvider = new EqualToOperatorItemProvider(this);
+ }
+
+ return equalToOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ComparisonAnd} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ComparisonAndItemProvider comparisonAndItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ComparisonAnd}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createComparisonAndAdapter() {
+ if (comparisonAndItemProvider == null) {
+ comparisonAndItemProvider = new ComparisonAndItemProvider(this);
+ }
+
+ return comparisonAndItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.AndOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected AndOperatorItemProvider andOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.AndOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createAndOperatorAdapter() {
+ if (andOperatorItemProvider == null) {
+ andOperatorItemProvider = new AndOperatorItemProvider(this);
+ }
+
+ return andOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.OrOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected OrOperatorItemProvider orOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.OrOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createOrOperatorAdapter() {
+ if (orOperatorItemProvider == null) {
+ orOperatorItemProvider = new OrOperatorItemProvider(this);
+ }
+
+ return orOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.NotOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected NotOperatorItemProvider notOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.NotOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createNotOperatorAdapter() {
+ if (notOperatorItemProvider == null) {
+ notOperatorItemProvider = new NotOperatorItemProvider(this);
+ }
+
+ return notOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsEqualToOperator} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IsEqualToOperatorItemProvider isEqualToOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsEqualToOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsEqualToOperatorAdapter() {
+ if (isEqualToOperatorItemProvider == null) {
+ isEqualToOperatorItemProvider = new IsEqualToOperatorItemProvider(this);
+ }
+
+ return isEqualToOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsGreaterThanOperator} instances.
+ * <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected IsGreaterThanOperatorItemProvider isGreaterThanOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsGreaterThanOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsGreaterThanOperatorAdapter() {
+ if (isGreaterThanOperatorItemProvider == null) {
+ isGreaterThanOperatorItemProvider = new IsGreaterThanOperatorItemProvider(this);
+ }
+
+ return isGreaterThanOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsLowerThanOperator} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected IsLowerThanOperatorItemProvider isLowerThanOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsLowerThanOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsLowerThanOperatorAdapter() {
+ if (isLowerThanOperatorItemProvider == null) {
+ isLowerThanOperatorItemProvider = new IsLowerThanOperatorItemProvider(this);
+ }
+
+ return isLowerThanOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsGreaterThanEqualOperator} instances. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected IsGreaterThanEqualOperatorItemProvider isGreaterThanEqualOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsGreaterThanEqualOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsGreaterThanEqualOperatorAdapter() {
+ if (isGreaterThanEqualOperatorItemProvider == null) {
+ isGreaterThanEqualOperatorItemProvider = new IsGreaterThanEqualOperatorItemProvider(this);
+ }
+
+ return isGreaterThanEqualOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsLowerThanEqualOperator} instances.
+ * <!-- begin-user-doc
+ * --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected IsLowerThanEqualOperatorItemProvider isLowerThanEqualOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsLowerThanEqualOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsLowerThanEqualOperatorAdapter() {
+ if (isLowerThanEqualOperatorItemProvider == null) {
+ isLowerThanEqualOperatorItemProvider = new IsLowerThanEqualOperatorItemProvider(this);
+ }
+
+ return isLowerThanEqualOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.PlusOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected PlusOperatorItemProvider plusOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.PlusOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createPlusOperatorAdapter() {
+ if (plusOperatorItemProvider == null) {
+ plusOperatorItemProvider = new PlusOperatorItemProvider(this);
+ }
+
+ return plusOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ImpliesOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ImpliesOperatorItemProvider impliesOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ImpliesOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createImpliesOperatorAdapter() {
+ if (impliesOperatorItemProvider == null) {
+ impliesOperatorItemProvider = new ImpliesOperatorItemProvider(this);
+ }
+
+ return impliesOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsActive} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected IsActiveItemProvider isActiveItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsActive}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsActiveAdapter() {
+ if (isActiveItemProvider == null) {
+ isActiveItemProvider = new IsActiveItemProvider(this);
+ }
+
+ return isActiveItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.GetAllocatables} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected GetAllocatablesItemProvider getAllocatablesItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.GetAllocatables}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createGetAllocatablesAdapter() {
+ if (getAllocatablesItemProvider == null) {
+ getAllocatablesItemProvider = new GetAllocatablesItemProvider(this);
+ }
+
+ return getAllocatablesItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.HasBeenDisplayed} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected HasBeenDisplayedItemProvider hasBeenDisplayedItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.HasBeenDisplayed}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createHasBeenDisplayedAdapter() {
+ if (hasBeenDisplayedItemProvider == null) {
+ hasBeenDisplayedItemProvider = new HasBeenDisplayedItemProvider(this);
+ }
+
+ return hasBeenDisplayedItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ActiveState} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ActiveStateItemProvider activeStateItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ActiveState}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createActiveStateAdapter() {
+ if (activeStateItemProvider == null) {
+ activeStateItemProvider = new ActiveStateItemProvider(this);
+ }
+
+ return activeStateItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ObjectCompare} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ObjectCompareItemProvider objectCompareItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ObjectCompare}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createObjectCompareAdapter() {
+ if (objectCompareItemProvider == null) {
+ objectCompareItemProvider = new ObjectCompareItemProvider(this);
+ }
+
+ return objectCompareItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ThatOfOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ThatOfOperatorItemProvider thatOfOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ThatOfOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createThatOfOperatorAdapter() {
+ if (thatOfOperatorItemProvider == null) {
+ thatOfOperatorItemProvider = new ThatOfOperatorItemProvider(this);
+ }
+
+ return thatOfOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.MaxValue} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected MaxValueItemProvider maxValueItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.MaxValue}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createMaxValueAdapter() {
+ if (maxValueItemProvider == null) {
+ maxValueItemProvider = new MaxValueItemProvider(this);
+ }
+
+ return maxValueItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.MinValue} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected MinValueItemProvider minValueItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.MinValue}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createMinValueAdapter() {
+ if (minValueItemProvider == null) {
+ minValueItemProvider = new MinValueItemProvider(this);
+ }
+
+ return minValueItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.NoneValue} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected NoneValueItemProvider noneValueItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.NoneValue}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createNoneValueAdapter() {
+ if (noneValueItemProvider == null) {
+ noneValueItemProvider = new NoneValueItemProvider(this);
+ }
+
+ return noneValueItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.StandardValue} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected StandardValueItemProvider standardValueItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.StandardValue}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createStandardValueAdapter() {
+ if (standardValueItemProvider == null) {
+ standardValueItemProvider = new StandardValueItemProvider(this);
+ }
+
+ return standardValueItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IntegerValue} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected IntegerValueItemProvider integerValueItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IntegerValue}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIntegerValueAdapter() {
+ if (integerValueItemProvider == null) {
+ integerValueItemProvider = new IntegerValueItemProvider(this);
+ }
+
+ return integerValueItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.LoserTypeExpression} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LoserTypeExpressionItemProvider loserTypeExpressionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.LoserTypeExpression}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createLoserTypeExpressionAdapter() {
+ if (loserTypeExpressionItemProvider == null) {
+ loserTypeExpressionItemProvider = new LoserTypeExpressionItemProvider(this);
+ }
+
+ return loserTypeExpressionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ArbitrationPolicyExpression} instances. <!--
+ * begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected ArbitrationPolicyExpressionItemProvider arbitrationPolicyExpressionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ArbitrationPolicyExpression}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createArbitrationPolicyExpressionAdapter() {
+ if (arbitrationPolicyExpressionItemProvider == null) {
+ arbitrationPolicyExpressionItemProvider = new ArbitrationPolicyExpressionItemProvider(this);
+ }
+
+ return arbitrationPolicyExpressionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.SizeOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected SizeOperatorItemProvider sizeOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.SizeOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createSizeOperatorAdapter() {
+ if (sizeOperatorItemProvider == null) {
+ sizeOperatorItemProvider = new SizeOperatorItemProvider(this);
+ }
+
+ return sizeOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ExistsOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ExistsOperatorItemProvider existsOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ExistsOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createExistsOperatorAdapter() {
+ if (existsOperatorItemProvider == null) {
+ existsOperatorItemProvider = new ExistsOperatorItemProvider(this);
+ }
+
+ return existsOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ForAllOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ForAllOperatorItemProvider forAllOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ForAllOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createForAllOperatorAdapter() {
+ if (forAllOperatorItemProvider == null) {
+ forAllOperatorItemProvider = new ForAllOperatorItemProvider(this);
+ }
+
+ return forAllOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.MaxOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected MaxOperatorItemProvider maxOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.MaxOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createMaxOperatorAdapter() {
+ if (maxOperatorItemProvider == null) {
+ maxOperatorItemProvider = new MaxOperatorItemProvider(this);
+ }
+
+ return maxOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.MinOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected MinOperatorItemProvider minOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.MinOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createMinOperatorAdapter() {
+ if (minOperatorItemProvider == null) {
+ minOperatorItemProvider = new MinOperatorItemProvider(this);
+ }
+
+ return minOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.SelectOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected SelectOperatorItemProvider selectOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.SelectOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createSelectOperatorAdapter() {
+ if (selectOperatorItemProvider == null) {
+ selectOperatorItemProvider = new SelectOperatorItemProvider(this);
+ }
+
+ return selectOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.SetOfOperator} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected SetOfOperatorItemProvider setOfOperatorItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.SetOfOperator}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createSetOfOperatorAdapter() {
+ if (setOfOperatorItemProvider == null) {
+ setOfOperatorItemProvider = new SetOfOperatorItemProvider(this);
+ }
+
+ return setOfOperatorItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.LambdaExpression} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected LambdaExpressionItemProvider lambdaExpressionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.LambdaExpression}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createLambdaExpressionAdapter() {
+ if (lambdaExpressionItemProvider == null) {
+ lambdaExpressionItemProvider = new LambdaExpressionItemProvider(this);
+ }
+
+ return lambdaExpressionItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.Variable} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected VariableItemProvider variableItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.Variable}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createVariableAdapter() {
+ if (variableItemProvider == null) {
+ variableItemProvider = new VariableItemProvider(this);
+ }
+
+ return variableItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IfStatement} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected IfStatementItemProvider ifStatementItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IfStatement}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIfStatementAdapter() {
+ if (ifStatementItemProvider == null) {
+ ifStatementItemProvider = new IfStatementItemProvider(this);
+ }
+
+ return ifStatementItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsOn} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected IsOnItemProvider isOnItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsOn}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsOnAdapter() {
+ if (isOnItemProvider == null) {
+ isOnItemProvider = new IsOnItemProvider(this);
+ }
+
+ return isOnItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.AllocatedContent} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected AllocatedContentItemProvider allocatedContentItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.AllocatedContent}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createAllocatedContentAdapter() {
+ if (allocatedContentItemProvider == null) {
+ allocatedContentItemProvider = new AllocatedContentItemProvider(this);
+ }
+
+ return allocatedContentItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ContentValue} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ContentValueItemProvider contentValueItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ContentValue}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createContentValueAdapter() {
+ if (contentValueItemProvider == null) {
+ contentValueItemProvider = new ContentValueItemProvider(this);
+ }
+
+ return contentValueItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.GetContentsList} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected GetContentsListItemProvider getContentsListItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.GetContentsList}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createGetContentsListAdapter() {
+ if (getContentsListItemProvider == null) {
+ getContentsListItemProvider = new GetContentsListItemProvider(this);
+ }
+
+ return getContentsListItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ActiveContents} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected ActiveContentsItemProvider activeContentsItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ActiveContents}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createActiveContentsAdapter() {
+ if (activeContentsItemProvider == null) {
+ activeContentsItemProvider = new ActiveContentsItemProvider(this);
+ }
+
+ return activeContentsItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.GetProperty} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected GetPropertyItemProvider getPropertyItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.GetProperty}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createGetPropertyAdapter() {
+ if (getPropertyItemProvider == null) {
+ getPropertyItemProvider = new GetPropertyItemProvider(this);
+ }
+
+ return getPropertyItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.StateValue} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected StateValueItemProvider stateValueItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.StateValue}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createStateValueAdapter() {
+ if (stateValueItemProvider == null) {
+ stateValueItemProvider = new StateValueItemProvider(this);
+ }
+
+ return stateValueItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.HasComeLaterThan} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected HasComeLaterThanItemProvider hasComeLaterThanItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.HasComeLaterThan}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createHasComeLaterThanAdapter() {
+ if (hasComeLaterThanItemProvider == null) {
+ hasComeLaterThanItemProvider = new HasComeLaterThanItemProvider(this);
+ }
+
+ return hasComeLaterThanItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.HasComeEarlierThan} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected HasComeEarlierThanItemProvider hasComeEarlierThanItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.HasComeEarlierThan}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createHasComeEarlierThanAdapter() {
+ if (hasComeEarlierThanItemProvider == null) {
+ hasComeEarlierThanItemProvider = new HasComeEarlierThanItemProvider(this);
+ }
+
+ return hasComeEarlierThanItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.ObjectCompareNot} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected ObjectCompareNotItemProvider objectCompareNotItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.ObjectCompareNot}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createObjectCompareNotAdapter() {
+ if (objectCompareNotItemProvider == null) {
+ objectCompareNotItemProvider = new ObjectCompareNotItemProvider(this);
+ }
+
+ return objectCompareNotItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsAllocatedTo} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected IsAllocatedToItemProvider isAllocatedToItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsAllocatedTo}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsAllocatedToAdapter() {
+ if (isAllocatedToItemProvider == null) {
+ isAllocatedToItemProvider = new IsAllocatedToItemProvider(this);
+ }
+
+ return isAllocatedToItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsChanged} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected IsChangedItemProvider isChangedItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsChangedAdapter() {
+ if (isChangedItemProvider == null) {
+ isChangedItemProvider = new IsChangedItemProvider(this);
+ }
+
+ return isChangedItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.IsTranslatedTo} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected IsTranslatedToItemProvider isTranslatedToItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.IsTranslatedTo}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createIsTranslatedToAdapter() {
+ if (isTranslatedToItemProvider == null) {
+ isTranslatedToItemProvider = new IsTranslatedToItemProvider(this);
+ }
+
+ return isTranslatedToItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.GetState} instances.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ protected GetStateItemProvider getStateItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.GetState}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createGetStateAdapter() {
+ if (getStateItemProvider == null) {
+ getStateItemProvider = new GetStateItemProvider(this);
+ }
+
+ return getStateItemProvider;
+ }
+
+ /**
+ * This keeps track of the one adapter used for all {@link rba.core.NullExpression} instances.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected NullExpressionItemProvider nullExpressionItemProvider;
+
+ /**
+ * This creates an adapter for a {@link rba.core.NullExpression}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Adapter createNullExpressionAdapter() {
+ if (nullExpressionItemProvider == null) {
+ nullExpressionItemProvider = new NullExpressionItemProvider(this);
+ }
+
+ return nullExpressionItemProvider;
+ }
+
+ /**
+ * This returns the root adapter factory that contains this factory.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ComposeableAdapterFactory getRootAdapterFactory() {
+ return parentAdapterFactory == null ? this : parentAdapterFactory.getRootAdapterFactory();
+ }
+
+ /**
+ * This sets the composed adapter factory that contains this factory.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void setParentAdapterFactory(ComposedAdapterFactory parentAdapterFactory) {
+ this.parentAdapterFactory = parentAdapterFactory;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public boolean isFactoryForType(Object type) {
+ return supportedTypes.contains(type) || super.isFactoryForType(type);
+ }
+
+ /**
+ * This implementation substitutes the factory itself as the key for the adapter. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+ @Override
+ public Adapter adapt(Notifier notifier, Object type) {
+ return super.adapt(notifier, this);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object adapt(Object object, Object type) {
+ if (isFactoryForType(type)) {
+ Object adapter = super.adapt(object, type);
+ if (!(type instanceof Class<?>) || (((Class<?>) type).isInstance(adapter))) {
+ return adapter;
+ }
+ }
+
+ return null;
+ }
+
+ /**
+ * This adds a listener.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void addListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.addListener(notifyChangedListener);
+ }
+
+ /**
+ * This removes a listener.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void removeListener(INotifyChangedListener notifyChangedListener) {
+ changeNotifier.removeListener(notifyChangedListener);
+ }
+
+ /**
+ * This delegates to {@link #changeNotifier} and to {@link #parentAdapterFactory}. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+ public void fireNotifyChanged(Notification notification) {
+ changeNotifier.fireNotifyChanged(notification);
+
+ if (parentAdapterFactory != null) {
+ parentAdapterFactory.fireNotifyChanged(notification);
+ }
+ }
+
+ /**
+ * This disposes all of the item providers created by this factory.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public void dispose() {
+ if (projectItemProvider != null)
+ projectItemProvider.dispose();
+ if (packageItemProvider != null)
+ packageItemProvider.dispose();
+ if (stereotypeItemProvider != null)
+ stereotypeItemProvider.dispose();
+ if (tagItemProvider != null)
+ tagItemProvider.dispose();
+ if (sceneItemProvider != null)
+ sceneItemProvider.dispose();
+ if (integerPropertyItemProvider != null)
+ integerPropertyItemProvider.dispose();
+ if (constraintItemProvider != null)
+ constraintItemProvider.dispose();
+ if (letStatementItemProvider != null)
+ letStatementItemProvider.dispose();
+ if (complexExpressionItemProvider != null)
+ complexExpressionItemProvider.dispose();
+ if (isTypeOfItemProvider != null)
+ isTypeOfItemProvider.dispose();
+ if (objectReferenceItemProvider != null)
+ objectReferenceItemProvider.dispose();
+ if (previousModifierItemProvider != null)
+ previousModifierItemProvider.dispose();
+ if (greaterThanOperatorItemProvider != null)
+ greaterThanOperatorItemProvider.dispose();
+ if (muchGreaterThanOperatorItemProvider != null)
+ muchGreaterThanOperatorItemProvider.dispose();
+ if (lowerThanOperatorItemProvider != null)
+ lowerThanOperatorItemProvider.dispose();
+ if (equalToOperatorItemProvider != null)
+ equalToOperatorItemProvider.dispose();
+ if (comparisonAndItemProvider != null)
+ comparisonAndItemProvider.dispose();
+ if (andOperatorItemProvider != null)
+ andOperatorItemProvider.dispose();
+ if (orOperatorItemProvider != null)
+ orOperatorItemProvider.dispose();
+ if (notOperatorItemProvider != null)
+ notOperatorItemProvider.dispose();
+ if (isEqualToOperatorItemProvider != null)
+ isEqualToOperatorItemProvider.dispose();
+ if (isGreaterThanOperatorItemProvider != null)
+ isGreaterThanOperatorItemProvider.dispose();
+ if (isLowerThanOperatorItemProvider != null)
+ isLowerThanOperatorItemProvider.dispose();
+ if (isGreaterThanEqualOperatorItemProvider != null)
+ isGreaterThanEqualOperatorItemProvider.dispose();
+ if (isLowerThanEqualOperatorItemProvider != null)
+ isLowerThanEqualOperatorItemProvider.dispose();
+ if (plusOperatorItemProvider != null)
+ plusOperatorItemProvider.dispose();
+ if (impliesOperatorItemProvider != null)
+ impliesOperatorItemProvider.dispose();
+ if (isActiveItemProvider != null)
+ isActiveItemProvider.dispose();
+ if (getAllocatablesItemProvider != null)
+ getAllocatablesItemProvider.dispose();
+ if (hasBeenDisplayedItemProvider != null)
+ hasBeenDisplayedItemProvider.dispose();
+ if (activeStateItemProvider != null)
+ activeStateItemProvider.dispose();
+ if (objectCompareItemProvider != null)
+ objectCompareItemProvider.dispose();
+ if (thatOfOperatorItemProvider != null)
+ thatOfOperatorItemProvider.dispose();
+ if (maxValueItemProvider != null)
+ maxValueItemProvider.dispose();
+ if (minValueItemProvider != null)
+ minValueItemProvider.dispose();
+ if (noneValueItemProvider != null)
+ noneValueItemProvider.dispose();
+ if (standardValueItemProvider != null)
+ standardValueItemProvider.dispose();
+ if (integerValueItemProvider != null)
+ integerValueItemProvider.dispose();
+ if (loserTypeExpressionItemProvider != null)
+ loserTypeExpressionItemProvider.dispose();
+ if (arbitrationPolicyExpressionItemProvider != null)
+ arbitrationPolicyExpressionItemProvider.dispose();
+ if (sizeOperatorItemProvider != null)
+ sizeOperatorItemProvider.dispose();
+ if (existsOperatorItemProvider != null)
+ existsOperatorItemProvider.dispose();
+ if (forAllOperatorItemProvider != null)
+ forAllOperatorItemProvider.dispose();
+ if (maxOperatorItemProvider != null)
+ maxOperatorItemProvider.dispose();
+ if (minOperatorItemProvider != null)
+ minOperatorItemProvider.dispose();
+ if (selectOperatorItemProvider != null)
+ selectOperatorItemProvider.dispose();
+ if (setOfOperatorItemProvider != null)
+ setOfOperatorItemProvider.dispose();
+ if (lambdaExpressionItemProvider != null)
+ lambdaExpressionItemProvider.dispose();
+ if (variableItemProvider != null)
+ variableItemProvider.dispose();
+ if (ifStatementItemProvider != null)
+ ifStatementItemProvider.dispose();
+ if (isOnItemProvider != null)
+ isOnItemProvider.dispose();
+ if (allocatedContentItemProvider != null)
+ allocatedContentItemProvider.dispose();
+ if (contentValueItemProvider != null)
+ contentValueItemProvider.dispose();
+ if (getContentsListItemProvider != null)
+ getContentsListItemProvider.dispose();
+ if (activeContentsItemProvider != null)
+ activeContentsItemProvider.dispose();
+ if (getPropertyItemProvider != null)
+ getPropertyItemProvider.dispose();
+ if (stateValueItemProvider != null)
+ stateValueItemProvider.dispose();
+ if (hasComeLaterThanItemProvider != null)
+ hasComeLaterThanItemProvider.dispose();
+ if (hasComeEarlierThanItemProvider != null)
+ hasComeEarlierThanItemProvider.dispose();
+ if (objectCompareNotItemProvider != null)
+ objectCompareNotItemProvider.dispose();
+ if (isAllocatedToItemProvider != null)
+ isAllocatedToItemProvider.dispose();
+ if (isChangedItemProvider != null)
+ isChangedItemProvider.dispose();
+ if (isTranslatedToItemProvider != null)
+ isTranslatedToItemProvider.dispose();
+ if (getStateItemProvider != null)
+ getStateItemProvider.dispose();
+ if (nullExpressionItemProvider != null)
+ nullExpressionItemProvider.dispose();
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/RbaCoreEditPlugin.java b/rba.model.core.edit/src/rba/core/provider/RbaCoreEditPlugin.java
new file mode 100644
index 0000000..58c07cd
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/RbaCoreEditPlugin.java
@@ -0,0 +1,79 @@
+/**
+ */
+package rba.core.provider;
+
+import org.eclipse.emf.common.EMFPlugin;
+
+import org.eclipse.emf.common.util.ResourceLocator;
+
+/**
+ * This is the central singleton for the RbaCore edit plugin.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public final class RbaCoreEditPlugin extends EMFPlugin {
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public static final RbaCoreEditPlugin INSTANCE = new RbaCoreEditPlugin();
+
+ /**
+ * Keep track of the singleton.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ private static Implementation plugin;
+
+ /**
+ * Create the instance.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public RbaCoreEditPlugin() {
+ super(new ResourceLocator[] {});
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ @Override
+ public ResourceLocator getPluginResourceLocator() {
+ return plugin;
+ }
+
+ /**
+ * Returns the singleton instance of the Eclipse plugin.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @return the singleton instance.
+ * @generated
+ */
+ public static Implementation getPlugin() {
+ return plugin;
+ }
+
+ /**
+ * The actual implementation of the Eclipse <b>Plugin</b>.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public static class Implementation extends EclipsePlugin {
+ /**
+ * Creates an instance.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public Implementation() {
+ super();
+
+ // Remember the static instance.
+ //
+ plugin = this;
+ }
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/RuleObjectItemProvider.java b/rba.model.core.edit/src/rba/core/provider/RuleObjectItemProvider.java
new file mode 100644
index 0000000..7be6d62
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/RuleObjectItemProvider.java
@@ -0,0 +1,129 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.ecore.EStructuralFeature;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+import rba.core.RuleObject;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.RuleObject} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class RuleObjectItemProvider extends PackagableElementItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public RuleObjectItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.RULE_OBJECT__TAGS);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((RuleObject) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_RuleObject_type")
+ : getString("_UI_RuleObject_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(RuleObject.class)) {
+ case RBACorePackage.RULE_OBJECT__TAGS:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(
+ createChildParameter(RBACorePackage.Literals.RULE_OBJECT__TAGS, RBACoreFactory.eINSTANCE.createTag()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/SceneItemProvider.java b/rba.model.core.edit/src/rba/core/provider/SceneItemProvider.java
new file mode 100644
index 0000000..442315b
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/SceneItemProvider.java
@@ -0,0 +1,160 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+import rba.core.Scene;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Scene} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class SceneItemProvider extends AbstractSceneItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public SceneItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addGlobalPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Global feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addGlobalPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Scene_global_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Scene_global_feature", "_UI_Scene_type"),
+ RBACorePackage.Literals.SCENE__GLOBAL, true, false, false,
+ ItemPropertyDescriptor.BOOLEAN_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.SCENE__PROPERTIES);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns Scene.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Scene"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Scene) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_Scene_type")
+ : getString("_UI_Scene_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Scene.class)) {
+ case RBACorePackage.SCENE__GLOBAL:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case RBACorePackage.SCENE__PROPERTIES:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.SCENE__PROPERTIES,
+ RBACoreFactory.eINSTANCE.createIntegerProperty()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/SceneOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/SceneOperatorItemProvider.java
new file mode 100644
index 0000000..1133d99
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/SceneOperatorItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.SceneOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.SceneOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class SceneOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public SceneOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((SceneOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_SceneOperator_type")
+ : getString("_UI_SceneOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/SelectOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/SelectOperatorItemProvider.java
new file mode 100644
index 0000000..b2ac4df
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/SelectOperatorItemProvider.java
@@ -0,0 +1,122 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.RBACorePackage;
+import rba.core.SelectOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.SelectOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class SelectOperatorItemProvider extends LambdaContextItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public SelectOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns SelectOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/SelectOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((SelectOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_SelectOperator_type")
+ : getString("_UI_SelectOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+ /**
+ * This returns the label text for {@link org.eclipse.emf.edit.command.CreateChildCommand}.
+ * <!-- begin-user-doc --> <!--
+ * end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getCreateChildText(Object owner, Object feature, Object child, Collection<?> selection) {
+ Object childFeature = feature;
+ Object childObject = child;
+
+ boolean qualify = childFeature == RBACorePackage.Literals.OPERATOR__OPERAND
+ || childFeature == RBACorePackage.Literals.LAMBDA_CONTEXT__LAMBDA;
+
+ if (qualify) {
+ return getString("_UI_CreateChild_text2",
+ new Object[] { getTypeText(childObject), getFeatureText(childFeature), getTypeText(owner) });
+ }
+ return super.getCreateChildText(owner, feature, child, selection);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/SetExpressionItemProvider.java b/rba.model.core.edit/src/rba/core/provider/SetExpressionItemProvider.java
new file mode 100644
index 0000000..cc3f5d8
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/SetExpressionItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.SetExpression;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.SetExpression} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class SetExpressionItemProvider extends ExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public SetExpressionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((SetExpression) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_SetExpression_type")
+ : getString("_UI_SetExpression_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/SetOfOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/SetOfOperatorItemProvider.java
new file mode 100644
index 0000000..21daafc
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/SetOfOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.SetOfOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.SetOfOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class SetOfOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public SetOfOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns SetOfOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/SetOfOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((SetOfOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_SetOfOperator_type")
+ : getString("_UI_SetOfOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/SetOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/SetOperatorItemProvider.java
new file mode 100644
index 0000000..4411685
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/SetOperatorItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.SetOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.SetOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class SetOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public SetOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((SetOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_SetOperator_type")
+ : getString("_UI_SetOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/SetPropertyItemProvider.java b/rba.model.core.edit/src/rba/core/provider/SetPropertyItemProvider.java
new file mode 100644
index 0000000..3fb2d7b
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/SetPropertyItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.SetProperty;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.SetProperty} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class SetPropertyItemProvider extends PropertyOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public SetPropertyItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns SetProperty.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/SetProperty"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((SetProperty) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_SetProperty_type")
+ : getString("_UI_SetProperty_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/SizeOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/SizeOperatorItemProvider.java
new file mode 100644
index 0000000..352dd48
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/SizeOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.SizeOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.SizeOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class SizeOperatorItemProvider extends SetOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public SizeOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns SizeOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/SizeOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((SizeOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_SizeOperator_type")
+ : getString("_UI_SizeOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/StandardValueItemProvider.java b/rba.model.core.edit/src/rba/core/provider/StandardValueItemProvider.java
new file mode 100644
index 0000000..efa3229
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/StandardValueItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.StandardValue;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.StandardValue} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class StandardValueItemProvider extends ValueExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public StandardValueItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns StandardValue.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/StandardValue"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((StandardValue) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_StandardValue_type")
+ : getString("_UI_StandardValue_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/StateItemProvider.java b/rba.model.core.edit/src/rba/core/provider/StateItemProvider.java
new file mode 100644
index 0000000..f598d18
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/StateItemProvider.java
@@ -0,0 +1,96 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import rba.core.State;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.State} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class StateItemProvider extends RuleObjectItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public StateItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns State.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/State"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((State) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_State_type")
+ : getString("_UI_State_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/StateValueItemProvider.java b/rba.model.core.edit/src/rba/core/provider/StateValueItemProvider.java
new file mode 100644
index 0000000..2399bf5
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/StateValueItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.StateValue;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.StateValue} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class StateValueItemProvider extends ContentOperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public StateValueItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns StateValue.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/StateValue"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((StateValue) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_StateValue_type")
+ : getString("_UI_StateValue_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/StereotypeItemProvider.java b/rba.model.core.edit/src/rba/core/provider/StereotypeItemProvider.java
new file mode 100644
index 0000000..8c45aee
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/StereotypeItemProvider.java
@@ -0,0 +1,178 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.ecore.EStructuralFeature;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.RBACoreFactory;
+import rba.core.RBACorePackage;
+import rba.core.Stereotype;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Stereotype} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class StereotypeItemProvider extends PackagableElementItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public StereotypeItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addTargetModelNamePropertyDescriptor(object);
+ addBodyTextPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Target Model Name feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addTargetModelNamePropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Stereotype_targetModelName_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Stereotype_targetModelName_feature",
+ "_UI_Stereotype_type"),
+ RBACorePackage.Literals.STEREOTYPE__TARGET_MODEL_NAME, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This adds a property descriptor for the Body Text feature.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addBodyTextPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Stereotype_bodyText_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Stereotype_bodyText_feature",
+ "_UI_Stereotype_type"),
+ RBACorePackage.Literals.STEREOTYPE__BODY_TEXT, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This specifies how to implement {@link #getChildren} and is used to deduce an appropriate feature for an
+ * {@link org.eclipse.emf.edit.command.AddCommand}, {@link org.eclipse.emf.edit.command.RemoveCommand} or
+ * {@link org.eclipse.emf.edit.command.MoveCommand} in {@link #createCommand}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Collection<? extends EStructuralFeature> getChildrenFeatures(Object object) {
+ if (childrenFeatures == null) {
+ super.getChildrenFeatures(object);
+ childrenFeatures.add(RBACorePackage.Literals.STEREOTYPE__VARIABLES);
+ }
+ return childrenFeatures;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected EStructuralFeature getChildFeature(Object object, Object child) {
+ // Check the type of the specified child object and return the proper feature to use for
+ // adding (see {@link AddCommand}) it as a child.
+
+ return super.getChildFeature(object, child);
+ }
+
+ /**
+ * This returns Stereotype.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Stereotype"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Stereotype) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_Stereotype_type")
+ : getString("_UI_Stereotype_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Stereotype.class)) {
+ case RBACorePackage.STEREOTYPE__TARGET_MODEL_NAME:
+ case RBACorePackage.STEREOTYPE__BODY_TEXT:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ case RBACorePackage.STEREOTYPE__VARIABLES:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), true, false));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+
+ newChildDescriptors.add(createChildParameter(RBACorePackage.Literals.STEREOTYPE__VARIABLES,
+ RBACoreFactory.eINSTANCE.createVariable()));
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/TagItemProvider.java b/rba.model.core.edit/src/rba/core/provider/TagItemProvider.java
new file mode 100644
index 0000000..51eb7b8
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/TagItemProvider.java
@@ -0,0 +1,132 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.ComposeableAdapterFactory;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ItemPropertyDescriptor;
+import org.eclipse.emf.edit.provider.ViewerNotification;
+
+import rba.core.RBACorePackage;
+import rba.core.Tag;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Tag} object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+public class TagItemProvider extends NamedElementItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ public TagItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ addValuesPropertyDescriptor(object);
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This adds a property descriptor for the Values feature.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ protected void addValuesPropertyDescriptor(Object object) {
+ itemPropertyDescriptors
+ .add(createItemPropertyDescriptor(((ComposeableAdapterFactory) adapterFactory).getRootAdapterFactory(),
+ getResourceLocator(), getString("_UI_Tag_values_feature"),
+ getString("_UI_PropertyDescriptor_description", "_UI_Tag_values_feature", "_UI_Tag_type"),
+ RBACorePackage.Literals.TAG__VALUES, true, false, false,
+ ItemPropertyDescriptor.GENERIC_VALUE_IMAGE, null, null));
+ }
+
+ /**
+ * This returns Tag.gif.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Tag"));
+ }
+
+ /**
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Tag) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_Tag_type")
+ : getString("_UI_Tag_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+
+ switch (notification.getFeatureID(Tag.class)) {
+ case RBACorePackage.TAG__VALUES:
+ fireNotifyChanged(new ViewerNotification(notification, notification.getNotifier(), false, true));
+ return;
+ }
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc -->
+ * <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ThatOfOperatorItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ThatOfOperatorItemProvider.java
new file mode 100644
index 0000000..d42f7c5
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ThatOfOperatorItemProvider.java
@@ -0,0 +1,100 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.ThatOfOperator;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ThatOfOperator} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class ThatOfOperatorItemProvider extends OperatorItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ThatOfOperatorItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns ThatOfOperator.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/ThatOfOperator"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ThatOfOperator) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ThatOfOperator_type")
+ : getString("_UI_ThatOfOperator_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/ValueExpressionItemProvider.java b/rba.model.core.edit/src/rba/core/provider/ValueExpressionItemProvider.java
new file mode 100644
index 0000000..32a08f6
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/ValueExpressionItemProvider.java
@@ -0,0 +1,90 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+
+import rba.core.ExpressionType;
+import rba.core.ValueExpression;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.ValueExpression} object. <!-- begin-user-doc --> <!-- end-user-doc
+ * -->
+ * @generated
+ */
+public class ValueExpressionItemProvider extends ExpressionItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public ValueExpressionItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ ExpressionType labelValue = ((ValueExpression) object).getType();
+ String label = labelValue == null ? null : labelValue.toString();
+ return label == null || label.length() == 0 ? getString("_UI_ValueExpression_type")
+ : getString("_UI_ValueExpression_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}
diff --git a/rba.model.core.edit/src/rba/core/provider/VariableItemProvider.java b/rba.model.core.edit/src/rba/core/provider/VariableItemProvider.java
new file mode 100644
index 0000000..0c81c3f
--- /dev/null
+++ b/rba.model.core.edit/src/rba/core/provider/VariableItemProvider.java
@@ -0,0 +1,96 @@
+/**
+ */
+package rba.core.provider;
+
+import java.util.Collection;
+import java.util.List;
+
+import org.eclipse.emf.common.notify.AdapterFactory;
+import org.eclipse.emf.common.notify.Notification;
+import org.eclipse.emf.edit.provider.IItemPropertyDescriptor;
+import rba.core.Variable;
+
+/**
+ * This is the item provider adapter for a {@link rba.core.Variable} object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+public class VariableItemProvider extends RuleObjectItemProvider {
+ /**
+ * This constructs an instance from a factory and a notifier.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ public VariableItemProvider(AdapterFactory adapterFactory) {
+ super(adapterFactory);
+ }
+
+ /**
+ * This returns the property descriptors for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public List<IItemPropertyDescriptor> getPropertyDescriptors(Object object) {
+ if (itemPropertyDescriptors == null) {
+ super.getPropertyDescriptors(object);
+
+ }
+ return itemPropertyDescriptors;
+ }
+
+ /**
+ * This returns Variable.gif.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public Object getImage(Object object) {
+ return overlayImage(object, getResourceLocator().getImage("full/obj16/Variable"));
+ }
+
+ /**
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected boolean shouldComposeCreationImage() {
+ return true;
+ }
+
+ /**
+ * This returns the label text for the adapted class.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public String getText(Object object) {
+ String label = ((Variable) object).getName();
+ return label == null || label.length() == 0 ? getString("_UI_Variable_type")
+ : getString("_UI_Variable_type") + " " + label;
+ }
+
+ /**
+ * This handles model notifications by calling {@link #updateChildren} to update any cached
+ * children and by creating a viewer notification, which it passes to {@link #fireNotifyChanged}.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ public void notifyChanged(Notification notification) {
+ updateChildren(notification);
+ super.notifyChanged(notification);
+ }
+
+ /**
+ * This adds {@link org.eclipse.emf.edit.command.CommandParameter}s describing the children
+ * that can be created under this object.
+ * <!-- begin-user-doc --> <!-- end-user-doc -->
+ * @generated
+ */
+ @Override
+ protected void collectNewChildDescriptors(Collection<Object> newChildDescriptors, Object object) {
+ super.collectNewChildDescriptors(newChildDescriptors, object);
+ }
+
+}