updated BaseUI
authorMax Usachev <maxusachev@gmail.com>
Tue, 15 Jun 2010 09:18:37 +0000 (12:18 +0300)
committerMax Usachev <maxusachev@gmail.com>
Tue, 15 Jun 2010 09:18:37 +0000 (12:18 +0300)
ui/ui.py

index 6726220..173a3b7 100644 (file)
--- a/ui/ui.py
+++ b/ui/ui.py
@@ -14,24 +14,24 @@ class MeabookUI:
         """Close UI."""
         pass
 
-    def show_items(self, items, level):
-        """Shows items on selected level."""
-        pass
 
-    def get_current_level(self):
-        """Gets current UI level."""
+    # dialogs
+    def create_about_dialog(self):
+        """Creates About Dialog."""
         pass
 
+    def create_configuration_dialog(self, controller, config):
+        """Creates Configuration Dialog."""
+        pass
 
-    # dialogs
-    def show_about_dialog(self):
-        """Shows About Dialog."""
+    def create_import_dialog(self):
+        """Creates Import Dialog."""
         pass
 
-    def show_fields_to_show_dialog(self):
-        """Shows Fields Dialog."""
+    def create_information_dialog(self, title, message):
+        """Creates Information Dialog."""
         pass
 
-    def show_fileds_order_dialog(self):
-        """Shows FiledOrder Dialog."""
+    def create_progress_dialog(self):
+        """Creates Progress Dialog."""
         pass