if ((substitution.getState() == NLSSubstitution.EXTERNALIZED) && substitution.hasChanged()) { substitution.generateKey(fSubstitutions, fPrefixField.getText());
if ((substitution.getState() == NLSSubstitution.EXTERNALIZED) && substitution.hasStateChanged()) { substitution.generateKey(fSubstitutions);
	private void setSelectedTasks(int state){		Assert.isTrue(state == NLSSubstitution.EXTERNALIZED 				   || state == NLSSubstitution.IGNORED				   || state == NLSSubstitution.INTERNALIZED);		Set selected= getSelectedTableEntries();				String[] props= new String[] { PROPERTIES[STATE_PROP] };		for (Iterator iter= selected.iterator(); iter.hasNext();) {		    NLSSubstitution substitution = (NLSSubstitution) iter.next();			substitution.setState(state);			if ((substitution.getState() == NLSSubstitution.EXTERNALIZED) && substitution.hasChanged()) {			    substitution.generateKey(fSubstitutions, fPrefixField.getText());			}		}		fTableViewer.update(selected.toArray(), props);				fTableViewer.getControl().setFocus();		updateButtonStates((IStructuredSelection) fTableViewer.getSelection());	}