Mercurial > MadButterfly
comparison 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 |
comparison
equal
deleted
inserted
replaced
1330:c2a693a27eb9 | 1331:5da64f67d00d |
---|---|
467 pass | 467 pass |
468 | 468 |
469 def link_to_component(self, comp_name, parent_group): | 469 def link_to_component(self, comp_name, parent_group): |
470 link_node = self._dom.link_to_component(comp_name, parent_group) | 470 link_node = self._dom.link_to_component(comp_name, parent_group) |
471 return link_node | 471 return link_node |
472 | |
473 def rename_component(self, comp_name, new_name): | |
474 self._dom.rename_component(comp_name, new_name) | |
475 pass | |
476 | |
477 def rename_timeline_of_component(self, timeline_name, new_name, comp_name): | |
478 self._dom.rename_timeline_of_component(timeline_name, new_name, | |
479 comp_name) | |
480 pass | |
481 | |
482 def rename_timeline(self, timeline_name, new_name): | |
483 self._dom.rename_timeline(timeline_name, new_name) | |
484 pass | |
472 pass | 485 pass |
473 | 486 |
474 | 487 |
475 ## \brief Bridge of DOM-tree to syncrhonize data-model and UI. | 488 ## \brief Bridge of DOM-tree to syncrhonize data-model and UI. |
476 # | 489 # |