Bug 185401 - [introduce parameter object] Table should support multiselect
Summary: [introduce parameter object] Table should support multiselect
Status: RESOLVED FIXED
Alias: None
Product: JDT
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 3.3   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 3.4 M2   Edit
Assignee: Karsten Becker CLA
QA Contact:
URL:
Whiteboard:
Keywords: contributed
Depends on:
Blocks:
 
Reported: 2007-05-03 13:29 EDT by Markus Keller CLA
Modified: 2007-08-15 06:17 EDT (History)
1 user (show)

See Also:


Attachments
Allow multiple selection and moves (3.24 KB, patch)
2007-05-22 05:05 EDT, Karsten Becker CLA
no flags Details | Diff
Reordering based on indices (4.03 KB, patch)
2007-05-25 11:20 EDT, Karsten Becker CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Markus Keller CLA 2007-05-03 13:29:52 EDT
Table should support multiselect like CMS for easy moving of multiple fields.
Comment 1 Karsten Becker CLA 2007-05-22 05:05:04 EDT
Created attachment 68082 [details]
Allow multiple selection and moves
Comment 2 Martin Aeschlimann CLA 2007-05-23 06:59:32 EDT
I think you can rely on the order of element inside a IStructuredSelection. So up/down wouldn't works when the order is not to-down. I think getSelectionIndices has to be used.
If you want to implement is 100% correct, Up/Down should be allowed as long as at least one element can be moved up/down

Secondly, please avoid too much code in listeners. Better move this to a separate method.

Comment 3 Martin Aeschlimann CLA 2007-05-23 10:20:28 EDT
We don't need this for 3.3...
Comment 4 Karsten Becker CLA 2007-05-25 11:20:37 EDT
Created attachment 68788 [details]
Reordering based on indices
Comment 5 Martin Aeschlimann CLA 2007-08-15 06:17:04 EDT
patch released > 20070815