MultiElementListSelectionDialog d= new MultiElementListSelectionDialog(new Shell(display), "Title", null, elementRenderer, true, false);
MultiElementListSelectionDialog d= new MultiElementListSelectionDialog(new Shell(display), elementRenderer); d.setTitle("Title"); d.setIgnoreCase(true);
	public static void main(String[] args) {		ISelectionValidator validator= new ISelectionValidator() {			public void isValid(Object[] selection, StatusInfo res) {				if (selection != null && selection.length == 1) {					res.setOK();				} else {					res.setError("Single selection");				}							}		};		Random random= new Random();				ILabelProvider elementRenderer= new org.eclipse.jface.viewers.LabelProvider() {			public String getText(Object element) {				return element.toString();			}		};				int nLists= 3;				Object[][] elements= new Object[nLists][];		for (int i= 0; i < nLists; i++) {			int size= random.nextInt(15);			elements[i]= new String[size];			for (int k= 0; k < size; k++) {				elements[i][k]= "elem-" + i + "-" + k;			}		}		Display display= new Display();		MultiElementListSelectionDialog d= new MultiElementListSelectionDialog(new Shell(display), "Title", null, elementRenderer, true, false);		d.setMessage("this is a message");		d.setValidator(validator);				d.open(elements);				Object[] res= d.getResult();		for (int i= 0; i < res.length; i++)			System.out.println(res[i]);	}