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=a007be844bf57d526362c084abd68790692ce2a1;hp=9fc0ea419a03cb7dddbcfd3a7a2a8ffa85d3ec3c;hpb=58babf45ae7d259a296656451d796dbe601377a4;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