NLSInputDialog dialog= new NLSInputDialog(getShell(), NLSUIMessages.getString("ExternalizeWizardPage.NLSInputDialog.Title"), NLSUIMessages.getString("ExternalizeWizardPage.NLSInputDialog.Label"), substitution);
NLSInputDialog dialog= new NLSInputDialog(getShell(), substitution);
	private void openEditButton(ISelection selection) {		try {			IStructuredSelection sel= (IStructuredSelection) fTableViewer.getSelection();			NLSSubstitution substitution= (NLSSubstitution) sel.getFirstElement();			if (substitution == null) {				return;			}						NLSInputDialog dialog= new NLSInputDialog(getShell(), NLSUIMessages.getString("ExternalizeWizardPage.NLSInputDialog.Title"), //$NON-NLS-1$					NLSUIMessages.getString("ExternalizeWizardPage.NLSInputDialog.Label"), //$NON-NLS-1$					substitution);			if (dialog.open() == Window.CANCEL)				return;			KeyValuePair kvPair= dialog.getResult();			if (substitution.getState() == NLSSubstitution.EXTERNALIZED) {				substitution.setKey(kvPair.getKey());			}			substitution.setValue(kvPair.getValue());			fTableViewer.update(substitution, new String[]{PROPERTIES[KEY_PROP], PROPERTIES[VAL_PROP]});			validateKeys();		} finally {			fTableViewer.refresh();			fTableViewer.getControl().setFocus();			fTableViewer.setSelection(selection);		}	}