Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 377615 - Query View : filter to show applicable elements only
Summary: Query View : filter to show applicable elements only
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: EMF-Facet (show other bugs)
Version: unspecified   Edit
Hardware: All All
: P2 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Gregoire Dupe CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-25 07:49 EDT by Olivier Remaud CLA
Modified: 2020-05-01 11:27 EDT (History)
2 users (show)

See Also:
gdupe: juno+


Attachments
Proposed patch (5.18 KB, patch)
2012-04-25 07:52 EDT, Olivier Remaud CLA
gdupe: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Remaud CLA 2012-04-25 07:49:59 EDT
In Query View (Navigation View), the query selection view displays all available queries (DerivedTypedElements) : the user is responsible for selecting the correct query according to elements present in the source view.
It would be useful to filter the query list to show only applicable queries according to source view content.
Comment 1 Olivier Remaud CLA 2012-04-25 07:52:49 EDT
Created attachment 214522 [details]
Proposed patch

Here's a proposed patch for query view filtering.

(a) I, Olivier Remaud, wrote 100% of the code I've provided.
(b) I have the right to contribute the code to Eclipse.
(c) I contribute the content under the EPL.
(d) This contribution contains no Cryptography features.
Comment 2 Gregoire Dupe CLA 2012-04-25 11:24:36 EDT
Comment on attachment 214522 [details]
Proposed patch

Here is a patch smaller than 250 lines (38 lines modified of added).

I've committed this patch.

Committed revision 2128.
Comment 3 Gregoire Dupe CLA 2012-04-25 11:25:01 EDT
This bug can be marked as fixed.
Comment 4 Gregoire Dupe CLA 2012-04-25 12:11:35 EDT
I've added some more modifications to be able to deal with aggregates and sub facet sets.

Committed revision 2129.
Comment 5 Olivier Remaud CLA 2012-04-26 09:16:27 EDT
Filtering is OK now.