diff options
| author | slewis | 2005-02-13 22:36:55 +0000 |
|---|---|---|
| committer | slewis | 2005-02-13 22:36:55 +0000 |
| commit | 6cc7180e99c9d767e91bfddd359504a63c7aaf79 (patch) | |
| tree | 55324cb61dd7649afd7f3df727ee5f0ef653b185 | |
| parent | 425c0a4358d1fd6cc5a2a5fbe8803b911dd909b6 (diff) | |
| download | org.eclipse.ecf-6cc7180e99c9d767e91bfddd359504a63c7aaf79.tar.gz org.eclipse.ecf-6cc7180e99c9d767e91bfddd359504a63c7aaf79.tar.xz org.eclipse.ecf-6cc7180e99c9d767e91bfddd359504a63c7aaf79.zip | |
Added IEventFilter interface
| -rw-r--r-- | framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventFilter.java | 14 | ||||
| -rw-r--r-- | framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventProcessor.java | 12 |
2 files changed, 14 insertions, 12 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 new file mode 100644 index 000000000..67f707f14 --- /dev/null +++ b/framework/bundles/org.eclipse.ecf/src/org/eclipse/ecf/core/util/IEventFilter.java @@ -0,0 +1,14 @@ +/******************************************************************************* + * 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 cb27bfee8..903765859 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 @@ -11,20 +11,8 @@ package org.eclipse.ecf.core.util; public interface IEventProcessor { /** - * 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 |
