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.
Summary: | add support for window layout roles to TopComponent registration annotation | ||
---|---|---|---|
Product: | platform | Reporter: | Stanislav Aubrecht <saubrecht> |
Component: | Window System | Assignee: | Stanislav Aubrecht <saubrecht> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | jglick |
Priority: | P2 | Keywords: | API, API_REVIEW_FAST |
Version: | 7.1 | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | ENHANCEMENT | Exception Reporter: | |
Bug Depends on: | 203553 | ||
Bug Blocks: | |||
Attachments: | proposed patch & api changes |
Description
Stanislav Aubrecht
2011-06-16 09:22:13 UTC
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) |