Creating a multi-file-selection like widget in a wizardhttps://www.eclipse.org/forums/index.php/mv/msg/236638/718629/#msg_718629
I'm developing my first eclipse plugin, so I'm facing some probably basic problem. I want to have a wiget on a wizard page that will allow user to add multiple file from within a project. I need four buttons:
- Add file
- Remove
- Up and Down form moving selected files among the others (the order is important)

The question is, which widget should I use, and where can I find some simple code which would help me.

Thanks!
Wojtek]]>Wojtek 2011-08-24T21:45:04-00:00Re: Creating a multi-file-selection like widget in a wizardhttps://www.eclipse.org/forums/index.php/mv/msg/236638/719278/#msg_719278
You could have a list viewer displaying all the projects and another list viewer to the right of it displaying
the files within the selected project. You could use GridLayout with three columns. So basically you would have one column displaying the projects in the workspace, another column displaying the files associated with the selected project, and the third column could contain the manipulation buttons.

In the second column you could set the SWT.CHECK style bit, so the user could "check" the files they want from the project. Then add the buttons to manipulate
the "checked" files.

I attached an image of something I threw together really quick:

]]>John Steele2011-08-26T15:18:53-00:00Re: Creating a multi-file-selection like widget in a wizardhttps://www.eclipse.org/forums/index.php/mv/msg/236638/719895/#msg_719895
Wojtek 2011-08-29T11:31:41-00:00