Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsminto2005-07-15 20:18:46 +0000
committersminto2005-07-15 20:18:46 +0000
commit2d4cb00e1dd8758082c396fa4d139684acf011fb (patch)
treef0ee472db95b8f421e24ed81e98a894fbfef9e71 /org.eclipse.mylyn.tasks.core/src
parenteb07aae4a84560d79cbabec5a375168c5175dacb (diff)
downloadorg.eclipse.mylyn.tasks-2d4cb00e1dd8758082c396fa4d139684acf011fb.tar.gz
org.eclipse.mylyn.tasks-2d4cb00e1dd8758082c396fa4d139684acf011fb.tar.xz
org.eclipse.mylyn.tasks-2d4cb00e1dd8758082c396fa4d139684acf011fb.zip
Partial fix for bug# 104074
Diffstat (limited to 'org.eclipse.mylyn.tasks.core/src')
-rw-r--r--org.eclipse.mylyn.tasks.core/src/org/eclipse/mylyn/tasks/search/BugzillaReferencesProvider.java12
1 files changed, 10 insertions, 2 deletions
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 1ff8b2e3e..8b2300bb2 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
@@ -13,6 +13,7 @@
*/
package org.eclipse.mylar.tasks.search;
+import java.util.ArrayList;
import java.util.Collection;
import java.util.HashMap;
import java.util.Iterator;
@@ -29,6 +30,7 @@ import org.eclipse.mylar.bugzilla.MylarBugzillaPlugin;
import org.eclipse.mylar.bugzilla.ui.tasks.BugzillaReportNode;
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;
@@ -143,8 +145,14 @@ public class BugzillaReferencesProvider extends RelationshipProvider {
@Override
public List<IDegreeOfSeparation> getDegreesOfSeparation() {
- // TODO Auto-generated method stub
- return null;
+ List <IDegreeOfSeparation> separations = new ArrayList<IDegreeOfSeparation>();
+ separations.add(new DegreeOfSeparation("disabled", 0));
+ separations.add(new DegreeOfSeparation("local, fully qualified matches", 1));
+ separations.add(new DegreeOfSeparation("local, unqualified matches", 2));
+ separations.add(new DegreeOfSeparation("server, fully quaified matches", 3));
+ separations.add(new DegreeOfSeparation("server, unqualified matches", 4));
+
+ return separations;
}
}

Back to the top