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.
It is necessary to revise all the TopComponents, and specify their default positions in new split layer.
I was checking whether some modules defines another kind of mode... with xml layer.. the modules which defines modes are just under core, form, and debuggercore.. which are branched.... other modules which define its own modes are freestylebrowser, objectbrowser and ui/welcome... since two first aren't used in default build and the ui/welcome just redefines editor (which is defined above).. there shouldn't be any problem.
The default window positions are defined by seven cells in window's split cell layout. A "cell" corresponds to "mode" in the implementation. The modes are following (please look at the attached image below): - Documents (the editor mode), Explorer, Output, Debugger, Palette, Inspector, Properties (all of these are a view modes) Each NetBeans IDE window (top component) is open in one of those modes by default. Follows the list of modes and contained top components (in case of view modes the order matters): **** Documents **** - all documents (open action over a node in explorer) - all VCS outputs - "Auto Comment" - "Javadoc Index Search" (Shift+F1) - "Web Browser" - "Welcome Screen" **** Explorer **** - Filesystems - Project - Runtime - VCS Filesystems (renamed from Versioning Explorer) - VCS Groups **** Output **** - Output (renamed from Output Window) **** Debugger **** - Watches - Local Variables - Call Stack - Classes - Breakpoints - Sessions - Threads - Execution (renamed from Execution View) - HTTP Monitor **** Palette **** - Palette (renamed from Component Palette) **** Inspector **** - Inspector (renamed from Component Inspector) **** Properties **** - Properties =================================================== Above stated changes require some changes in Window menu. The Window menu would look like this: | Window | -------------- Filesystems Projects Runtime Properties HTTP Monitor Execution Output GUI Editor > Debugger > Versioning > -------------- ... The container menus contain following submenus: GUI Editor > Palette Inspector Debugger > Local Variables Watches Call Stack Classes Breakpoints Sessions Threads Versioning > VCS Filesystems VCS Groups * Note that I have removed the Web Browser (which should be accessible from Tools menu) * I also removed the Debugger console due to problems with multi session debugging. The debugger console should be part of output window until we find a better solution.
Created attachment 11722 [details] Default layout of default modes.
One note to add: As defined in the spec all the view windows must have a menu item in the Window menu. The spec also says that only view windows can be open in the view area of window system. Therefor we should assure that each top component, which was open outside of main window or in a different internal floating window than editor in the old window system, would open as a tab in documents mode in the new window system.
OK, I take care about the actions. Now just of those on branched modules, the rest after merge (e.g. Vcs I guess).
added "in NB standard distro" to the summary field
Created attachment 11806 [details] Patch for AutocommentTopComponent (apply, just after merge!)
Web browser (swing one) is shown now opened in editor mode. openide/windows/../awt/HtmlBrowser$BrowserComponent.java 1.2.10.2 core/../NbTopManager.java 1.179.2.16
Created attachment 11808 [details] Patch for TransactionView (apply after merge!)
Created attachment 11809 [details] Patch for CvcAnnotate (apply after merge!)
Created attachment 11810 [details] Patch for CommandOuputVisualizer (apply after merge)
One addition to default placement of top components. "Search Results" should open in the "Documents" mode. So, the Documents mode contains: **** Documents **** - all documents (open action over a node in explorer) - all VCS outputs - "Auto Comment" - "Javadoc Index Search" (Shift+F1) - "Web Browser" - "Welcome Screen" - "Search Results"
I have created a special document summarizing default NetBeans IDE layout, window groups and windowing menus. The NetBeans IDE winsys document: http://ui.netbeans.org/docs/ui/ws/ws_spec-netbeans_ide.html
Attention!!!! Ignore the above diffs, those ones are corrected, use the below ones!
Created attachment 11958 [details] diff of javadoc module
Created attachment 11959 [details] diff of monitor module
Created attachment 11960 [details] diff of vcscore module
Created attachment 11961 [details] diff of vcsgeneric module
Patches applied to trunk, also added java module (warmup task refined). java/../JavaWarmUpTask.java 1.6 javadoc/../search/Bundle.properties 1.56 monitor/../client/Bundle.properties 1.12 monitor/../client/MonitorAction.java 1.7 monitor/../resources/layer.xml 1.9 vcsgeneric/../advanced/config/mf-layer.xml 1.20 vcscore/../Bundle.properties 1.27 vcscore/../actions/Bundle.properties 1.28 vcscore/../grouping/VcsGroupMenuAction.java 1.14 vcscore/../resources/mf-layer.xml 1.27 vcscore/../versioning/impl/VersioningExplorer.java 1.11