projects
/
Mograsim.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
setViewerInput now is much faster and doesn't cause text to flicker
[Mograsim.git]
/
plugins
/
net.mograsim.plugin.core
/
src
/
net
/
mograsim
/
plugin
/
nature
/
MograsimBuilder.java
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
9fc0ea4
..
44d9b51
100644
(file)
--- 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
{
class SampleResourceVisitor implements IResourceVisitor
{
+ @Override
public boolean visit(IResource resource)
{
checkXML(resource);
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);
}
MograsimBuilder.this.addMarker(file, e.getMessage(), e.getLineNumber(), severity);
}
+ @Override
public void error(SAXParseException exception) throws SAXException
{
addMarker(exception, IMarker.SEVERITY_ERROR);
}
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);
}
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);
public void warning(SAXParseException exception) throws SAXException
{
addMarker(exception, IMarker.SEVERITY_WARNING);
@@
-133,6
+137,7
@@
public class MograsimBuilder extends IncrementalProjectBuilder
return null;
}
return null;
}
+ @Override
protected void clean(IProgressMonitor monitor) throws CoreException
{
// delete markers set and files created
protected void clean(IProgressMonitor monitor) throws CoreException
{
// delete markers set and files created