Mercurial > MadButterfly
comparison pyink/domview.py @ 1348:22a79dcbaec6
Change structure of provide_traits and method_map_traits
author | Thinker K.F. Li <thinker@codemud.net> |
---|---|
date | Sat, 12 Feb 2011 19:22:21 +0800 |
parents | e0400a2b7c35 |
children | 17fa5d78200b |
comparison
equal
deleted
inserted
replaced
1347:aaa88d805aac | 1348:22a79dcbaec6 |
---|---|
975 # | 975 # |
976 @composite | 976 @composite |
977 class domview(domview_monitor): | 977 class domview(domview_monitor): |
978 use_traits = (component_manager,) | 978 use_traits = (component_manager,) |
979 | 979 |
980 method_map_component_manager = \ | 980 method_map_traits = {component_manager._start_component_manager: |
981 {component_manager._start_component_manager: | 981 '_start_component_manager'} |
982 '_start_component_manager'} | |
983 method_map_traits = {component_manager: method_map_component_manager} | |
984 | 982 |
985 # Declare variables, here, for keeping tracking | 983 # Declare variables, here, for keeping tracking |
986 _doc = None | 984 _doc = None |
987 _root = None | 985 _root = None |
988 | 986 |