Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java2
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/internal/ProductParser.java7
-rw-r--r--org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java2
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTask.java9
-rw-r--r--org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/wizard/NewBugWizard.java1
-rw-r--r--org.eclipse.mylyn.help.ui/doc/new.html18
-rw-r--r--org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java2
7 files changed, 34 insertions, 7 deletions
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java
index 0bd969972..3e68d653b 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/BugzillaRepository.java
@@ -39,6 +39,8 @@ import org.eclipse.mylar.bugzilla.core.offline.OfflineReportsFile;
/**
* Singleton class that creates <code>BugReport</code> objects by fetching
* bug's state and contents from the Bugzilla server.
+ *
+ * @author Mik Kersten (hardening of initial prototype)
*/
public class BugzillaRepository
{
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/internal/ProductParser.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/internal/ProductParser.java
index 1b6ace61f..fb8c5aae4 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/internal/ProductParser.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/internal/ProductParser.java
@@ -22,12 +22,11 @@ import org.eclipse.core.runtime.NullProgressMonitor;
import org.eclipse.mylar.bugzilla.core.internal.HtmlStreamTokenizer.Token;
import org.eclipse.mylar.bugzilla.core.search.BugzillaQueryPageParser;
-
-
/**
- * @author Shawn Minto
- *
* This class is used to parse the available products to log a bug for
+ *
+ * @author Shawn Minto
+ * @author Mik Kersten (hardening of initial prototype)
*/
public class ProductParser
{
diff --git a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java
index aa60a503e..96bb08c9a 100644
--- a/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java
+++ b/org.eclipse.mylyn.bugzilla.core/src/org/eclipse/mylyn/bugzilla/core/search/BugzillaSearchEngine.java
@@ -38,6 +38,8 @@ import com.sun.org.apache.xerces.internal.impl.xpath.regex.RegularExpression;
/**
* Queries the Bugzilla server for the list of bugs matching search criteria.
+ *
+ * @author Mik Kersten (hardening of initial prototype)
*/
public class BugzillaSearchEngine {
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTask.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTask.java
index 8e2ad8a5d..cd2cd3258 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTask.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/tasklist/BugzillaTask.java
@@ -135,8 +135,16 @@ public class BugzillaTask extends Task {
setPriority(hit.getPriority());
}
+ /**
+ * Also sets the URL.
+ */
@Override
public String getDescription(boolean isLabel) {
+ if (bugReport != null) {
+ String url = BugzillaRepository.getBugUrlWithoutLogin(bugReport.getId());
+ if (url != null) super.setIssueReportURL(url);
+ }
+
if (this.isBugDownloaded() || !super.getDescription(isLabel).startsWith("<")) {
return super.getDescription(isLabel);
} else {
@@ -146,7 +154,6 @@ public class BugzillaTask extends Task {
return BugzillaTask.getBugId(getHandle()) + ":";
}
}
-
// return BugzillaTasksTools.getBugzillaDescription(this);
}
diff --git a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/wizard/NewBugWizard.java b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/wizard/NewBugWizard.java
index cef016c16..d90471032 100644
--- a/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/wizard/NewBugWizard.java
+++ b/org.eclipse.mylyn.bugzilla.ui/src/org/eclipse/mylyn/bugzilla/ui/wizard/NewBugWizard.java
@@ -27,6 +27,7 @@ import org.eclipse.mylar.bugzilla.ui.OfflineView;
* The main wizard class for creating a new bug
*
* @author Shawn Minto
+ * @author Mik Kersten (hardening of initial prototype)
*/
public class NewBugWizard extends AbstractBugWizard {
diff --git a/org.eclipse.mylyn.help.ui/doc/new.html b/org.eclipse.mylyn.help.ui/doc/new.html
index 4eb5aa9bb..273c901b1 100644
--- a/org.eclipse.mylyn.help.ui/doc/new.html
+++ b/org.eclipse.mylyn.help.ui/doc/new.html
@@ -14,7 +14,23 @@
Submit feature requests to
<a href="https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Mylar">Bugzilla</a>.</p>
<h4><a href="new-0.4.0.html">New and Noteworthy covering Mylar 0.3.1 - 0.4.1</a></h4>
-<p>&nbsp;</p>
+
+<table cellpadding="10" cellspacing="0" width="600" id="table77">
+ <tr>
+ <td align="left" valign="top" width="30%">
+ <p align="right"><b>Web link tab for Bugzilla reports</b></p>
+ </td>
+ <td valign="top" width="70%">
+ <span style="background-color: #FFFF00">New editor tab makes it
+ quicker to flip into browser view</span><p>
+ &nbsp;</td>
+ </tr>
+ <tr>
+ <td colspan="2">
+ <hr>
+ </td>
+ </tr>
+</table>
<table cellpadding="10" cellspacing="0" width="600" id="table76">
<tr>
diff --git a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java
index 52eee54ae..9d42272f6 100644
--- a/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java
+++ b/org.eclipse.mylyn.tasks.ui/src/org/eclipse/mylyn/tasklist/ui/TaskEditor.java
@@ -130,7 +130,7 @@ public class TaskEditor extends MultiPageEditorPart {
int index = addPage(webBrowser);
setPageText(index, ISSUE_WEB_PAGE_LABEL);
webBrowser.setUrl(task.getIssueReportURL());
- setActivePage(index);
+ if (task.isDirectlyModifiable()) setActivePage(index);
} catch (RuntimeException e) {
MylarPlugin.fail(e, "could not open issue report web page", false);
}

Back to the top