Summary: | Sort extensions in PDE plug-in XML editor | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] PDE | Reporter: | Darin Wright <darin.eclipse> | ||||||
Component: | UI | Assignee: | Benjamin Muskalla <b.muskalla> | ||||||
Status: | RESOLVED FIXED | QA Contact: | |||||||
Severity: | enhancement | ||||||||
Priority: | P3 | CC: | b.muskalla, gheorghe, pombredanne | ||||||
Version: | 3.0 | Keywords: | contributed | ||||||
Target Milestone: | 3.3 M1 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Darin Wright
2005-06-23 14:19:14 EDT
good suggestion. In the meantime, you can sort them in the outline view. Maybe that could help. Ah - I didn't have the outline view open. My laptop doesn't have enough screen space. oh no. still using the laptop I saw a year and a half ago? if so, that's the real tragedy :-) Created attachment 46413 [details]
Patch to sort the Extensions Tree
This should add the needed functionality.
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. 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? 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. Created attachment 46645 [details]
sort_extensions_button.diff
Wassim, did you mean something like this?
Patch plays well. Thanks Benjamin. |