Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormkersten2007-01-23 21:23:53 +0000
committermkersten2007-01-23 21:23:53 +0000
commite3513a187d3371fff79b32fa582d3f6fccf37759 (patch)
tree6884a1d6b9f25163148889dbc063ba92759b4f36 /org.eclipse.mylyn.bugzilla.ui
parent0642ec87a1c12d961d6a00732c5d719daa695f3c (diff)
downloadorg.eclipse.mylyn.tasks-e3513a187d3371fff79b32fa582d3f6fccf37759.tar.gz
org.eclipse.mylyn.tasks-e3513a187d3371fff79b32fa582d3f6fccf37759.tar.xz
org.eclipse.mylyn.tasks-e3513a187d3371fff79b32fa582d3f6fccf37759.zip
RESOLVED - bug 170690: OpenCorrespondingTaskAction should not run in the UI thread
https://bugs.eclipse.org/bugs/show_bug.cgi?id=170690
Diffstat (limited to 'org.eclipse.mylyn.bugzilla.ui')
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositoryUi.java21
1 files changed, 1 insertions, 20 deletions
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositoryUi.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositoryUi.java
index 1b78af4ac..a11577c02 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositoryUi.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/internal/bugzilla/ui/tasklist/BugzillaRepositoryUi.java
@@ -14,21 +14,18 @@ package org.eclipse.mylar.internal.bugzilla.ui.tasklist;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.eclipse.jface.wizard.IWizard;
import org.eclipse.mylar.internal.bugzilla.core.BugzillaCorePlugin;
-import org.eclipse.mylar.internal.bugzilla.core.BugzillaClient;
import org.eclipse.mylar.internal.bugzilla.core.BugzillaRepositoryQuery;
import org.eclipse.mylar.internal.bugzilla.ui.search.BugzillaSearchPage;
import org.eclipse.mylar.internal.bugzilla.ui.wizard.NewBugzillaTaskWizard;
import org.eclipse.mylar.tasks.core.AbstractRepositoryQuery;
import org.eclipse.mylar.tasks.core.TaskRepository;
import org.eclipse.mylar.tasks.ui.AbstractRepositoryConnectorUi;
-import org.eclipse.mylar.tasks.ui.OpenRepositoryTaskJob;
import org.eclipse.mylar.tasks.ui.search.AbstractRepositoryQueryPage;
import org.eclipse.mylar.tasks.ui.wizards.AbstractRepositorySettingsPage;
-import org.eclipse.ui.IWorkbenchPage;
-import org.eclipse.ui.PlatformUI;
/**
* @author Mik Kersten
+ * @author Eugene Kuleshov
*/
public class BugzillaRepositoryUi extends AbstractRepositoryConnectorUi {
@@ -71,20 +68,4 @@ public class BugzillaRepositoryUi extends AbstractRepositoryConnectorUi {
return BugzillaCorePlugin.REPOSITORY_KIND;
}
- @Override
- public boolean openRemoteTask(String repositoryUrl, String idString) {
- int id = -1;
- try {
- id = Integer.parseInt(idString);
- } catch (NumberFormatException e) {
- return false;
- }
- String bugUrl = BugzillaClient.getBugUrlWithoutLogin(repositoryUrl, id);
- IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
- OpenRepositoryTaskJob job = new OpenRepositoryTaskJob(BugzillaCorePlugin.REPOSITORY_KIND, repositoryUrl, idString,
- bugUrl, page);
- job.schedule();
- return true;
- }
-
}

Back to the top