IMatchLocator refactoring
diff --git a/plugins/org.eclipse.dltk.python.core/plugin.xml b/plugins/org.eclipse.dltk.python.core/plugin.xml
index 47fb621..8b1c519 100644
--- a/plugins/org.eclipse.dltk.python.core/plugin.xml
+++ b/plugins/org.eclipse.dltk.python.core/plugin.xml
@@ -57,11 +57,11 @@
<extension
point="org.eclipse.dltk.core.search">
- <seachFactory
+ <searchFactory
class="org.eclipse.dltk.python.internal.core.search.PythonSearchFactory"
nature="org.eclipse.dltk.python.core.nature"
priority="0">
- </seachFactory>
+ </searchFactory>
</extension>
<extension
diff --git a/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/search/PythonMatchLocator.java b/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/search/PythonMatchLocator.java
deleted file mode 100644
index 007e643..0000000
--- a/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/search/PythonMatchLocator.java
+++ /dev/null
@@ -1,15 +0,0 @@
-package org.eclipse.dltk.python.internal.core.search;
-
-import org.eclipse.core.runtime.IProgressMonitor;
-import org.eclipse.dltk.core.search.IDLTKSearchScope;
-import org.eclipse.dltk.core.search.SearchPattern;
-import org.eclipse.dltk.core.search.SearchRequestor;
-import org.eclipse.dltk.core.search.matching.MatchLocator;
-
-public class PythonMatchLocator extends MatchLocator {
-
- public PythonMatchLocator(SearchPattern pattern, SearchRequestor requestor,
- IDLTKSearchScope scope, IProgressMonitor progressMonitor) {
- super(pattern, requestor, scope, progressMonitor);
- }
-}
diff --git a/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/search/PythonSearchFactory.java b/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/search/PythonSearchFactory.java
index 3c65c75..b98f229 100644
--- a/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/search/PythonSearchFactory.java
+++ b/plugins/org.eclipse.dltk.python.core/src/org/eclipse/dltk/python/internal/core/search/PythonSearchFactory.java
@@ -1,11 +1,7 @@
package org.eclipse.dltk.python.internal.core.search;
-import org.eclipse.core.runtime.SubProgressMonitor;
import org.eclipse.dltk.core.search.AbstractSearchFactory;
-import org.eclipse.dltk.core.search.IDLTKSearchScope;
import org.eclipse.dltk.core.search.IMatchLocatorParser;
-import org.eclipse.dltk.core.search.SearchPattern;
-import org.eclipse.dltk.core.search.SearchRequestor;
import org.eclipse.dltk.core.search.matching.MatchLocator;
/**
@@ -13,12 +9,6 @@
*/
public class PythonSearchFactory extends AbstractSearchFactory {
- public MatchLocator createMatchLocator(SearchPattern pattern,
- SearchRequestor requestor, IDLTKSearchScope scope,
- SubProgressMonitor monitor) {
- return new PythonMatchLocator(pattern, requestor, scope, monitor);
- }
-
public IMatchLocatorParser createMatchParser(MatchLocator locator) {
return new PythonMatchLocationParser(locator);
}