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.
(with jesse's comments fixed)
Integrated into 'main-golden'
User: S. Aubrecht <firstname.lastname@example.org>
Log: #199452 - support window layout roles in TC registration
(Version & TM somehow got mangled when closing)