aboutsummaryrefslogtreecommitdiffstats
path: root/ajde
diff options
context:
space:
mode:
authorwisberg <wisberg>2003-05-05 15:17:12 +0000
committerwisberg <wisberg>2003-05-05 15:17:12 +0000
commit3a8bfd421510bdc0ab0c37fdb85936a38d8cfaf1 (patch)
tree4b72f870ce18c8ef28c88bd6f8bad1f1ae7c47df /ajde
parent0e0671667edd7ca047ddd7431acd4d42a38145e8 (diff)
downloadaspectj-3a8bfd421510bdc0ab0c37fdb85936a38d8cfaf1.tar.gz
aspectj-3a8bfd421510bdc0ab0c37fdb85936a38d8cfaf1.zip
binary-incompatible API for detecting whether any warnings exist, to enable/disable message display.
(should move to MessageHandler-based model)
Diffstat (limited to 'ajde')
-rw-r--r--ajde/src/org/aspectj/ajde/TaskListManager.java5
1 files changed, 4 insertions, 1 deletions
diff --git a/ajde/src/org/aspectj/ajde/TaskListManager.java b/ajde/src/org/aspectj/ajde/TaskListManager.java
index b9b7cc57e..6428fd476 100644
--- a/ajde/src/org/aspectj/ajde/TaskListManager.java
+++ b/ajde/src/org/aspectj/ajde/TaskListManager.java
@@ -35,6 +35,9 @@ public interface TaskListManager {
public void addSourcelineTask(IMessage message);
+ /** @return true if any messages in list have kind warning or greater */
+ public boolean hasWarning();
+
/**
* Add a task associated with the current project.
*
@@ -46,6 +49,6 @@ public interface TaskListManager {
/**
* Delete all of the currently active tasks.
*/
- public void clearTasks();
+ public void clearTasks();
}