Looking for fields is always looking for usages - fixing (Remote FU did not work for fields before)
authorJan Lahoda <jlahoda@netbeans.org>
Tue, 10 Jul 2012 20:47:26 +0200
changeset 82277592a5f7e76
parent 821 d2b605cfb8be
child 823 3ed9d490fb91
Looking for fields is always looking for usages - fixing (Remote FU did not work for fields before)
remoting/ide/usages/manifest.mf
remoting/ide/usages/src/org/netbeans/modules/jackpot30/ide/usages/RemoteUsages.java
     1.1 --- a/remoting/ide/usages/manifest.mf	Tue Jul 10 18:48:12 2012 +0200
     1.2 +++ b/remoting/ide/usages/manifest.mf	Tue Jul 10 20:47:26 2012 +0200
     1.3 @@ -3,5 +3,5 @@
     1.4  OpenIDE-Module: org.netbeans.modules.jackpot30.ide.usages
     1.5  OpenIDE-Module-Localizing-Bundle: org/netbeans/modules/jackpot30/ide/usages/Bundle.properties
     1.6  OpenIDE-Module-Requires: org.openide.windows.WindowManager
     1.7 -OpenIDE-Module-Specification-Version: 1.8
     1.8 +OpenIDE-Module-Specification-Version: 1.9
     1.9  
     2.1 --- a/remoting/ide/usages/src/org/netbeans/modules/jackpot30/ide/usages/RemoteUsages.java	Tue Jul 10 18:48:12 2012 +0200
     2.2 +++ b/remoting/ide/usages/src/org/netbeans/modules/jackpot30/ide/usages/RemoteUsages.java	Tue Jul 10 20:47:26 2012 +0200
     2.3 @@ -193,7 +193,10 @@
     2.4              case CLASS:
     2.5              case INTERFACE:
     2.6              case ANNOTATION_TYPE: searchKind = new ClassOptions(options); break;
     2.7 -            default: searchKind = new JPanel(); break;
     2.8 +            default:
     2.9 +                options.add(RemoteUsages.SearchOptions.USAGES);
    2.10 +                searchKind = new JPanel();
    2.11 +                break;
    2.12          }
    2.13          
    2.14          final JPanel progress = new JPanel();