diff pyink/domview_ui.py @ 1331:5da64f67d00d

Rename components and timelines with context menu
author Thinker K.F. Li <thinker@codemud.net>
date Mon, 31 Jan 2011 16:26:21 +0800
parents 407f321f0d7c
children 194c7a831083
line wrap: on
line diff
--- a/pyink/domview_ui.py	Mon Jan 31 14:08:47 2011 +0800
+++ b/pyink/domview_ui.py	Mon Jan 31 16:26:21 2011 +0800
@@ -469,6 +469,19 @@
     def link_to_component(self, comp_name, parent_group):
         link_node = self._dom.link_to_component(comp_name, parent_group)
         return link_node
+
+    def rename_component(self, comp_name, new_name):
+        self._dom.rename_component(comp_name, new_name)
+        pass
+
+    def rename_timeline_of_component(self, timeline_name, new_name, comp_name):
+        self._dom.rename_timeline_of_component(timeline_name, new_name,
+                                               comp_name)
+        pass
+
+    def rename_timeline(self, timeline_name, new_name):
+        self._dom.rename_timeline(timeline_name, new_name)
+        pass
     pass