java - JFace question: How do I select all items in a ListSelectionDialog? -
I create a Jeff's list selection dialog as follows. GetActiveShell (), list & lt; SomeClass & gt ;, New Arraycentent Provider (), New LabelProvider (), "");
Select the final list dialog dialog = Select new list dialog (PlatformUI.getWorkbench). // $ Non-NLS-1 $ Dialog. Sitelit ("Dialog title"); // $ Non-NLS-1 $ Dialog. Settlements ("Some Messages"); // $ Non-NLS-1 $ Dialog open ();
And the dialog looks fine.
However, I want to select all the checkboxes. How do i do this
select list elements ... select ... dialog .set your element selection (elements To select);
Comments
Post a Comment