Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorslewis2005-07-03 05:07:41 +0000
committerslewis2005-07-03 05:07:41 +0000
commit4fa241969774f5e41bde041035ea1afcfc2cafdb (patch)
tree4ca03f9bb74413c6e3e86395d8107bbedcc2b344
parentda63d93e608727356bdcdeb030dfba367e4303c8 (diff)
downloadorg.eclipse.ecf-4fa241969774f5e41bde041035ea1afcfc2cafdb.tar.gz
org.eclipse.ecf-4fa241969774f5e41bde041035ea1afcfc2cafdb.tar.xz
org.eclipse.ecf-4fa241969774f5e41bde041035ea1afcfc2cafdb.zip
Added to IEventProcessor interface an accept method previously in IEventFilter. Removed IEventFilter interface
-rw-r--r--framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventFilter.java14
-rw-r--r--framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventProcessor.java4
2 files changed, 3 insertions, 15 deletions
diff --git a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventFilter.java b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventFilter.java
deleted file mode 100644
index 67f707f14..000000000
--- a/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventFilter.java
+++ /dev/null
@@ -1,14 +0,0 @@
-/*******************************************************************************
- * Copyright (c) 2004 Composent, Inc. and others. All rights reserved. This
- * program and the accompanying materials are made available under the terms of
- * the Eclipse Public License v1.0 which accompanies this distribution, and is
- * available at http://www.eclipse.org/legal/epl-v10.html
- *
- * Contributors: Composent, Inc. - initial API and implementation
- ******************************************************************************/
-
-package org.eclipse.ecf.core.util;
-
-public interface IEventFilter {
- public boolean accept(Event event);
-}
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 903765859..8fbb8c0a9 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,9 +10,11 @@
package org.eclipse.ecf.core.util;
public interface IEventProcessor {
+
+ public boolean acceptEvent(Event event);
/**
* Process given Event
* @param e the Event to process
*/
- public void process(Event e);
+ public Event processEvent(Event e);
} \ No newline at end of file

Back to the top