substitution.setState(substitution.getOldState());
substitution.revert();
	private void createButtonComposite(Composite parent){		Composite buttonComp= new Composite(parent, SWT.NONE);		GridLayout gl= new GridLayout();		gl.marginHeight= 0;		gl.marginWidth= 0;		buttonComp.setLayout(gl);		buttonComp.setLayoutData(new GridData(GridData.FILL_VERTICAL));				fExternalizeButton = createTaskButton(buttonComp, "wizardPage.Externalize_Selected", new SelectionAdapter(){ //$NON-NLS-1$		    public void widgetSelected(SelectionEvent e) {		        setSelectedTasks(NLSSubstitution.EXTERNALIZED);		    }		});				fIgnoreButton = createTaskButton(buttonComp, "wizardPage.Ignore_Selected", new SelectionAdapter(){ //$NON-NLS-1$		    public void widgetSelected(SelectionEvent e) {		        setSelectedTasks(NLSSubstitution.IGNORED);		    }		});				fInternalizeButton = createTaskButton(buttonComp, "wizardPage.Internalize_Selected", new SelectionAdapter(){ //$NON-NLS-1$		    public void widgetSelected(SelectionEvent e) {		        setSelectedTasks(NLSSubstitution.INTERNALIZED);		    }		});				fEditButton= createTaskButton(buttonComp, "ExternalizeWizardPage.Edit_key_and_value", new SelectionAdapter(){ //$NON-NLS-1$		    public void widgetSelected(SelectionEvent e) {		        openEditButton(fTableViewer.getSelection());		    }		});				fRevertButton= createTaskButton(buttonComp, "wizardPage.Revert_Selected", new SelectionAdapter(){ //$NON-NLS-1$		    public void widgetSelected(SelectionEvent e) {		        revertStateOfSelection();		    }            private void revertStateOfSelection() {                      Set selection = getSelectedTableEntries();                for (Iterator iter = selection.iterator(); iter.hasNext();) {                    NLSSubstitution substitution = (NLSSubstitution) iter.next();                    substitution.setState(substitution.getOldState());                                                        }                fTableViewer.refresh();                updateButtonStates((IStructuredSelection) fTableViewer.getSelection());            }		});				fEditButton.setEnabled(false);		buttonComp.pack();	}