Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-02-13 05:12:22 +0000
committerslewis2005-02-13 05:12:22 +0000
commitd28892bc9cb6f1c57d2dc8be1edc3bef8c655db9 (patch)
tree5640fb5dadac40da67d1bb43b6ed961a384d9dfe
parentaa3c7ecfc9162534be5b0d671e8bae0fb1009015 (diff)
downloadorg.eclipse.ecf-d28892bc9cb6f1c57d2dc8be1edc3bef8c655db9.tar.gz
org.eclipse.ecf-d28892bc9cb6f1c57d2dc8be1edc3bef8c655db9.tar.xz
org.eclipse.ecf-d28892bc9cb6f1c57d2dc8be1edc3bef8c655db9.zip
Added methods to IEventProcessor
-rw-r--r--framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventProcessor.java18
1 files changed, 17 insertions, 1 deletions
diff --git a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventProcessor.java b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventProcessor.java
index 116329ece..cb27bfee8 100644
--- a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventProcessor.java
+++ b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventProcessor.java
@@ -10,5 +10,21 @@
package org.eclipse.ecf.core.util;
public interface IEventProcessor {
- public Object processEvent(Event e);
+ /**
+ * Returns true if given Event will actually be processed by this event processor, false if not
+ *
+ * @param e the event to check
+ * @return true if given Event will actually be processed by this event processor, false if not
+ */
+ public boolean willProcess(Event e);
+ /**
+ * Process given Event
+ * @param e the Event to process
+ */
+ public void process(Event e);
+ /**
+ * Dispose this event processor. Once disposed, given processor cannot be reused
+ *
+ */
+ public void dispose();
} \ No newline at end of file

Back to the top