IDocumentProvider dp = getDocumentProvider();
IDocument doc = dp.getDocument( getEditorInput() );
String bufferedCopy = doc.get();
File file = new File( ( (FileStoreEditorInput) getEditorInput() ).getURI() );
SettingsXpp3Reader settingsReader = new SettingsXpp3Reader();
Settings copy = settingsReader.read( new StringReader( bufferedCopy ) );
Settings orig = settingsReader.read( new FileReader( file ) );
SettingsXmlDiff diff = new SettingsXmlDiff( orig, copy );
hasEssentialChanges = diff.hasEssentialDiffs();
}
catch ( FileNotFoundException e )