Bug 3026

Summary: MemoryWindow and RegisterWindow should have their own factories
Product: frysk Reporter: Mike Cvet <mcvet>
Component: generalAssignee: Mike Cvet <mcvet>
Status: RESOLVED FIXED    
Severity: enhancement    
Priority: P2    
Version: unspecified   
Target Milestone: ---   
Host: Target:
Build: Last reconfirmed:
Bug Depends on:    
Bug Blocks: 1633    

Description Mike Cvet 2006-08-10 15:35:04 UTC
The MemoryWindow and RegisterWindow were originally created statically
explicitly by the SourceWindow. These two windows should be dynamic to allow for
multiple windows on multiple tasks, to allow for multiple sessions, and the
ability to create them as Actions via the monitor.
Comment 1 Mike Cvet 2006-08-10 15:37:33 UTC
Log message:
        
        frysk-gui/frysk/gui:
        2006-07-26  Mike Cvet  <mcvet@redhat.com>
        
        * register/RegisterWindowFactory.java: Added: Factory for
        the RegisterWindow.
        * memory/MemoryWindowFactory.java: Added: Factory for the
        MemoryWindow.
        * sessions/ProcessPicker.java: Applied some GNU formatting.
        * Gui.java: Added new imports for RegisterWindowFactory and
        MemoryWindowFactory.
        (Gui): Now calls Memory and Register factories with glade for
        initialization.
        
        frysk-gui/frysk/gui/srcwin:
        2006-07-26  Mike Cvet  <mcvet@redhat.com>
        
        * SourceWindowFactory.java: Added static SourceWindow variable.
        (finishSourceWin): Edited to use above variable.
        * SourceWindow.java: Removed some unnecessary imports and
        global variables for the Memory and Register windows, which is
        now taken care of by their respective factories.
        (SourceWindow): Remove Register and Memory window initialization.
        (attachEvents): Remove listeners for the above windows.
        (doRun): Removed references to the above windows.
        (doStop): Ditto.
        (toggleMemoryWindow): Allows MemoryWindowFactory to take care of
        initialization, showing, hiding, and task assigning.
        (toggleRegisterWindow): Ditto for RegisterWindowFactory.