Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320421 - QVTo Editor: sort QVTo module operations in the QVTo outline by context rather by kind & file order
Summary: QVTo Editor: sort QVTo module operations in the QVTo outline by context rathe...
Status: NEW
Alias: None
Product: QVTo
Classification: Modeling
Component: UI (show other bugs)
Version: unspecified   Edit
Hardware: Macintosh Mac OS X
: P3 normal (vote)
Target Milestone: 3.1   Edit
Assignee: Sergey Boyko CLA
QA Contact:
URL:
Whiteboard: Usability
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-20 12:53 EDT by Nicolas Rouquette CLA
Modified: 2011-01-26 05:28 EST (History)
1 user (show)

See Also:
serg.boyko2011: indigo+


Attachments
Sorting the outline of the module operations by context name. (1.88 KB, patch)
2010-07-20 12:56 EDT, Nicolas Rouquette CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.