Bug 3026 - MemoryWindow and RegisterWindow should have their own factories
Summary: MemoryWindow and RegisterWindow should have their own factories
Status: RESOLVED FIXED
Alias: None
Product: frysk
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
: P2 enhancement
Target Milestone: ---
Assignee: Mike Cvet
URL:
Keywords:
Depends on:
Blocks: 1633
  Show dependency treegraph
 
Reported: 2006-08-10 15:35 UTC by Mike Cvet
Modified: 2006-08-10 15:37 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.