summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMaarten Meijer2013-01-15 12:47:42 (EST)
committer Curtis Windatt2013-01-15 12:47:42 (EST)
commitde65c06c8c3c18425173c746727fd48ff01a199d (patch)
treee03470ddaebb58bd56805abf177c73f7fb953d49
parent3670ffe8772549cc822d43aca22178b0d0d16902 (diff)
downloadeclipse.pde.ui-de65c06c8c3c18425173c746727fd48ff01a199d.zip
eclipse.pde.ui-de65c06c8c3c18425173c746727fd48ff01a199d.tar.gz
eclipse.pde.ui-de65c06c8c3c18425173c746727fd48ff01a199d.tar.bz2
Bug 398149 - [patch] Builder template lacks implementation of clean()v20130115-174742I20130122-0800I20130115-1300
method
-rw-r--r--ui/org.eclipse.pde.ui.templates/templates_3.0/builder/java/$builderClassName$.java5
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/org.eclipse.pde.ui.templates/templates_3.0/builder/java/$builderClassName$.java b/ui/org.eclipse.pde.ui.templates/templates_3.0/builder/java/$builderClassName$.java
index 5c3aee9..2358437 100644
--- a/ui/org.eclipse.pde.ui.templates/templates_3.0/builder/java/$builderClassName$.java
+++ b/ui/org.eclipse.pde.ui.templates/templates_3.0/builder/java/$builderClassName$.java
@@ -123,6 +123,11 @@ public class $builderClassName$ extends IncrementalProjectBuilder {
return null;
}
+ protected void clean(IProgressMonitor monitor) throws CoreException {
+ // delete markers set and files created
+ getProject().deleteMarkers(MARKER_TYPE, true, IResource.DEPTH_INFINITE);
+ }
+
void checkXML(IResource resource) {
if (resource instanceof IFile && resource.getName().endsWith(".xml")) {
IFile file = (IFile) resource;