Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 320421

Summary: QVTo Editor: sort QVTo module operations in the QVTo outline by context rather by kind & file order
Product: [Modeling] QVTo Reporter: Nicolas Rouquette <nicolas.f.rouquette>
Component: UIAssignee: Sergey Boyko <serg.boyko2011>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P3 CC: serg.boyko2011
Version: unspecifiedFlags: serg.boyko2011: indigo+
Target Milestone: 3.1   
Hardware: Macintosh   
OS: Mac OS X   
Whiteboard: Usability
Attachments:
Description Flags
Sorting the outline of the module operations by context name. none

Description Nicolas Rouquette CLA 2010-07-20 12:53:58 EDT
Currently, the QVTo outline shows the operations defined in a given module grouped by kind, i.e.:
- properties
- queries & helpers
- mapping operations
- constructors

Within each kind, the entries in the outline are sorted according to their order in the file.

One unfortunate consequence of this is that queries, helpers and mapping operations that are defined for the same context are often scattered in the outline and difficult to find.

It would be nice to have a toggle to the sorting criteria for the outline of operations defined within a module:
- grouped by kind first, then by file order (i.e., the current outlining strategy)
- sorted by context (i.e., by the name of the operation)
Comment 1 Nicolas Rouquette CLA 2010-07-20 12:56:58 EDT
Created attachment 174768 [details]
Sorting the outline of the module operations by context name.

This patch provides support for sorting the module operations by their signature, which includes their context.

I leave it for later or for someone else to add a UI toggle for changing the outlining criteria for sorting the module operations.