From Matevz:
Reimplementation of TGedFrame and tab management. 1. Change creation of class-editors: Use TClass::New() for instantiation. When fModel is changed, store it in a local map fFrameMap. During construction get them from pool or instantiate. 2. Handle visibility and order of class-editors: Traverse the class hierarchy and construct a list of visible frames. Each class-editor can override the default behavior by implementing the virtual TGedFrame::ActivateBaseClassEditors() method. 3. New SetModel scheme: Hide currently shown tabs and their contents, then return them to fFrameMap pool. Activate desired TGedFrames and appropriate extra tabs Recursively descend via TGedEditor::ActivateEditor(TClass* c, Bool t recurse) and TGedEditor::ActivateEditors(TList* classes, Bool t recurse). For each encountered class-editor (not all classes have editors) redirect recursion via virtual TGedFrame::ActivateBaseClassEditors(TClass* c). git-svn-id: http://root.cern.ch/svn/root/trunk@16327 27541ba8-7e3a-0410-8455-c3a389f83636
This diff is collapsed.
Please register or sign in to comment