This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 198856

Summary: Multiple window layouts
Product: platform Reporter: Stanislav Aubrecht <saubrecht>
Component: Window SystemAssignee: Stanislav Aubrecht <saubrecht>
Status: RESOLVED FIXED    
Severity: normal CC: anebuzelsky, geertjan, tomwheeler
Priority: P2 Keywords: PLAN
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: TASK Exception Reporter:
Bug Depends on: 198859    
Bug Blocks:    

Description Stanislav Aubrecht 2011-05-24 15:13:58 UTC
Window system should provide support for multiple window layouts - also known as 'perspectives' or 'roles'. Each role should be able to override any default window systems settings - window location, window state (opened/state) etc. User's modifications to window system layout should be saved and restored according to current role. It means user's window layout changes in one role do not affect window layout in other role.
Comment 1 tomwheeler 2011-05-24 17:20:52 UTC
I am very excited to see this enhancement to the Window System.  The ability to save/restore/switch window layouts is something I have heard many NetBeans Platform users request a lot.

The patch in issue #198859 says that it will be possible to switch between window layouts at runtime, but do you expect there will also be an API one could call to save the current window configuration at runtime (i.e. so you could switch back to it later)?  It's not clear from the issue.
Comment 2 Stanislav Aubrecht 2011-06-15 13:55:07 UTC
core-main ef8cca3a9143
Comment 3 Quality Engineering 2011-06-16 19:59:21 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/ef8cca3a9143
User: S. Aubrecht <saubrecht@netbeans.org>
Log: #198856 - multiple window layouts (implementing WindowManager.setRole)