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.
According to UI spec is necessary to implement the short and long names of TopComponent, i.e. enhance API. Jano has to specify how the short, long (btw. also tooltips) will be used.
Assigning temporary to Jano, to specify usage of those methods in winsys impl.
For now, lets implement only short names of windows. It means: - a document window should have the same name as its node in the explorer except the CVS status, which should be excluded from the window title - a view window should have the only one name (due to the fact that the window tab and window title bar are the same thing). The important point is that the "Window" menu actions should always show a non-dynamic names of all windows. It means the properties window has a dynamic title "Properties of ColorPicker" but the menu action is "Properties". The same for "Output - ColorPicker I/O" which is a dynamic title of output window, but the menu action is always "Output". In a future, we might enhance window names by using the long names, which might be useful for displaying CVS status in status line or in main window title.
It needs to be implemented yet, this is just the specification.
Fixed in winsys_29836 branch openide/../text/CloneableEditor.java 1.60.4.3 /windows/TopComponent.java 1.99.2.17 /WindowManager.java 1.35.44.6 core/windows/../windows/Central.java 1.1.2.102 /ViewRequestor.java 1.1.2.39 /WindowManagerImpl 1.1.2.91 /view/DefaultView.java 1.1.2.109 /View.java 1.1.2.22 /ui/AbstractModeContainer.java 1.1.2.9 /TabbedHandler.java 1.1.2.16
Reopened, the hack which extracted the names from CloneableEditorSupport the names isn't sufficient, is incorrect. Needed to enhance the API of CES, for now addin methods (protected ones) messageDisplayName and messageDisplayNameAnnotation.
Fixed in branch winsys_29836 to those changes above added also: openide/../text/CloneableEditor.java 1.60.4.4 /CloneableEditorSupport.java 1.86.8.3 openide/loaders/../text/DataEditorSupport.java 1.5.10.2 Note: It is fixed only for DataEditorSupport subclasses... direct CloneableEditorSupport subclasses will need to implement the messageDisplayName and messageDisplayNameAnnotation methods accordingly.,