diff options
author | spingel | 2010-05-18 16:00:47 +0000 |
---|---|---|
committer | spingel | 2010-05-18 16:00:47 +0000 |
commit | b4be953a307164640c8be59d9f392046d0869ec6 (patch) | |
tree | 66dfc47f47e3ea3e8ad479693d5193a14d1ad406 | |
parent | 723d4743832b364cf55f07d9952f23edd10ca8e2 (diff) | |
download | org.eclipse.mylyn.tasks-b4be953a307164640c8be59d9f392046d0869ec6.tar.gz org.eclipse.mylyn.tasks-b4be953a307164640c8be59d9f392046d0869ec6.tar.xz org.eclipse.mylyn.tasks-b4be953a307164640c8be59d9f392046d0869ec6.zip |
RESOLVED - bug 178474: [api] open corresponding task should highlight or expand comment number
https://bugs.eclipse.org/bugs/show_bug.cgi?id=178474
2 files changed, 5 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.tasks.search/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java b/org.eclipse.mylyn.tasks.search/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java index eb1480a95..99b007a01 100644 --- a/org.eclipse.mylyn.tasks.search/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java +++ b/org.eclipse.mylyn.tasks.search/src/org/eclipse/mylyn/internal/tasks/ui/search/OpenSearchResultAction.java @@ -55,7 +55,7 @@ public class OpenSearchResultAction extends Action { for (Iterator<AbstractTask> it = selection.iterator(); it.hasNext();) { AbstractTask repositoryHit = it.next(); TasksUiUtil.openTask(repositoryHit.getRepositoryUrl(), repositoryHit.getTaskId(), - repositoryHit.getUrl(), 0); + repositoryHit.getUrl()); } } diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiUtil.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiUtil.java index 448176410..908850d6d 100644 --- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiUtil.java +++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasks/ui/TasksUiUtil.java @@ -258,11 +258,11 @@ public class TasksUiUtil { /** * Either pass in a repository and taskId, or fullUrl, or all of them * - * @deprecated Use {@link #openTask(String,String,String,long)} instead + * @deprecated Use {@link #openTask(String,String,String)} instead */ @Deprecated public static boolean openRepositoryTask(String repositoryUrl, String taskId, String fullUrl) { - return openTask(repositoryUrl, taskId, fullUrl, 0); + return openTask(repositoryUrl, taskId, fullUrl); } /** @@ -318,16 +318,14 @@ public class TasksUiUtil { * Either pass in a repository and taskId, or fullUrl, or all of them * * @since 3.0 - * @deprecated Use {@link #openTask(String,String,String,long)} instead */ - @Deprecated public static boolean openTask(String repositoryUrl, String taskId, String fullUrl) { return openTask(repositoryUrl, taskId, fullUrl, 0); } /** - * Either pass in a repository and taskId, or fullUrl, or all of them the timestamp is used for seleting the correct - * comment + * Either pass in a repository and taskId, or fullUrl, or all of them the time stamp is used for selecting the + * correct comment * * @since 3.4 */ |