X-Git-Url: https://mograsim.net/gitweb/?a=blobdiff_plain;f=plugins%2Fnet.mograsim.plugin.core%2Fsrc%2Fnet%2Fmograsim%2Fplugin%2Fnature%2FMograsimBuilder.java;h=44d9b51c70fccf0adffbc7e034ec17e8887b6fd5;hb=e3e5c330486368586ac604d90d89596c083afea9;hp=9fc0ea419a03cb7dddbcfd3a7a2a8ffa85d3ec3c;hpb=7d05144c25daa53e60fc9ed9fd503546a86567f8;p=Mograsim.git diff --git a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/MograsimBuilder.java b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/MograsimBuilder.java index 9fc0ea41..44d9b51c 100644 --- a/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/MograsimBuilder.java +++ b/plugins/net.mograsim.plugin.core/src/net/mograsim/plugin/nature/MograsimBuilder.java @@ -50,6 +50,7 @@ public class MograsimBuilder extends IncrementalProjectBuilder class SampleResourceVisitor implements IResourceVisitor { + @Override public boolean visit(IResource resource) { checkXML(resource); @@ -73,16 +74,19 @@ public class MograsimBuilder extends IncrementalProjectBuilder MograsimBuilder.this.addMarker(file, e.getMessage(), e.getLineNumber(), severity); } + @Override public void error(SAXParseException exception) throws SAXException { addMarker(exception, IMarker.SEVERITY_ERROR); } + @Override public void fatalError(SAXParseException exception) throws SAXException { addMarker(exception, IMarker.SEVERITY_ERROR); } + @Override public void warning(SAXParseException exception) throws SAXException { addMarker(exception, IMarker.SEVERITY_WARNING); @@ -133,6 +137,7 @@ public class MograsimBuilder extends IncrementalProjectBuilder return null; } + @Override protected void clean(IProgressMonitor monitor) throws CoreException { // delete markers set and files created