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 219338 - Use the new annotation to register keywords for panels in Options dialog
Summary: Use the new annotation to register keywords for panels in Options dialog
Status: RESOLVED FIXED
Alias: None
Product: groovy
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.3
Hardware: PC Linux
: P2 normal (vote)
Assignee: Martin Janicek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-10-02 10:10 UTC by Theofanis Oikonomou
Modified: 2012-10-04 13:17 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Theofanis Oikonomou 2012-10-02 10:10:36 UTC
A new annotation (bug 218312) was introduced to register keywords for various
panels present in the options window. Please, add appropriate keywords and/or
use the annotation to any panel you choose to, so that the search in options
window works as expected. 

groovy.support module already uses the annotation. Please, re-assign if this is not the correct component. Thank you
Comment 1 Martin Janicek 2012-10-03 14:48:32 UTC
Are those registered keywords used with respect to the lower/upper cases or it doesn't matter? I mean, do I need to register both "groovy" and "Groovy"?
Comment 2 Martin Janicek 2012-10-03 15:01:06 UTC
Ignore my previous comment, I've already figured out that it's not needed :]
One more question, is it somehow possible to let visible only the Groovy subpanel without other subpanels in the same (in this case Miscellaneous) category?
Comment 3 Martin Janicek 2012-10-03 15:07:11 UTC
I've updated registered keywords in: web-main #e697e844e580
If it is possible to let visible only the specific subpanel, I'll make the changes as well..
Comment 4 Theofanis Oikonomou 2012-10-03 15:08:25 UTC
you are correct that it does not matter.

by visible you mean to only show the Groovy tab in the Miscellaneous category when someone searches for groovy? If yes, it can be done (actually this was how I implemented it the first time) but it was thought that this approach was not very nice, so I changed it to just disable all the other tabs in one category. See bug 216474 for more discussion on that.
Comment 5 Martin Janicek 2012-10-03 15:18:04 UTC
> by visible you mean to only show the Groovy tab in the Miscellaneous category
> when someone searches for groovy? 

Actually not, but I would prefer that approach :]

What I was referring is that currently if I try to find "Groovy", I see only the Miscellaneous top-panel which is fine, but I have enabled every sub-panel in that category, which doesn't seem to be correct.
I've tried to add "index" parameter, but that is not allowed for 'Miscellaneous' top-panel.

> If yes, it can be done (actually this was how
> I implemented it the first time) but it was thought that this approach was not
> very nice, so I changed it to just disable all the other tabs in one category.
> See bug 216474 for more discussion on that.

Thanks, I'll take a look at the discussion tomorrow.
Comment 6 Martin Janicek 2012-10-04 13:17:35 UTC
After full build of the IDE, I can't see problematic behavior anymore. Thanks for cooperation