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 215361

Summary: Refactoring Results Filters
Product: editor Reporter: Ralph Ruijs <ralphbenjamin>
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED FIXED    
Severity: normal CC: apireviews, jbecicka, jlahoda, obrejla, ralphbenjamin, vv159170
Priority: P2 Keywords: API_REVIEW_FAST
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: ENHANCEMENT Exception Reporter:
Bug Depends on:    
Bug Blocks: 159993, 212444    
Attachments: Proposed API
Java Implementation
Proposed API

Description Ralph Ruijs 2012-07-10 14:37:24 UTC
The Refactoring API needs a way to support filters of the Find Usages results. The proposed API allows refactoring plugins to add/enable filters to the results window and refactoring elements to specify if they should be included in the results.
Comment 1 Ralph Ruijs 2012-07-11 09:30:05 UTC
Created attachment 121923 [details]
Proposed API
Comment 2 Ralph Ruijs 2012-07-11 09:30:33 UTC
Created attachment 121924 [details]
Java Implementation
Comment 3 Ralph Ruijs 2012-07-11 09:39:04 UTC
Please review.
Comment 4 Jan Becicka 2012-07-24 14:53:38 UTC
JB1: AbstractRefactoring.getFilterDescription() should be final, right?
JB2: RefactoringSession.isFinished() - why public? Is this change related to this issue?
Comment 5 Ralph Ruijs 2012-08-07 09:23:37 UTC
Created attachment 122826 [details]
Proposed API
Comment 6 Ralph Ruijs 2012-08-07 09:26:09 UTC
JB1&2: Both methods removed from public API

I will integrate tomorrow.
Comment 7 Ralph Ruijs 2012-08-08 07:34:10 UTC
Changeset: d4c2e693e04a
Author:    Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Date:      2012-08-08 09:27
Message:   Issue #215361 - Refactoring Results Filters
Comment 8 Ralph Ruijs 2012-08-08 07:34:19 UTC
Changeset: 88019e1b09c3
Author:    Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Date:      2012-08-08 09:32
Message:   Issue #215361 - Refactoring Results Filters
Comment 9 Quality Engineering 2012-08-10 02:25:19 UTC
Integrated into 'main-golden', will be available in build *201208100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/d4c2e693e04a
User: Ralph Benjamin Ruijs <ralphbenjamin@netbeans.org>
Log: Issue #215361 - Refactoring Results Filters