Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Maeder2004-01-07 16:48:41 +0000
committerThomas Maeder2004-01-07 16:48:41 +0000
commit750ab6545f3a4e14ce546661bab8c4384f0e15a4 (patch)
tree55e055f1faa56a76479d35146ff1d3da9ed72278 /org.eclipse.search/new search/org/eclipse/search/ui/SearchResultEvent.java
parenteb1e9c2a09e01c7958284f88fe440f0a884b960e (diff)
downloadeclipse.platform.text-750ab6545f3a4e14ce546661bab8c4384f0e15a4.tar.gz
eclipse.platform.text-750ab6545f3a4e14ce546661bab8c4384f0e15a4.tar.xz
eclipse.platform.text-750ab6545f3a4e14ce546661bab8c4384f0e15a4.zip
New Search stuff initial release.
Diffstat (limited to 'org.eclipse.search/new search/org/eclipse/search/ui/SearchResultEvent.java')
-rw-r--r--org.eclipse.search/new search/org/eclipse/search/ui/SearchResultEvent.java32
1 files changed, 32 insertions, 0 deletions
diff --git a/org.eclipse.search/new search/org/eclipse/search/ui/SearchResultEvent.java b/org.eclipse.search/new search/org/eclipse/search/ui/SearchResultEvent.java
new file mode 100644
index 00000000000..a094e1cc2e8
--- /dev/null
+++ b/org.eclipse.search/new search/org/eclipse/search/ui/SearchResultEvent.java
@@ -0,0 +1,32 @@
+/*******************************************************************************
+ * Copyright (c) 2000, 2003 IBM Corporation and others.
+ * All rights reserved. This program and the accompanying materials
+ * are made available under the terms of the Common Public License v1.0
+ * which accompanies this distribution, and is available at
+ * http://www.eclipse.org/legal/cpl-v10.html
+ *
+ * Contributors:
+ * IBM Corporation - initial API and implementation
+ *******************************************************************************/
+package org.eclipse.search.ui;
+
+/**
+ * The common superclass of all events sent from
+ * ISearchResults.
+ * This class is supposed to be subclassed to provide
+ * more specific notification.
+ * This API is preliminary and subject to change at any time.
+ * @since 3.0
+ */
+public class SearchResultEvent {
+ protected ISearchResult fSearchResult;
+
+ public SearchResultEvent(ISearchResult searchResult) {
+ fSearchResult= searchResult;
+ }
+
+ public ISearchResult getSearch() {
+ return fSearchResult;
+ }
+
+}

Back to the top