|
@@ -1,7 +1,7 @@
|
|
|
"""
|
|
|
Generated by Statechart compiler by Glenn De Jonghe, Joeri Exelmans, Simon Van Mierlo, and Yentl Van Tendeloo (for the inspiration)
|
|
|
|
|
|
-Date: Mon Oct 30 15:04:23 2017
|
|
|
+Date: Mon Oct 30 16:24:14 2017
|
|
|
|
|
|
Model author: Yentl Van Tendeloo
|
|
|
Model name: MvK Server
|
|
@@ -1526,101 +1526,105 @@ class Modelverse(RuntimeClassBase):
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_17.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_17.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_17_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_17)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_18 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/store_on_scripted/transformation_execute_MANUAL"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_18 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/store_on_scripted/transformation_execute"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_18.setAction(self._initialized_behaviour_wait_for_action_megamodelling_18_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_18.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_18.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_18_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_18)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_19 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/store_on_scripted/process_execute"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_19 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/store_on_scripted/transformation_execute_MANUAL"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_19.setAction(self._initialized_behaviour_wait_for_action_megamodelling_19_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_19.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_19.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_19_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_19)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_20 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/permission_modify"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_20 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/store_on_scripted/process_execute"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_20.setAction(self._initialized_behaviour_wait_for_action_megamodelling_20_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_20.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_20.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_20_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_20)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_21 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/permission_owner"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_21 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/permission_modify"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_21.setAction(self._initialized_behaviour_wait_for_action_megamodelling_21_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_21.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_21.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_21_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_21)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_22 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/permission_group"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_22 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/permission_owner"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_22.setAction(self._initialized_behaviour_wait_for_action_megamodelling_22_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_22.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_22.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_22_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_22)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_23 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_create"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_23 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/permission_group"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_23.setAction(self._initialized_behaviour_wait_for_action_megamodelling_23_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_23.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_23.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_23_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_23)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_24 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_delete"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_24 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_create"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_24.setAction(self._initialized_behaviour_wait_for_action_megamodelling_24_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_24.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_24.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_24_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_24)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_25 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_owner_add"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_25 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_delete"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_25.setAction(self._initialized_behaviour_wait_for_action_megamodelling_25_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_25.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_25.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_25_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_25)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_26 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_owner_delete"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_26 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_owner_add"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_26.setAction(self._initialized_behaviour_wait_for_action_megamodelling_26_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_26.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_26.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_26_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_26)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_27 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_join"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_27 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_owner_delete"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_27.setAction(self._initialized_behaviour_wait_for_action_megamodelling_27_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_27.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_27.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_27_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_27)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_28 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_kick"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_28 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_join"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_28.setAction(self._initialized_behaviour_wait_for_action_megamodelling_28_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_28.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_28.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_28_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_28)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_29 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_list"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_29 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_kick"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_29.setAction(self._initialized_behaviour_wait_for_action_megamodelling_29_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_29.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_29.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_29_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_29)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_30 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/admin_promote"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_30 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/group_list"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_30.setAction(self._initialized_behaviour_wait_for_action_megamodelling_30_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_30.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_30.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_30_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_30)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_31 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/admin_demote"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_31 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/admin_promote"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_31.setAction(self._initialized_behaviour_wait_for_action_megamodelling_31_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_31.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_31.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_31_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_31)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_32 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/conformance_delete"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_32 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/admin_demote"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_32.setAction(self._initialized_behaviour_wait_for_action_megamodelling_32_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_32.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_32.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_32_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_32)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_33 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/conformance_add"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_33 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/conformance_delete"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_33.setAction(self._initialized_behaviour_wait_for_action_megamodelling_33_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_33.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_33.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_33_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_33)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_34 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/folder_create"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_34 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/conformance_add"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_34.setAction(self._initialized_behaviour_wait_for_action_megamodelling_34_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_34.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_34.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_34_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_34)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_35 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/model_types"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_35 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/folder_create"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_35.setAction(self._initialized_behaviour_wait_for_action_megamodelling_35_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_35.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_35.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_35_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_35)
|
|
|
- _initialized_behaviour_wait_for_action_megamodelling_36 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/going_manual"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_36 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/operations/model_types"]])
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_36.setAction(self._initialized_behaviour_wait_for_action_megamodelling_36_exec)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_36.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_megamodelling_36.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_36_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_36)
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_37 = Transition(self, self.states["/initialized/behaviour/wait_for_action/megamodelling"], [self.states["/initialized/behaviour/going_manual"]])
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_37.setTrigger(None)
|
|
|
+ _initialized_behaviour_wait_for_action_megamodelling_37.setGuard(self._initialized_behaviour_wait_for_action_megamodelling_37_guard)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/megamodelling"].addTransition(_initialized_behaviour_wait_for_action_megamodelling_37)
|
|
|
|
|
|
# transition /initialized/behaviour/wait_for_action/modelling/recognized/manual
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_manual_0 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized/manual"], [self.states["/initialized/behaviour/leaving_manual"]])
|
|
@@ -1944,7 +1948,6 @@ class Modelverse(RuntimeClassBase):
|
|
|
self.raiseInternalEvent(Event("request", None, [['transformation_between'] + self.dict_to_list(self.parameters[0]) + self.dict_to_list(self.parameters[1])]))
|
|
|
|
|
|
def _initialized_behaviour_operations_transformation_signature_enter(self):
|
|
|
- print("Signature of " + str(self.parameters[0]))
|
|
|
self.raiseInternalEvent(Event("request", None, [['transformation_read_signature', self.parameters[0]]]))
|
|
|
|
|
|
def _initialized_behaviour_operations_store_on_scripted_transformation_add_MT_send_metadata_enter(self):
|
|
@@ -1971,12 +1974,12 @@ class Modelverse(RuntimeClassBase):
|
|
|
self.actions[self.context] = []
|
|
|
|
|
|
def _initialized_behaviour_operations_store_on_scripted_transformation_execute_send_operation_enter(self):
|
|
|
- self.raiseInternalEvent(Event("request", None, [['transformation_execute', self.parameters[0]] + self.dict_to_list(self.parameters[1]) + self.dict_to_list(self.parameters[2]) + [self.parameters[4]]]))
|
|
|
- if self.parameters[5] == False:
|
|
|
+ self.raiseInternalEvent(Event("request", None, [['transformation_execute', self.parameters[0]] + self.dict_to_list(self.parameters[1]) + self.dict_to_list(self.parameters[2]) + [self.parameters[3]]]))
|
|
|
+ if self.parameters[4] == False:
|
|
|
self.finish_output_thread = True
|
|
|
|
|
|
def _initialized_behaviour_operations_store_on_scripted_transformation_execute_MANUAL_send_metadata_enter(self):
|
|
|
- self.raiseInternalEvent(Event("request", None, [['transformation_execute', self.parameters[0]] + self.dict_to_list(self.parameters[1]) + self.dict_to_list(self.parameters[2]) + [self.parameters[4]]]))
|
|
|
+ self.raiseInternalEvent(Event("request", None, [['transformation_execute', self.parameters[0]] + self.dict_to_list(self.parameters[1]) + self.dict_to_list(self.parameters[2]) + [self.parameters[3]]]))
|
|
|
self.context = str(uuid.uuid4())
|
|
|
self.actions[self.context] = []
|
|
|
self.raiseInternalEvent(Event("result", None, [self.context]))
|
|
@@ -2520,7 +2523,6 @@ class Modelverse(RuntimeClassBase):
|
|
|
|
|
|
def _initialized_behaviour_operations_transformation_signature_0_exec(self, parameters):
|
|
|
results = self.split_response(self.responses.pop(0))
|
|
|
- print("Got signature: " + str(results))
|
|
|
inputs = {}
|
|
|
outputs = {}
|
|
|
for result in results:
|
|
@@ -2586,7 +2588,6 @@ class Modelverse(RuntimeClassBase):
|
|
|
|
|
|
def _initialized_behaviour_operations_store_on_scripted_transformation_execute_dialog_0_exec(self, parameters):
|
|
|
self.raiseInternalEvent(Event("result", None, [True if self.responses.pop(0) == 'Success' else False]))
|
|
|
- print("RAISING FINISHED")
|
|
|
|
|
|
def _initialized_behaviour_operations_store_on_scripted_transformation_execute_dialog_0_guard(self, parameters):
|
|
|
return self.expect_response('Success', pop=False) or self.expect_response('Failure', pop=False)
|
|
@@ -3048,120 +3049,123 @@ class Modelverse(RuntimeClassBase):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_17_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'transformation_execute')
|
|
|
+ return self.expect_action(None, 'transformation_execute_AL')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_18_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_18_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'transformation_execute_MANUAL')
|
|
|
+ return self.expect_action(None, 'transformation_execute_MT')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_19_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_19_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'process_execute')
|
|
|
+ return self.expect_action(None, 'transformation_execute_MANUAL')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_20_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_20_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'permission_modify')
|
|
|
+ return self.expect_action(None, 'process_execute')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_21_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_21_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'permission_owner')
|
|
|
+ return self.expect_action(None, 'permission_modify')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_22_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_22_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'permission_group')
|
|
|
+ return self.expect_action(None, 'permission_owner')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_23_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_23_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'group_create')
|
|
|
+ return self.expect_action(None, 'permission_group')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_24_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_24_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'group_delete')
|
|
|
+ return self.expect_action(None, 'group_create')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_25_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_25_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'group_owner_add')
|
|
|
+ return self.expect_action(None, 'group_delete')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_26_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_26_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'group_owner_delete')
|
|
|
+ return self.expect_action(None, 'group_owner_add')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_27_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_27_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'group_join')
|
|
|
+ return self.expect_action(None, 'group_owner_delete')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_28_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_28_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'group_kick')
|
|
|
+ return self.expect_action(None, 'group_join')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_29_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_29_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'group_list')
|
|
|
+ return self.expect_action(None, 'group_kick')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_30_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_30_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'admin_promote')
|
|
|
+ return self.expect_action(None, 'group_list')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_31_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_31_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'admin_demote')
|
|
|
+ return self.expect_action(None, 'admin_promote')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_32_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_32_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'conformance_delete')
|
|
|
+ return self.expect_action(None, 'admin_demote')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_33_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_33_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'conformance_add')
|
|
|
+ return self.expect_action(None, 'conformance_delete')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_34_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_34_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'folder_create')
|
|
|
+ return self.expect_action(None, 'conformance_add')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_35_exec(self, parameters):
|
|
|
self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_35_guard(self, parameters):
|
|
|
- return self.expect_action(None, 'model_types')
|
|
|
+ return self.expect_action(None, 'folder_create')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_36_exec(self, parameters):
|
|
|
- print("Going manual for operations: " + str(self.actions[None]))
|
|
|
+ self.load_action(None)
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_36_guard(self, parameters):
|
|
|
+ return self.expect_action(None, 'model_types')
|
|
|
+
|
|
|
+ def _initialized_behaviour_wait_for_action_megamodelling_37_guard(self, parameters):
|
|
|
return self.expect_action(None, ['element_list', 'element_list_nice', 'types', 'types_full', 'read_info', 'read_attrs', 'read_defined_attrs', 'instantiate', 'delete_element', 'attr_assign', 'attr_assign_code', 'attr_delete', 'read_outgoing', 'read_incoming', 'read_association_source', 'read_association_destination', 'connections_between', 'define_attribute', 'undefine_attribute', 'all_instances', 'attr_optional', 'attr_type', 'attr_name'])
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_manual_0_guard(self, parameters):
|