|
@@ -50,7 +50,7 @@ class Modelverse(RuntimeClassBase):
|
|
|
self.inputs = []
|
|
|
self.finish_output_thread = False
|
|
|
|
|
|
- self.modelling_operations = ['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']
|
|
|
+ self.modelling_operations = ['element_list', 'element_list_nice', 'types', '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 user_defined_destructor(self):
|
|
|
pass
|
|
@@ -379,184 +379,180 @@ class Modelverse(RuntimeClassBase):
|
|
|
self.states["/initialized/behaviour/operations/types"] = State(70, "/initialized/behaviour/operations/types", self)
|
|
|
self.states["/initialized/behaviour/operations/types"].setEnter(self._initialized_behaviour_operations_types_enter)
|
|
|
|
|
|
- # state /initialized/behaviour/operations/types_full
|
|
|
- self.states["/initialized/behaviour/operations/types_full"] = State(71, "/initialized/behaviour/operations/types_full", self)
|
|
|
- self.states["/initialized/behaviour/operations/types_full"].setEnter(self._initialized_behaviour_operations_types_full_enter)
|
|
|
-
|
|
|
# state /initialized/behaviour/operations/read_info
|
|
|
- self.states["/initialized/behaviour/operations/read_info"] = State(72, "/initialized/behaviour/operations/read_info", self)
|
|
|
+ self.states["/initialized/behaviour/operations/read_info"] = State(71, "/initialized/behaviour/operations/read_info", self)
|
|
|
self.states["/initialized/behaviour/operations/read_info"].setEnter(self._initialized_behaviour_operations_read_info_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/read_attrs
|
|
|
- self.states["/initialized/behaviour/operations/read_attrs"] = State(73, "/initialized/behaviour/operations/read_attrs", self)
|
|
|
+ self.states["/initialized/behaviour/operations/read_attrs"] = State(72, "/initialized/behaviour/operations/read_attrs", self)
|
|
|
self.states["/initialized/behaviour/operations/read_attrs"].setEnter(self._initialized_behaviour_operations_read_attrs_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/read_defined_attrs
|
|
|
- self.states["/initialized/behaviour/operations/read_defined_attrs"] = State(74, "/initialized/behaviour/operations/read_defined_attrs", self)
|
|
|
+ self.states["/initialized/behaviour/operations/read_defined_attrs"] = State(73, "/initialized/behaviour/operations/read_defined_attrs", self)
|
|
|
self.states["/initialized/behaviour/operations/read_defined_attrs"].setEnter(self._initialized_behaviour_operations_read_defined_attrs_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/instantiate
|
|
|
- self.states["/initialized/behaviour/operations/instantiate"] = State(75, "/initialized/behaviour/operations/instantiate", self)
|
|
|
+ self.states["/initialized/behaviour/operations/instantiate"] = State(74, "/initialized/behaviour/operations/instantiate", self)
|
|
|
|
|
|
# state /initialized/behaviour/operations/instantiate/decide_node_or_edge
|
|
|
- self.states["/initialized/behaviour/operations/instantiate/decide_node_or_edge"] = State(76, "/initialized/behaviour/operations/instantiate/decide_node_or_edge", self)
|
|
|
+ self.states["/initialized/behaviour/operations/instantiate/decide_node_or_edge"] = State(75, "/initialized/behaviour/operations/instantiate/decide_node_or_edge", self)
|
|
|
|
|
|
# state /initialized/behaviour/operations/instantiate/created
|
|
|
- self.states["/initialized/behaviour/operations/instantiate/created"] = State(77, "/initialized/behaviour/operations/instantiate/created", self)
|
|
|
+ self.states["/initialized/behaviour/operations/instantiate/created"] = State(76, "/initialized/behaviour/operations/instantiate/created", self)
|
|
|
|
|
|
# state /initialized/behaviour/operations/delete_element
|
|
|
- self.states["/initialized/behaviour/operations/delete_element"] = State(78, "/initialized/behaviour/operations/delete_element", self)
|
|
|
+ self.states["/initialized/behaviour/operations/delete_element"] = State(77, "/initialized/behaviour/operations/delete_element", self)
|
|
|
self.states["/initialized/behaviour/operations/delete_element"].setEnter(self._initialized_behaviour_operations_delete_element_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/attr_assign
|
|
|
- self.states["/initialized/behaviour/operations/attr_assign"] = State(79, "/initialized/behaviour/operations/attr_assign", self)
|
|
|
+ self.states["/initialized/behaviour/operations/attr_assign"] = State(78, "/initialized/behaviour/operations/attr_assign", self)
|
|
|
self.states["/initialized/behaviour/operations/attr_assign"].setEnter(self._initialized_behaviour_operations_attr_assign_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/attr_assign_code
|
|
|
- self.states["/initialized/behaviour/operations/attr_assign_code"] = State(80, "/initialized/behaviour/operations/attr_assign_code", self)
|
|
|
+ self.states["/initialized/behaviour/operations/attr_assign_code"] = State(79, "/initialized/behaviour/operations/attr_assign_code", self)
|
|
|
self.states["/initialized/behaviour/operations/attr_assign_code"].setEnter(self._initialized_behaviour_operations_attr_assign_code_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/attr_assign_code/sent
|
|
|
- self.states["/initialized/behaviour/operations/attr_assign_code/sent"] = State(81, "/initialized/behaviour/operations/attr_assign_code/sent", self)
|
|
|
+ self.states["/initialized/behaviour/operations/attr_assign_code/sent"] = State(80, "/initialized/behaviour/operations/attr_assign_code/sent", self)
|
|
|
|
|
|
# state /initialized/behaviour/operations/attr_delete
|
|
|
- self.states["/initialized/behaviour/operations/attr_delete"] = State(82, "/initialized/behaviour/operations/attr_delete", self)
|
|
|
+ self.states["/initialized/behaviour/operations/attr_delete"] = State(81, "/initialized/behaviour/operations/attr_delete", self)
|
|
|
self.states["/initialized/behaviour/operations/attr_delete"].setEnter(self._initialized_behaviour_operations_attr_delete_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/attr_type
|
|
|
- self.states["/initialized/behaviour/operations/attr_type"] = State(83, "/initialized/behaviour/operations/attr_type", self)
|
|
|
+ self.states["/initialized/behaviour/operations/attr_type"] = State(82, "/initialized/behaviour/operations/attr_type", self)
|
|
|
self.states["/initialized/behaviour/operations/attr_type"].setEnter(self._initialized_behaviour_operations_attr_type_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/attr_name
|
|
|
- self.states["/initialized/behaviour/operations/attr_name"] = State(84, "/initialized/behaviour/operations/attr_name", self)
|
|
|
+ self.states["/initialized/behaviour/operations/attr_name"] = State(83, "/initialized/behaviour/operations/attr_name", self)
|
|
|
self.states["/initialized/behaviour/operations/attr_name"].setEnter(self._initialized_behaviour_operations_attr_name_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/attr_optional
|
|
|
- self.states["/initialized/behaviour/operations/attr_optional"] = State(85, "/initialized/behaviour/operations/attr_optional", self)
|
|
|
+ self.states["/initialized/behaviour/operations/attr_optional"] = State(84, "/initialized/behaviour/operations/attr_optional", self)
|
|
|
self.states["/initialized/behaviour/operations/attr_optional"].setEnter(self._initialized_behaviour_operations_attr_optional_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/read_outgoing
|
|
|
- self.states["/initialized/behaviour/operations/read_outgoing"] = State(86, "/initialized/behaviour/operations/read_outgoing", self)
|
|
|
+ self.states["/initialized/behaviour/operations/read_outgoing"] = State(85, "/initialized/behaviour/operations/read_outgoing", self)
|
|
|
self.states["/initialized/behaviour/operations/read_outgoing"].setEnter(self._initialized_behaviour_operations_read_outgoing_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/read_incoming
|
|
|
- self.states["/initialized/behaviour/operations/read_incoming"] = State(87, "/initialized/behaviour/operations/read_incoming", self)
|
|
|
+ self.states["/initialized/behaviour/operations/read_incoming"] = State(86, "/initialized/behaviour/operations/read_incoming", self)
|
|
|
self.states["/initialized/behaviour/operations/read_incoming"].setEnter(self._initialized_behaviour_operations_read_incoming_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/read_association_source
|
|
|
- self.states["/initialized/behaviour/operations/read_association_source"] = State(88, "/initialized/behaviour/operations/read_association_source", self)
|
|
|
+ self.states["/initialized/behaviour/operations/read_association_source"] = State(87, "/initialized/behaviour/operations/read_association_source", self)
|
|
|
self.states["/initialized/behaviour/operations/read_association_source"].setEnter(self._initialized_behaviour_operations_read_association_source_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/read_association_destination
|
|
|
- self.states["/initialized/behaviour/operations/read_association_destination"] = State(89, "/initialized/behaviour/operations/read_association_destination", self)
|
|
|
+ self.states["/initialized/behaviour/operations/read_association_destination"] = State(88, "/initialized/behaviour/operations/read_association_destination", self)
|
|
|
self.states["/initialized/behaviour/operations/read_association_destination"].setEnter(self._initialized_behaviour_operations_read_association_destination_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/connections_between
|
|
|
- self.states["/initialized/behaviour/operations/connections_between"] = State(90, "/initialized/behaviour/operations/connections_between", self)
|
|
|
+ self.states["/initialized/behaviour/operations/connections_between"] = State(89, "/initialized/behaviour/operations/connections_between", self)
|
|
|
self.states["/initialized/behaviour/operations/connections_between"].setEnter(self._initialized_behaviour_operations_connections_between_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/define_attribute
|
|
|
- self.states["/initialized/behaviour/operations/define_attribute"] = State(91, "/initialized/behaviour/operations/define_attribute", self)
|
|
|
+ self.states["/initialized/behaviour/operations/define_attribute"] = State(90, "/initialized/behaviour/operations/define_attribute", self)
|
|
|
self.states["/initialized/behaviour/operations/define_attribute"].setEnter(self._initialized_behaviour_operations_define_attribute_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/undefine_attribute
|
|
|
- self.states["/initialized/behaviour/operations/undefine_attribute"] = State(92, "/initialized/behaviour/operations/undefine_attribute", self)
|
|
|
+ self.states["/initialized/behaviour/operations/undefine_attribute"] = State(91, "/initialized/behaviour/operations/undefine_attribute", self)
|
|
|
self.states["/initialized/behaviour/operations/undefine_attribute"].setEnter(self._initialized_behaviour_operations_undefine_attribute_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/all_instances
|
|
|
- self.states["/initialized/behaviour/operations/all_instances"] = State(93, "/initialized/behaviour/operations/all_instances", self)
|
|
|
+ self.states["/initialized/behaviour/operations/all_instances"] = State(92, "/initialized/behaviour/operations/all_instances", self)
|
|
|
self.states["/initialized/behaviour/operations/all_instances"].setEnter(self._initialized_behaviour_operations_all_instances_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/exit_save
|
|
|
- self.states["/initialized/behaviour/operations/exit_save"] = State(94, "/initialized/behaviour/operations/exit_save", self)
|
|
|
+ self.states["/initialized/behaviour/operations/exit_save"] = State(93, "/initialized/behaviour/operations/exit_save", self)
|
|
|
self.states["/initialized/behaviour/operations/exit_save"].setEnter(self._initialized_behaviour_operations_exit_save_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/service_register
|
|
|
- self.states["/initialized/behaviour/operations/service_register"] = State(95, "/initialized/behaviour/operations/service_register", self)
|
|
|
+ self.states["/initialized/behaviour/operations/service_register"] = State(94, "/initialized/behaviour/operations/service_register", self)
|
|
|
self.states["/initialized/behaviour/operations/service_register"].setEnter(self._initialized_behaviour_operations_service_register_enter)
|
|
|
|
|
|
# state /initialized/behaviour/operations/service_stop
|
|
|
- self.states["/initialized/behaviour/operations/service_stop"] = State(96, "/initialized/behaviour/operations/service_stop", self)
|
|
|
+ self.states["/initialized/behaviour/operations/service_stop"] = State(95, "/initialized/behaviour/operations/service_stop", self)
|
|
|
self.states["/initialized/behaviour/operations/service_stop"].setEnter(self._initialized_behaviour_operations_service_stop_enter)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action
|
|
|
- self.states["/initialized/behaviour/wait_for_action"] = State(97, "/initialized/behaviour/wait_for_action", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action"] = State(96, "/initialized/behaviour/wait_for_action", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/disconnected
|
|
|
- self.states["/initialized/behaviour/wait_for_action/disconnected"] = State(98, "/initialized/behaviour/wait_for_action/disconnected", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/disconnected"] = State(97, "/initialized/behaviour/wait_for_action/disconnected", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/connected
|
|
|
- self.states["/initialized/behaviour/wait_for_action/connected"] = State(99, "/initialized/behaviour/wait_for_action/connected", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/connected"] = State(98, "/initialized/behaviour/wait_for_action/connected", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/activity
|
|
|
- self.states["/initialized/behaviour/wait_for_action/activity"] = State(100, "/initialized/behaviour/wait_for_action/activity", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/activity"] = State(99, "/initialized/behaviour/wait_for_action/activity", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/activity/SC
|
|
|
- self.states["/initialized/behaviour/wait_for_action/activity/SC"] = State(101, "/initialized/behaviour/wait_for_action/activity/SC", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/activity/SC"] = State(100, "/initialized/behaviour/wait_for_action/activity/SC", self)
|
|
|
self.states["/initialized/behaviour/wait_for_action/activity/SC"].setEnter(self._initialized_behaviour_wait_for_action_activity_SC_enter)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/activity/SC/forwarding
|
|
|
- self.states["/initialized/behaviour/wait_for_action/activity/SC/forwarding"] = State(102, "/initialized/behaviour/wait_for_action/activity/SC/forwarding", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/activity/SC/forwarding"] = State(101, "/initialized/behaviour/wait_for_action/activity/SC/forwarding", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/activity/OP
|
|
|
- self.states["/initialized/behaviour/wait_for_action/activity/OP"] = State(103, "/initialized/behaviour/wait_for_action/activity/OP", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/activity/OP"] = State(102, "/initialized/behaviour/wait_for_action/activity/OP", self)
|
|
|
self.states["/initialized/behaviour/wait_for_action/activity/OP"].setEnter(self._initialized_behaviour_wait_for_action_activity_OP_enter)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/activity/OP/forwarding
|
|
|
- self.states["/initialized/behaviour/wait_for_action/activity/OP/forwarding"] = State(104, "/initialized/behaviour/wait_for_action/activity/OP/forwarding", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/activity/OP/forwarding"] = State(103, "/initialized/behaviour/wait_for_action/activity/OP/forwarding", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/megamodelling
|
|
|
- self.states["/initialized/behaviour/wait_for_action/megamodelling"] = State(105, "/initialized/behaviour/wait_for_action/megamodelling", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/megamodelling"] = State(104, "/initialized/behaviour/wait_for_action/megamodelling", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/service
|
|
|
- self.states["/initialized/behaviour/wait_for_action/service"] = State(106, "/initialized/behaviour/wait_for_action/service", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/service"] = State(105, "/initialized/behaviour/wait_for_action/service", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/modelling
|
|
|
- self.states["/initialized/behaviour/wait_for_action/modelling"] = State(107, "/initialized/behaviour/wait_for_action/modelling", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/modelling"] = State(106, "/initialized/behaviour/wait_for_action/modelling", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/modelling/recognized
|
|
|
- self.states["/initialized/behaviour/wait_for_action/modelling/recognized"] = State(108, "/initialized/behaviour/wait_for_action/modelling/recognized", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/modelling/recognized"] = State(107, "/initialized/behaviour/wait_for_action/modelling/recognized", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/modelling/recognized/manual
|
|
|
- self.states["/initialized/behaviour/wait_for_action/modelling/recognized/manual"] = State(109, "/initialized/behaviour/wait_for_action/modelling/recognized/manual", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/modelling/recognized/manual"] = State(108, "/initialized/behaviour/wait_for_action/modelling/recognized/manual", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/modelling/recognized/scripted
|
|
|
- self.states["/initialized/behaviour/wait_for_action/modelling/recognized/scripted"] = State(110, "/initialized/behaviour/wait_for_action/modelling/recognized/scripted", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/modelling/recognized/scripted"] = State(109, "/initialized/behaviour/wait_for_action/modelling/recognized/scripted", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/finished
|
|
|
- self.states["/initialized/behaviour/wait_for_action/finished"] = State(111, "/initialized/behaviour/wait_for_action/finished", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/finished"] = State(110, "/initialized/behaviour/wait_for_action/finished", self)
|
|
|
|
|
|
# state /initialized/behaviour/wait_for_action/history
|
|
|
- self.states["/initialized/behaviour/wait_for_action/history"] = DeepHistoryState(112, "/initialized/behaviour/wait_for_action/history", self)
|
|
|
+ self.states["/initialized/behaviour/wait_for_action/history"] = DeepHistoryState(111, "/initialized/behaviour/wait_for_action/history", self)
|
|
|
|
|
|
# state /initialized/behaviour/going_manual
|
|
|
- self.states["/initialized/behaviour/going_manual"] = State(113, "/initialized/behaviour/going_manual", self)
|
|
|
+ self.states["/initialized/behaviour/going_manual"] = State(112, "/initialized/behaviour/going_manual", self)
|
|
|
|
|
|
# state /initialized/behaviour/going_manual/init
|
|
|
- self.states["/initialized/behaviour/going_manual/init"] = State(114, "/initialized/behaviour/going_manual/init", self)
|
|
|
+ self.states["/initialized/behaviour/going_manual/init"] = State(113, "/initialized/behaviour/going_manual/init", self)
|
|
|
self.states["/initialized/behaviour/going_manual/init"].setEnter(self._initialized_behaviour_going_manual_init_enter)
|
|
|
|
|
|
# state /initialized/behaviour/going_manual/search
|
|
|
- self.states["/initialized/behaviour/going_manual/search"] = State(115, "/initialized/behaviour/going_manual/search", self)
|
|
|
+ self.states["/initialized/behaviour/going_manual/search"] = State(114, "/initialized/behaviour/going_manual/search", self)
|
|
|
self.states["/initialized/behaviour/going_manual/search"].setEnter(self._initialized_behaviour_going_manual_search_enter)
|
|
|
|
|
|
# state /initialized/behaviour/going_manual/OK
|
|
|
- self.states["/initialized/behaviour/going_manual/OK"] = State(116, "/initialized/behaviour/going_manual/OK", self)
|
|
|
+ self.states["/initialized/behaviour/going_manual/OK"] = State(115, "/initialized/behaviour/going_manual/OK", self)
|
|
|
self.states["/initialized/behaviour/going_manual/OK"].setEnter(self._initialized_behaviour_going_manual_OK_enter)
|
|
|
|
|
|
# state /initialized/behaviour/going_scripted
|
|
|
- self.states["/initialized/behaviour/going_scripted"] = State(117, "/initialized/behaviour/going_scripted", self)
|
|
|
+ self.states["/initialized/behaviour/going_scripted"] = State(116, "/initialized/behaviour/going_scripted", self)
|
|
|
self.states["/initialized/behaviour/going_scripted"].setEnter(self._initialized_behaviour_going_scripted_enter)
|
|
|
|
|
|
# state /initialized/behaviour/leaving_manual
|
|
|
- self.states["/initialized/behaviour/leaving_manual"] = State(118, "/initialized/behaviour/leaving_manual", self)
|
|
|
+ self.states["/initialized/behaviour/leaving_manual"] = State(117, "/initialized/behaviour/leaving_manual", self)
|
|
|
self.states["/initialized/behaviour/leaving_manual"].setEnter(self._initialized_behaviour_leaving_manual_enter)
|
|
|
|
|
|
# state /initialized/queue
|
|
|
- self.states["/initialized/queue"] = State(119, "/initialized/queue", self)
|
|
|
+ self.states["/initialized/queue"] = State(118, "/initialized/queue", self)
|
|
|
|
|
|
# state /initialized/queue/queue
|
|
|
- self.states["/initialized/queue/queue"] = State(120, "/initialized/queue/queue", self)
|
|
|
+ self.states["/initialized/queue/queue"] = State(119, "/initialized/queue/queue", self)
|
|
|
|
|
|
# add children
|
|
|
self.states[""].addChild(self.states["/init"])
|
|
@@ -613,7 +609,6 @@ class Modelverse(RuntimeClassBase):
|
|
|
self.states["/initialized/behaviour/operations"].addChild(self.states["/initialized/behaviour/operations/element_list"])
|
|
|
self.states["/initialized/behaviour/operations"].addChild(self.states["/initialized/behaviour/operations/element_list_nice"])
|
|
|
self.states["/initialized/behaviour/operations"].addChild(self.states["/initialized/behaviour/operations/types"])
|
|
|
- self.states["/initialized/behaviour/operations"].addChild(self.states["/initialized/behaviour/operations/types_full"])
|
|
|
self.states["/initialized/behaviour/operations"].addChild(self.states["/initialized/behaviour/operations/read_info"])
|
|
|
self.states["/initialized/behaviour/operations"].addChild(self.states["/initialized/behaviour/operations/read_attrs"])
|
|
|
self.states["/initialized/behaviour/operations"].addChild(self.states["/initialized/behaviour/operations/read_defined_attrs"])
|
|
@@ -1154,13 +1149,6 @@ class Modelverse(RuntimeClassBase):
|
|
|
_initialized_behaviour_operations_types_0.setGuard(self._initialized_behaviour_operations_types_0_guard)
|
|
|
self.states["/initialized/behaviour/operations/types"].addTransition(_initialized_behaviour_operations_types_0)
|
|
|
|
|
|
- # transition /initialized/behaviour/operations/types_full
|
|
|
- _initialized_behaviour_operations_types_full_0 = Transition(self, self.states["/initialized/behaviour/operations/types_full"], [self.states["/initialized/behaviour/wait_for_action/history"]])
|
|
|
- _initialized_behaviour_operations_types_full_0.setAction(self._initialized_behaviour_operations_types_full_0_exec)
|
|
|
- _initialized_behaviour_operations_types_full_0.setTrigger(None)
|
|
|
- _initialized_behaviour_operations_types_full_0.setGuard(self._initialized_behaviour_operations_types_full_0_guard)
|
|
|
- self.states["/initialized/behaviour/operations/types_full"].addTransition(_initialized_behaviour_operations_types_full_0)
|
|
|
-
|
|
|
# transition /initialized/behaviour/operations/read_info
|
|
|
_initialized_behaviour_operations_read_info_0 = Transition(self, self.states["/initialized/behaviour/operations/read_info"], [self.states["/initialized/behaviour/wait_for_action/history"]])
|
|
|
_initialized_behaviour_operations_read_info_0.setAction(self._initialized_behaviour_operations_read_info_0_exec)
|
|
@@ -1811,111 +1799,106 @@ class Modelverse(RuntimeClassBase):
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_2.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_2.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_2_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_2)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_3 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/types_full"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_3 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_info"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_3.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_3_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_3.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_3.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_3_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_3)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_4 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_info"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_4 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_attrs"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_4.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_4_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_4.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_4.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_4_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_4)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_5 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_attrs"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_5 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_defined_attrs"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_5.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_5_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_5.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_5.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_5_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_5)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_6 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_defined_attrs"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_6 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/instantiate"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_6.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_6_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_6.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_6.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_6_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_6)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_7 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/instantiate"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_7 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/delete_element"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_7.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_7_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_7.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_7.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_7_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_7)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_8 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/delete_element"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_8 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_assign"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_8.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_8_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_8.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_8.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_8_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_8)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_9 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_assign"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_9 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_assign_code"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_9.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_9_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_9.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_9.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_9_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_9)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_10 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_assign_code"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_10 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_delete"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_10.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_10_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_10.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_10.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_10_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_10)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_11 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_delete"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_11 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_name"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_11.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_11_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_11.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_11.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_11_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_11)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_12 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_name"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_12 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_type"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_12.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_12_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_12.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_12.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_12_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_12)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_13 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_type"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_13 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_optional"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_13.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_13_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_13.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_13.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_13_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_13)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_14 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/attr_optional"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_14 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_outgoing"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_14.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_14_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_14.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_14.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_14_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_14)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_15 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_outgoing"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_15 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_incoming"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_15.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_15_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_15.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_15.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_15_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_15)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_16 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_incoming"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_16 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_association_source"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_16.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_16_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_16.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_16.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_16_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_16)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_17 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_association_source"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_17 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_association_destination"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_17.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_17_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_17.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_17.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_17_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_17)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_18 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/read_association_destination"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_18 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/connections_between"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_18.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_18_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_18.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_18.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_18_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_18)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_19 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/connections_between"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_19 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/define_attribute"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_19.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_19_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_19.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_19.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_19_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_19)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_20 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/define_attribute"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_20 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/undefine_attribute"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_20.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_20_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_20.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_20.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_20_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_20)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_21 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/undefine_attribute"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_21 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/all_instances"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_21.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_21_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_21.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_21.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_21_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_21)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_22 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/all_instances"]])
|
|
|
+ _initialized_behaviour_wait_for_action_modelling_recognized_22 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/exit_save"]])
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_22.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_22_exec)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_22.setTrigger(None)
|
|
|
_initialized_behaviour_wait_for_action_modelling_recognized_22.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_22_guard)
|
|
|
self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_22)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_23 = Transition(self, self.states["/initialized/behaviour/wait_for_action/modelling/recognized"], [self.states["/initialized/behaviour/operations/exit_save"]])
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_23.setAction(self._initialized_behaviour_wait_for_action_modelling_recognized_23_exec)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_23.setTrigger(None)
|
|
|
- _initialized_behaviour_wait_for_action_modelling_recognized_23.setGuard(self._initialized_behaviour_wait_for_action_modelling_recognized_23_guard)
|
|
|
- self.states["/initialized/behaviour/wait_for_action/modelling/recognized"].addTransition(_initialized_behaviour_wait_for_action_modelling_recognized_23)
|
|
|
|
|
|
# transition /initialized/behaviour/going_manual
|
|
|
_initialized_behaviour_going_manual_0 = Transition(self, self.states["/initialized/behaviour/going_manual"], [self.states["/initialized/behaviour/wait_for_action/megamodelling"]])
|
|
@@ -2081,9 +2064,6 @@ class Modelverse(RuntimeClassBase):
|
|
|
def _initialized_behaviour_operations_types_enter(self):
|
|
|
self.raiseInternalEvent(Event("request", None, [['types']]))
|
|
|
|
|
|
- def _initialized_behaviour_operations_types_full_enter(self):
|
|
|
- self.raiseInternalEvent(Event("request", None, [['types_full']]))
|
|
|
-
|
|
|
def _initialized_behaviour_operations_read_info_enter(self):
|
|
|
self.raiseInternalEvent(Event("request", None, [['read_info', self.parameters[1]]]))
|
|
|
|
|
@@ -2308,127 +2288,121 @@ class Modelverse(RuntimeClassBase):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_3_guard(self, parameters):
|
|
|
- return self.expect_action('types_full')
|
|
|
+ return self.expect_action('read_info')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_4_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_4_guard(self, parameters):
|
|
|
- return self.expect_action('read_info')
|
|
|
+ return self.expect_action('read_attrs')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_5_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_5_guard(self, parameters):
|
|
|
- return self.expect_action('read_attrs')
|
|
|
+ return self.expect_action('read_defined_attrs')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_6_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_6_guard(self, parameters):
|
|
|
- return self.expect_action('read_defined_attrs')
|
|
|
+ return self.expect_action('instantiate')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_7_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_7_guard(self, parameters):
|
|
|
- return self.expect_action('instantiate')
|
|
|
+ return self.expect_action('delete_element')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_8_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_8_guard(self, parameters):
|
|
|
- return self.expect_action('delete_element')
|
|
|
+ return self.expect_action('attr_assign')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_9_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_9_guard(self, parameters):
|
|
|
- return self.expect_action('attr_assign')
|
|
|
+ return self.expect_action('attr_assign_code')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_10_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_10_guard(self, parameters):
|
|
|
- return self.expect_action('attr_assign_code')
|
|
|
+ return self.expect_action('attr_delete')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_11_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_11_guard(self, parameters):
|
|
|
- return self.expect_action('attr_delete')
|
|
|
+ return self.expect_action('attr_name')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_12_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_12_guard(self, parameters):
|
|
|
- return self.expect_action('attr_name')
|
|
|
+ return self.expect_action('attr_type')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_13_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_13_guard(self, parameters):
|
|
|
- return self.expect_action('attr_type')
|
|
|
+ return self.expect_action('attr_optional')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_14_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_14_guard(self, parameters):
|
|
|
- return self.expect_action('attr_optional')
|
|
|
+ return self.expect_action('read_outgoing')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_15_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_15_guard(self, parameters):
|
|
|
- return self.expect_action('read_outgoing')
|
|
|
+ return self.expect_action('read_incoming')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_16_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_16_guard(self, parameters):
|
|
|
- return self.expect_action('read_incoming')
|
|
|
+ return self.expect_action('read_association_source')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_17_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_17_guard(self, parameters):
|
|
|
- return self.expect_action('read_association_source')
|
|
|
+ return self.expect_action('read_association_destination')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_18_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_18_guard(self, parameters):
|
|
|
- return self.expect_action('read_association_destination')
|
|
|
+ return self.expect_action('connections_between')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_19_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_19_guard(self, parameters):
|
|
|
- return self.expect_action('connections_between')
|
|
|
+ return self.expect_action('define_attribute')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_20_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_20_guard(self, parameters):
|
|
|
- return self.expect_action('define_attribute')
|
|
|
+ return self.expect_action('undefine_attribute')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_21_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
+ print("Load all_instances for " + str(self.parameters))
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_21_guard(self, parameters):
|
|
|
- return self.expect_action('undefine_attribute')
|
|
|
+ return self.expect_action('all_instances')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_22_exec(self, parameters):
|
|
|
self.load_action()
|
|
|
- print("Load all_instances for " + str(self.parameters))
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_modelling_recognized_22_guard(self, parameters):
|
|
|
- return self.expect_action('all_instances')
|
|
|
-
|
|
|
- def _initialized_behaviour_wait_for_action_modelling_recognized_23_exec(self, parameters):
|
|
|
- self.load_action()
|
|
|
-
|
|
|
- def _initialized_behaviour_wait_for_action_modelling_recognized_23_guard(self, parameters):
|
|
|
return self.expect_action('exit_save')
|
|
|
|
|
|
def _initialized_behaviour_going_manual_0_exec(self, parameters):
|
|
@@ -2892,12 +2866,6 @@ class Modelverse(RuntimeClassBase):
|
|
|
def _initialized_behaviour_operations_types_0_guard(self, parameters):
|
|
|
return self.expect_response_partial('Success: ', pop=False)
|
|
|
|
|
|
- def _initialized_behaviour_operations_types_full_0_exec(self, parameters):
|
|
|
- self.raiseInternalEvent(Event("result", None, [set([tuple(entry.strip().split(' : ')) for entry in self.split_response(self.responses.pop(0))])]))
|
|
|
-
|
|
|
- def _initialized_behaviour_operations_types_full_0_guard(self, parameters):
|
|
|
- return self.expect_response_partial('Success: ', pop=False)
|
|
|
-
|
|
|
def _initialized_behaviour_operations_read_info_0_exec(self, parameters):
|
|
|
response = self.responses.pop(0).split(": ", 1)[1].strip()
|
|
|
values = {line.split(": ", 1)[0]: line.split(": ", 1)[1] for line in response.split("\n", 2)}
|
|
@@ -3352,7 +3320,7 @@ class Modelverse(RuntimeClassBase):
|
|
|
return self.expect_action('exit_save')
|
|
|
|
|
|
def _initialized_behaviour_wait_for_action_megamodelling_39_guard(self, parameters):
|
|
|
- return self.expect_action(['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'])
|
|
|
+ return self.expect_action(['element_list', 'element_list_nice', 'types', '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_service_0_exec(self, parameters):
|
|
|
import modelverse
|