0

In a rcp application I create a ListSelectionDialog:

final ListSelectionDialog listDialog = new ListSelectionDialog(getShell(), allElements, new ArrayContentProvider(), new LabelProvider(), ""); //$NON-NLS-1$
listDialog.setTitle("my title"); //$NON-NLS-1$
listDialog.setMessage("my msg"); //$NON-NLS-1$
listDialog.setInitialElementSelections(init);
// listDialog.setBlockOnOpen(false); does not help
int open = listDialog.open();
if (open == ListSelectionDialog.OK) {
  return convertToList(listDialog.getResult());
}

When this dialog is open I would like to be able to modify the application behind the dialog, but that's only possible after I click ok in the dialog. How do I enable a user to use the application before pressing OK in the dialog?

Francis Upton IV
  • 19,322
  • 3
  • 53
  • 57
u123
  • 15,603
  • 58
  • 186
  • 303

0 Answers0