Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDirk Baeumer2004-04-25 22:04:50 +0000
committerDirk Baeumer2004-04-25 22:04:50 +0000
commitec66ac1d89631928b7ae8c6fe05e585c7471c937 (patch)
tree659bf74a086e9a04d961bd914edc435670503796 /org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java
parente2ae9330b38ba0442eccdf7bce2680b8b96d4b47 (diff)
downloadeclipse.platform.text-ec66ac1d89631928b7ae8c6fe05e585c7471c937.tar.gz
eclipse.platform.text-ec66ac1d89631928b7ae8c6fe05e585c7471c937.tar.xz
eclipse.platform.text-ec66ac1d89631928b7ae8c6fe05e585c7471c937.zip
Made getEditorMatchAdapter and getFileMatchAdapter abstract
Diffstat (limited to 'org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java')
-rw-r--r--org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java9
1 files changed, 3 insertions, 6 deletions
diff --git a/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java b/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java
index d4f12680a7b..325f5d3783f 100644
--- a/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java
+++ b/org.eclipse.search/new search/org/eclipse/search/ui/text/AbstractTextSearchResult.java
@@ -279,9 +279,8 @@ public abstract class AbstractTextSearchResult implements ISearchResult {
*
* @see IEditorMatchAdapter
*/
- public IEditorMatchAdapter getEditorMatchAdapter() {
- return null;
- }
+ public abstract IEditorMatchAdapter getEditorMatchAdapter();
+
/**
* Returns an implementation of <code>IFileMatchAdapter</code> appropriate
@@ -291,7 +290,5 @@ public abstract class AbstractTextSearchResult implements ISearchResult {
*
* @see IFileMatchAdapter
*/
- public IFileMatchAdapter getFileMatchAdapter() {
- return null;
- }
+ public abstract IFileMatchAdapter getFileMatchAdapter();
}

Back to the top