aboutsummaryrefslogtreecommitdiffstats
path: root/ajde/src
diff options
context:
space:
mode:
authoraclement <aclement>2006-07-24 11:05:49 +0000
committeraclement <aclement>2006-07-24 11:05:49 +0000
commitbeaeab3dbf69175b3f08c30bb6ae82aa6b4eb728 (patch)
tree26c99fd1ff42af254ffc19d4c03c4adaf6a87a7f /ajde/src
parent97b3ae73a8d18db916f0fa10189d658003eb068c (diff)
downloadaspectj-beaeab3dbf69175b3f08c30bb6ae82aa6b4eb728.tar.gz
aspectj-beaeab3dbf69175b3f08c30bb6ae82aa6b4eb728.zip
pr145689 - telling AJDT through the progress monitor (rather than a debug interface) whether the build was full or incremental.
Diffstat (limited to 'ajde/src')
-rw-r--r--ajde/src/org/aspectj/ajde/BuildProgressMonitor.java2
-rw-r--r--ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java2
-rw-r--r--ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java4
-rw-r--r--ajde/src/org/aspectj/ajde/ui/swing/DefaultBuildProgressMonitor.java2
4 files changed, 7 insertions, 3 deletions
diff --git a/ajde/src/org/aspectj/ajde/BuildProgressMonitor.java b/ajde/src/org/aspectj/ajde/BuildProgressMonitor.java
index 17fef6a8f..2a3e2cd88 100644
--- a/ajde/src/org/aspectj/ajde/BuildProgressMonitor.java
+++ b/ajde/src/org/aspectj/ajde/BuildProgressMonitor.java
@@ -61,5 +61,5 @@ public interface BuildProgressMonitor {
/**
* Jump the progress bar to the end and finish progress monitoring.
*/
- public void finish();
+ public void finish(boolean wasFullBuild);
}
diff --git a/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java b/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java
index af2366481..eca810e5c 100644
--- a/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java
+++ b/ajde/src/org/aspectj/ajde/internal/AspectJBuildManager.java
@@ -202,7 +202,7 @@ public class AspectJBuildManager implements BuildManager {
Ajde.getDefault().getErrorHandler().handleError("Compile error, caught Throwable: " + e.toString(), e);
} finally {
warnings = compilerMessages.hasWarning();
- progressMonitor.finish();
+ progressMonitor.finish(compilerAdapter.wasFullBuild());
}
notifyCompileFinished(configFile, lastCompileTime, succeeded, warnings);
}
diff --git a/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java b/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java
index e113034c2..0ba47eb7f 100644
--- a/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java
+++ b/ajde/src/org/aspectj/ajde/internal/CompilerAdapter.java
@@ -646,4 +646,8 @@ public class CompilerAdapter {
buildManager.setState(buildState);
buildManager.setStructureModel(buildState.getStructureModel());
}
+
+ public boolean wasFullBuild() {
+ return buildManager.wasFullBuild();
+ }
}
diff --git a/ajde/src/org/aspectj/ajde/ui/swing/DefaultBuildProgressMonitor.java b/ajde/src/org/aspectj/ajde/ui/swing/DefaultBuildProgressMonitor.java
index 6cc142192..5328c9616 100644
--- a/ajde/src/org/aspectj/ajde/ui/swing/DefaultBuildProgressMonitor.java
+++ b/ajde/src/org/aspectj/ajde/ui/swing/DefaultBuildProgressMonitor.java
@@ -92,7 +92,7 @@ public class DefaultBuildProgressMonitor extends Thread implements BuildProgress
/**
* Jump the progress bar to the end and finish progress monitoring.
*/
- public void finish() {
+ public void finish(boolean wasFullBuild) {
progressDialog.finish();
dialog.dispose();
}