private void handleBrowse() { ContainerSelectionDialog dialog = new ContainerSelectionDialog( getShell(), ResourcesPlugin.getWorkspace().getRoot(), false, "Select new file container"); if (dialog.open() == ContainerSelectionDialog.OK) { Object[] result = dialog.getResult(); if (result.length == 1) { containerText.setText(((Path) result[0]).toString()); } } }
void handleBrowse() { ContainerSelectionDialog dialog = new ContainerSelectionDialog(getShell(), ResourcesPlugin.getWorkspace().getRoot(), false, "Select new file container"); if (dialog.open() == Window.OK) { Object[] result = dialog.getResult(); if (result.length == 1) { containerText.setText(((Path) result[0]).toString()); } } }
	private void handleBrowse() {		ContainerSelectionDialog dialog = new ContainerSelectionDialog(				getShell(), ResourcesPlugin.getWorkspace().getRoot(), false,				"Select new file container");		if (dialog.open() == ContainerSelectionDialog.OK) {			Object[] result = dialog.getResult();			if (result.length == 1) {				containerText.setText(((Path) result[0]).toString());			}		}	}