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 36119 - [2003-09-26] Specify default positions of all TopComponents in NB standard distro
Summary: [2003-09-26] Specify default positions of all TopComponents in NB standard di...
Status: RESOLVED FIXED
Alias: None
Product: platform
Classification: Unclassified
Component: Window System (show other bugs)
Version: 3.x
Hardware: PC All
: P1 blocker (vote)
Assignee: jrojcek
URL:
Keywords:
Depends on:
Blocks: 36120
  Show dependency tree
 
Reported: 2003-09-16 16:16 UTC by Peter Zavadsky
Modified: 2008-12-22 15:55 UTC (History)
0 users

See Also:
Issue Type: TASK
Exception Reporter:


Attachments
Default layout of default modes. (3.16 KB, image/png)
2003-09-26 14:03 UTC, jrojcek
Details
Patch for AutocommentTopComponent (apply, just after merge!) (1009 bytes, patch)
2003-10-07 12:01 UTC, Peter Zavadsky
Details | Diff
Patch for TransactionView (apply after merge!) (1.24 KB, patch)
2003-10-07 14:41 UTC, Peter Zavadsky
Details | Diff
Patch for CvcAnnotate (apply after merge!) (1.45 KB, patch)
2003-10-07 15:06 UTC, Peter Zavadsky
Details | Diff
Patch for CommandOuputVisualizer (apply after merge) (1.45 KB, patch)
2003-10-07 15:11 UTC, Peter Zavadsky
Details | Diff
diff of javadoc module (1.11 KB, patch)
2003-10-24 13:42 UTC, Peter Zavadsky
Details | Diff
diff of monitor module (4.38 KB, patch)
2003-10-24 13:42 UTC, Peter Zavadsky
Details | Diff
diff of vcscore module (7.14 KB, patch)
2003-10-24 13:43 UTC, Peter Zavadsky
Details | Diff
diff of vcsgeneric module (1.34 KB, patch)
2003-10-24 13:43 UTC, Peter Zavadsky
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Zavadsky 2003-09-16 16:16:17 UTC
It is necessary to revise all the TopComponents,
and specify their default positions in new split
layer.
Comment 1 Peter Zavadsky 2003-09-26 13:19:54 UTC
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.
Comment 2 jrojcek 2003-09-26 13:58:25 UTC
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.
Comment 3 jrojcek 2003-09-26 14:03:01 UTC
Created attachment 11722 [details]
Default layout of default modes.
Comment 4 jrojcek 2003-09-26 14:10:10 UTC
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.
Comment 5 Peter Zavadsky 2003-09-26 14:32:57 UTC
OK, I take care about the actions. Now just of those on branched
modules, the rest after merge (e.g. Vcs I guess).
Comment 6 _ ttran 2003-09-28 20:09:32 UTC
added "in NB standard distro" to the summary field
Comment 7 Peter Zavadsky 2003-10-07 12:01:29 UTC
Created attachment 11806 [details]
Patch for AutocommentTopComponent (apply, just after merge!)
Comment 8 Peter Zavadsky 2003-10-07 12:21:47 UTC
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
Comment 9 Peter Zavadsky 2003-10-07 14:41:01 UTC
Created attachment 11808 [details]
Patch for TransactionView (apply after merge!)
Comment 10 Peter Zavadsky 2003-10-07 15:06:08 UTC
Created attachment 11809 [details]
Patch for CvcAnnotate (apply after merge!)
Comment 11 Peter Zavadsky 2003-10-07 15:11:58 UTC
Created attachment 11810 [details]
Patch for CommandOuputVisualizer (apply after merge)
Comment 12 jrojcek 2003-10-08 13:23:09 UTC
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"
Comment 13 jrojcek 2003-10-20 14:36:30 UTC
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
Comment 14 Peter Zavadsky 2003-10-24 13:41:16 UTC
Attention!!!!

Ignore the above diffs, those ones are corrected, use the below ones!
Comment 15 Peter Zavadsky 2003-10-24 13:42:01 UTC
Created attachment 11958 [details]
diff of javadoc module
Comment 16 Peter Zavadsky 2003-10-24 13:42:39 UTC
Created attachment 11959 [details]
diff of monitor module
Comment 17 Peter Zavadsky 2003-10-24 13:43:05 UTC
Created attachment 11960 [details]
diff of vcscore module
Comment 18 Peter Zavadsky 2003-10-24 13:43:31 UTC
Created attachment 11961 [details]
diff of vcsgeneric module
Comment 19 Peter Zavadsky 2003-11-12 08:40:29 UTC
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