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.
support for multiple window layouts has been introduced into the window system recently (issue #198856) the annotation for TopComponent registration should be extended to allow the specification of the role the window should belong to.
Created attachment 108924 [details] proposed patch & api changes
if there are no objections, i'll integrate the patch tomorrow
[JG01] This code: if( role.trim().isEmpty() ) role = null; String rootFolder = "Windows2"; if( null != role ) rootFolder += "/Roles/" + role; could be simplified to: String rootFolder = role.isEmpty() ? "Windows2" : "Windows2/Roles/" + role; [JG02] Add to TopComponentProcessorTest.
core-main 322a0a086e28 (with jesse's comments fixed)
Integrated into 'main-golden' Changeset: http://hg.netbeans.org/main-golden/rev/322a0a086e28 User: S. Aubrecht <saubrecht@netbeans.org> Log: #199452 - support window layout roles in TC registration
(Version & TM somehow got mangled when closing)