* @see Action#run()
*/
public void run() {
IWorkingSetManager manager = PlatformUI.getWorkbench()
.getWorkingSetManager();
IWorkingSetSelectionDialog dialog = manager
.createWorkingSetSelectionDialog(shell, false);
IWorkingSet workingSet = actionGroup.getWorkingSet();
if (workingSet != null) {
dialog.setSelection(new IWorkingSet[] { workingSet });
}
if (dialog.open() == Window.OK) {
IWorkingSet[] result = dialog.getSelection();
if (result != null && result.length > 0) {
actionGroup.setWorkingSet(result[0]);
manager.addRecentWorkingSet(result[0]);
} else {
actionGroup.setWorkingSet(null);