Bug 101516 - Sort extensions in PDE plug-in XML editor
Summary: Sort extensions in PDE plug-in XML editor
Status: RESOLVED FIXED
Alias: None
Product: PDE
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.0   Edit
Hardware: PC Windows XP
: P3 enhancement (vote)
Target Milestone: 3.3 M1   Edit
Assignee: Benjamin Muskalla CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2005-06-23 14:19 EDT by Darin Wright CLA
Modified: 2007-06-05 18:01 EDT (History)
3 users (show)

See Also:


Attachments
Patch to sort the Extensions Tree (1.24 KB, patch)
2006-07-17 20:27 EDT, Benjamin Muskalla CLA
no flags Details | Diff
sort_extensions_button.diff (4.55 KB, patch)
2006-07-21 12:21 EDT, Benjamin Muskalla CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Darin Wright CLA 2005-06-23 14:19:14 EDT
3.1

It would be helpful to be able to sort the extensions listed in the extensions 
tab of the plug-in XML editor alphabetically, or by declared order.
Comment 1 Wassim Melhem CLA 2005-06-23 14:21:30 EDT
good suggestion.

In the meantime, you can sort them in the outline view.  Maybe that could help.
Comment 2 Darin Wright CLA 2005-06-23 14:25:59 EDT
Ah - I didn't have the outline view open. My laptop doesn't have enough screen 
space.
Comment 3 Wassim Melhem CLA 2005-06-23 14:27:45 EDT
oh no.  still using the laptop I saw a year and a half ago?  if so, that's the 
real tragedy :-)
Comment 4 Benjamin Muskalla CLA 2006-07-17 20:27:24 EDT
Created attachment 46413 [details]
Patch to sort the Extensions Tree

This should add the needed functionality.
Comment 5 Wassim Melhem CLA 2006-07-20 23:14:23 EDT
The patch attached in comment 4 is not sufficient.  We do not want to sort the extensions all the time.  Order is important.  You would want a way to toggle sorting on/off.
Comment 6 Benjamin Muskalla CLA 2006-07-21 00:30:05 EDT
I thought of a additional button under the "down" button. I just implemented something like this, works great. But i think a nice way to toggle sorting would be a toggle button. But for this, we need to patch the SharedPartWithButtons class. Any suggestions?
Comment 7 Wassim Melhem CLA 2006-07-21 00:59:49 EDT
It would be nice/simple to control the sorting action via an icon that gets added to the row buttons already on the top right of the Extensions page.  

The icon would be the a->z icon used to sort in the Outline view of the plug-in editor and java editor.
Comment 8 Benjamin Muskalla CLA 2006-07-21 12:21:20 EDT
Created attachment 46645 [details]
sort_extensions_button.diff

Wassim, did you mean something like this?
Comment 9 Wassim Melhem CLA 2006-07-21 22:12:51 EDT
Patch plays well.  Thanks Benjamin.