Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2005-07-18 16:00:22 +0000
committermkersten2005-07-18 16:00:22 +0000
commitef064329e77d0d5c77cdf96bd6f0f28ccaa00a41 (patch)
treeee6b4657cea4d12ff3972ed2652471e87f9785a5 /org.eclipse.mylyn.tasks.core
parent438c7ea9512cb36ab0dc9ab753076fce4a4fbc2b (diff)
downloadorg.eclipse.mylyn.tasks-ef064329e77d0d5c77cdf96bd6f0f28ccaa00a41.tar.gz
org.eclipse.mylyn.tasks-ef064329e77d0d5c77cdf96bd6f0f28ccaa00a41.tar.xz
org.eclipse.mylyn.tasks-ef064329e77d0d5c77cdf96bd6f0f28ccaa00a41.zip
Refactored providers.
Diffstat (limited to 'org.eclipse.mylyn.tasks.core')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugzilla/BugzillaStructureBridge.java7
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java4
2 files changed, 9 insertions, 2 deletions
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugzilla/BugzillaStructureBridge.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugzilla/BugzillaStructureBridge.java
index 3d49edeaf..53730a358 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugzilla/BugzillaStructureBridge.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/bugzilla/BugzillaStructureBridge.java
@@ -16,6 +16,7 @@ package org.eclipse.mylar.bugzilla;
import java.lang.reflect.InvocationTargetException;
import java.util.ArrayList;
import java.util.HashMap;
+import java.util.List;
import java.util.Map;
import java.util.Set;
@@ -34,6 +35,7 @@ import org.eclipse.mylar.bugzilla.ui.outline.BugzillaOutlineNode;
import org.eclipse.mylar.bugzilla.ui.outline.BugzillaReportSelection;
import org.eclipse.mylar.bugzilla.ui.tasks.BugzillaCacheFile;
import org.eclipse.mylar.bugzilla.ui.tasks.BugzillaReportNode;
+import org.eclipse.mylar.core.AbstractRelationshipProvider;
import org.eclipse.mylar.core.IMylarStructureBridge;
import org.eclipse.mylar.core.MylarPlugin;
import org.eclipse.ui.IEditorPart;
@@ -276,4 +278,9 @@ public class BugzillaStructureBridge implements IMylarStructureBridge {
public BugReport getCached(String handle) {
return cache.get(handle);
}
+
+ public List<AbstractRelationshipProvider> getProviders() {
+ // TODO Auto-generated method stub
+ return null;
+ }
}
diff --git a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java
index 8b2300bb2..d3614feb9 100644
--- a/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java
+++ b/org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java
@@ -28,18 +28,18 @@ import org.eclipse.jdt.core.JavaCore;
import org.eclipse.mylar.bugzilla.BugzillaStructureBridge;
import org.eclipse.mylar.bugzilla.MylarBugzillaPlugin;
import org.eclipse.mylar.bugzilla.ui.tasks.BugzillaReportNode;
+import org.eclipse.mylar.core.AbstractRelationshipProvider;
import org.eclipse.mylar.core.IDegreeOfSeparation;
import org.eclipse.mylar.core.IMylarContextNode;
import org.eclipse.mylar.core.internal.DegreeOfSeparation;
import org.eclipse.mylar.core.search.IActiveSearchListener;
import org.eclipse.mylar.core.search.IMylarSearchOperation;
-import org.eclipse.mylar.core.search.RelationshipProvider;
/**
* @author Shawn Minto
*/
-public class BugzillaReferencesProvider extends RelationshipProvider {
+public class BugzillaReferencesProvider extends AbstractRelationshipProvider {
public static final String ID = "org.eclipse.mylar.bugzilla.search.references";
public static final String NAME = "Bugilla report references";

Back to the top