diff options
| author | slewis | 2005-02-13 05:12:22 +0000 |
|---|---|---|
| committer | slewis | 2005-02-13 05:12:22 +0000 |
| commit | d28892bc9cb6f1c57d2dc8be1edc3bef8c655db9 (patch) | |
| tree | 5640fb5dadac40da67d1bb43b6ed961a384d9dfe | |
| parent | aa3c7ecfc9162534be5b0d671e8bae0fb1009015 (diff) | |
| download | org.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.java | 18 |
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 |
