def __init__(self, model, view):
        """Constructor
        :param model StateMachineModel should be exchangeable
        """
        assert isinstance(model, StateMachineManagerModel)

        ExtendedController.__init__(self, model, view)
        self.view_is_registered = False

        self._mode = 'branch'
        self.with_tree = True
        self.tree_folded = False

        assert self._mode in ['trail', 'branch']
        self.history_tree_store = Gtk.TreeStore(GObject.TYPE_STRING, GObject.TYPE_STRING, GObject.TYPE_STRING, GObject.TYPE_STRING, GObject.TYPE_STRING, GObject.TYPE_STRING, GObject.TYPE_PYOBJECT, GObject.TYPE_STRING, GObject.TYPE_STRING)
        if view is not None:
            view['history_tree'].set_model(self.history_tree_store)
        view['history_tree'].set_tooltip_column(8)

        # view.set_hover_expand(True)

        self.__my_selected_sm_id = None
        self._selected_sm_model = None

        self.doing_update = False
        self.no_cursor_observation = False
        self.next_activity_focus_self = True
        self.on_toggle_mode_check_gaphas_view_is_meta_data_consistent = True

        self.register()
def __init__ ( self , model , view ) : assert isinstance ( model , StateMachineManagerModel ) ExtendedController . __init__ ( self , model , view ) self . view_is_registered = False self . _mode = 'branch' self . with_tree = True self . tree_folded = False assert self . _mode in [ 'trail' , 'branch' ] self . history_tree_store = Gtk . TreeStore ( GObject . TYPE_STRING , GObject . TYPE_STRING , GObject . TYPE_STRING , GObject . TYPE_STRING , GObject . TYPE_STRING , GObject . TYPE_STRING , GObject . TYPE_PYOBJECT , GObject . TYPE_STRING , GObject . TYPE_STRING ) if view is not None : view [ 'history_tree' ] . set_model ( self . history_tree_store ) view [ 'history_tree' ] . set_tooltip_column ( 8 ) self . __my_selected_sm_id = None self . _selected_sm_model = None self . doing_update = False self . no_cursor_observation = False self . next_activity_focus_self = True self . on_toggle_mode_check_gaphas_view_is_meta_data_consistent = True self . register ( )
Constructor
        :param model StateMachineModel should be exchangeable