try {
if (resource instanceof IFile && resource.getFileExtension() != null && resource.getFileExtension().equals(FUSION_FILE)) {
File file = resource.getLocation().toFile();
Logger.getLogger(FusionAnalysis.FUSION_LOGGER).log(Level.WARNING, "Parsing Fusion file " + resource.getName());
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse(file);
XMLContext context = createContext(file.getAbsolutePath(), doc);
setChanged();
notifyObservers(new Triple<IResource, Document, XMLContext>(resource, doc, context));
return false;
}