I create a JFace ListSelectionDialog as follows.
final ListSelectionDialog dialog = new ListSelectionDialog( PlatformUI.getWorkbench().getDisplay().getActiveShell(), List<SomeClass>, new ArrayContentProvider(), new LabelProvider(), ""); //$NON-NLS-1$ dialog.setTitle("Dialog Title"); //$NON-NLS-1$ dialog.setMessage("SomeMessage"); //$NON-NLS-1$ dialog.open();
and the dialogue is displayed well.
However, I would like all the checkboxes to be selected. How to do it?
source share