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: | Patch for: Edit->Find Usages should be grayed (disabled) when no projects opened | ||
---|---|---|---|
Product: | editor | Reporter: | dlipin <dlipin> |
Component: | Refactoring | Assignee: | Ralph Ruijs <ralphbenjamin> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | markiewb |
Priority: | P4 | Keywords: | PATCH_AVAILABLE, USABILITY |
Version: | 6.x | ||
Hardware: | All | ||
OS: | All | ||
Issue Type: | DEFECT | Exception Reporter: | |
Attachments: | Proposed patch |
Description
dlipin
2010-05-27 15:52:25 UTC
Set target-milestone of open issue to TBD (was < 7.3, f.e. 6.8), so the issue doesn't get lost. Set target-milestone of open issue to TBD (was < 7.3, f.e. 6.8), so the issue doesn't get lost. This time the target milestone is really set. Created attachment 132436 [details]
Proposed patch
I like to propose this little patch to solve the issue. The action is only enabled when there is at least one ActionsImplementationProvider supports the current context.
@NB-Devs: Please review, discuss and commit. Thank you
@Miroslav: Any change to get the patch integrated into 7.4? Integrated into jet-main #d00c9fa3f6b6 Integrated into 'main-silver', will be available in build *201405230001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/d00c9fa3f6b6 User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org> Log: #186823 - Edit->Find Usages grayed when there is no provider for the current context |