if (dialog.open() == InputDialog.CANCEL)
if (dialog.open() == Window.CANCEL)
	private void openEditButton(ISelection selection){		try{			Set selected= getSelectedTableEntries();			Assert.isTrue(selected.size() == 1);			NLSSubstitution nls= (NLSSubstitution)selected.iterator().next();			InputDialog dialog= new InputDialog(getShell(), RefactoringMessages.getString("ExternalizeWizardPage.Externalize_Strings"), RefactoringMessages.getString("ExternalizeWizardPage.Enter_New_Key"), nls.key, createKeyValidator());  //$NON-NLS-1$ //$NON-NLS-2$			if (dialog.open() == InputDialog.CANCEL)				return;			nls.key= dialog.getValue();			fViewer.update(nls, new String[] { PROPERTIES[KEY_PROP] });		} finally{			fViewer.refresh();			fViewer.getControl().setFocus();			fViewer.setSelection(selection);		}	}