diff pyink/FSM_window.py @ 1487:3aba29609607

Rename state modes
author Thinker K.F. Li <thinker@codemud.net>
date Sat, 30 Apr 2011 11:18:44 +0800
parents 471805e582cc
children 757c5626d15d
line wrap: on
line diff
--- a/pyink/FSM_window.py	Sat Apr 30 11:13:51 2011 +0800
+++ b/pyink/FSM_window.py	Sat Apr 30 11:18:44 2011 +0800
@@ -496,7 +496,7 @@
     pass
 
 
-class FSM_move_state_mode(object):
+class _FSM_move_state_mode(object):
     __metaclass__ = data_monitor.data_monitor
     __data_monitor_prefix__ = 'on_'
     
@@ -504,7 +504,7 @@
     _selected_state = None
     
     def __init__(self, window, domview_ui):
-        super(FSM_move_state_mode, self).__init__()
+        super(_FSM_move_state_mode, self).__init__()
         
         self._window = window
         self._domview = domview_ui
@@ -583,7 +583,7 @@
     pass
 
 
-class FSM_add_state_mode(object):
+class _FSM_add_state_mode(object):
     __metaclass__ = data_monitor.data_monitor
     __data_monitor_prefix__ = 'on_'
 
@@ -591,7 +591,7 @@
     _saved_y = 0
 
     def __init__(self, window, domview_ui):
-        super(FSM_add_state_mode, self).__init__()
+        super(_FSM_add_state_mode, self).__init__()
         
         self._window = window
         self._domview = domview_ui
@@ -685,8 +685,8 @@
         self._close_cb = close_cb # callback to close editor window (hide)
         self._destroy_cb = destroy_cb # callback to destroy editor window
 
-        self._move_state_mode = FSM_move_state_mode(self, domview_ui)
-        self._add_state_mode = FSM_add_state_mode(self, domview_ui)
+        self._move_state_mode = _FSM_move_state_mode(self, domview_ui)
+        self._add_state_mode = _FSM_add_state_mode(self, domview_ui)
         pass
 
     def _init_layers(self):