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.
The status line component should be pluggable. Also the place where the status line appear should be customizable --- at least status line on the bottom edge of the main window should be supported.
On branch platform_32247: Checking in core/src/org/netbeans/core/windows/StatusLine.java; /cvs/core/src/org/netbeans/core/windows/StatusLine.java,v <-- StatusLine.java new revision: 1.17.58.1; previous revision: 1.17 done Added a possibility to specify a custom status line component.
Please don't use services lookup for this, it is not well-suited to that. For now, just find InstanceCookie from a particular place in SFS; can move to Naming or whatever later.
Done. Checking in StatusLine.java; /cvs/core/src/org/netbeans/core/windows/StatusLine.java,v <-- StatusLine.java new revision: 1.17.58.2; previous revision: 1.17.58.1 done
More generally, do you think all GUI components should be pluggable, or just the status line? It seems to me as an interesting idea. On the other hand I guess, if it is supported it should be allowed just at platform, not IDE, level. And it would be probably an API (or SPI?) of specific window system impl (core-windows) not open API. I guess. Is this supposed to be solved that way?
Yes - correct solution should include an API, preferably in the Window system that would allow to do this. Please check also isssue 32255.
Because Window System v1 will not be supported from now by our team, all old winsys issues (now "core/window system v1" issues) are going to be closed as WONTFIX. Changes in API which emerged both from UI spec and problems with adjusting to the older API are described in the document http://core.netbeans.org/windowsystem/changes.html. It shows also recommends how the client code should be adjusted to the new window system. If you think this issue apply also to the new winsys then change the subcomponent (to "core/window system") and REOPEN it.
If the new winsys allows me to specify a custom status line component - this is done. Otherwise reopenning. If you do any change with respect to this - please allow also putting the status line at the lower edge of the main window.
The new status line *is* at the bottom of the main window. But you cannot put it anywhere else. Still important? I have a separate issue open for letting you put it in the menu bar as you could in 3.5.
The point is to be able to plug in my JComponent as the status line. If this is possible -- this is solved. I didn't check the trunk - is it possible?
No, it is not possible now. There is just the mentioned issue #37289 to be able put the status line into toolbar, but not replace the component. So, now I'm thinking how to alow you to provide the component. Whether via certain place in layer or what.
Custom menu bar e.g here http://www.netbeans.org/source/browse/core/src/org/netbeans/core/windows/Attic/MainWindow.java.diff?r1=1.57&r2=1.57.16.1&showattic=1 custom status line e.g. here: http://www.netbeans.org/source/browse/core/src/org/netbeans/core/windows/Attic/StatusLine.java.diff?r1=1.17&r2=1.17.58.2&showattic=1 Yes using fixed place on the SFS is the easiest way.
I will make this issue the same as 32255 in order not to go into 2 review processes. They are very similar and I will provide only one patch over there (that will solve both). *** This issue has been marked as a duplicate of 32255 ***