dialog.setInput(set.toArray());
dialog.setInput(list.toArray());
			public void widgetSelected(final SelectionEvent event) {				final Set set= new HashSet(Arrays.asList(fCandidateTypes));				set.removeAll(fTypesToExtract);				if (!set.isEmpty()) {					final SupertypeSelectionDialog dialog= new SupertypeSelectionDialog(getShell());					dialog.create();					dialog.setInput(set.toArray());					final int result= dialog.open();					if (result == Window.OK) {						final Object[] objects= dialog.getResult();						for (int index= 0; index < objects.length; index++) {							fTypesToExtract.add(objects[index]);						}						fTableViewer.setInput(fTypesToExtract.toArray());						addButton.setEnabled(isAddTypeEnabled());						handleTypesChanged();					}				}			}