# This patch file was generated by NetBeans IDE # Following Index: paths are relative to: D:\workspace\nb72-src\main # This patch can be applied using context Tools: Patch action on respective folder. # It uses platform neutral UTF-8 encoding and \n newlines. # Above lines and this line are ignored by the patching process. Index: refactoring.api/src/org/netbeans/modules/refactoring/spi/impl/WhereUsedAction.java --- refactoring.api/src/org/netbeans/modules/refactoring/spi/impl/WhereUsedAction.java Base (BASE) +++ refactoring.api/src/org/netbeans/modules/refactoring/spi/impl/WhereUsedAction.java Locally Modified (Based On LOCAL) @@ -89,7 +89,7 @@ @Override protected boolean enable(Lookup context) { - return true; + return ActionsImplementationFactory.canFindUsages(context); } @Override