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: | [2003-11-12] Adapt search results window for the new window system | ||
---|---|---|---|
Product: | utilities | Reporter: | Tomas Pavek <tpavek> |
Component: | Search | Assignee: | Marian Petras <mpetras> |
Status: | RESOLVED FIXED | ||
Severity: | blocker | ||
Priority: | P2 | ||
Version: | 3.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | TASK | Exception Reporter: | |
Bug Depends on: | |||
Bug Blocks: | 36118 |
Description
Tomas Pavek
2003-10-09 17:25:23 UTC
See also issue 29836. For the winsys2 merge to trunk I suggest to make the results window a dialog. Issue 36119 suggest to put it to editor, but I think it looks quite ugly there as it is designed now, neither it is very comfortable to use. I think floating non-modal dialog will work best for now. That's all what should be done for the merge. After the merge we will consider redesign of the results in accordance with possible redesign of the whole search feature. Putting contents of the Search Results window into a floating non-modal dialog has been approved by Jano Rojcek (jrojcek@netbeans.org) which cares about UI changes of NetBeans. He also suggested that the buttons at the bottom of the window be not expanded along the whole bottom margin, but aligned to the right side of the margin. Done in the trunk. ResultViewTopComponent was renamed to ResultView as it is not a subclass of TopComponent any more. It is a subclass of JPanel now. It is presented in the form of a non-modal dialog using method org.openide.DialogDisplayer.createDialog(...). Would be nice to remember bounds of the dialog so the user need not move/resize it each time the search is performed. E.g. instead of having weak ref. to the results component the whole dialog could be held. forgot to reopen, please consider what I wrote above OK, I am already working on it. Quick fix applied as I suggested. Look at: /cvs/utilities/src/org/netbeans/modules/search/SearchPerformer.java new revision: 1.23; previous revision: 1.22 |