summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSteffen Pingel2012-02-04 14:36:00 (EST)
committerSteffen Pingel2012-02-04 14:36:00 (EST)
commit663e37ac20da5aa3b1e4834a44faa8cbe5988fdb (patch)
tree5d3e5199cb5ca2caaeee3c59728a06b000d38721
parent6a4dc7d4dadd7f6fe4623ba95464241e4d2d0bd0 (diff)
downloadorg.eclipse.mylyn.commons-663e37ac20da5aa3b1e4834a44faa8cbe5988fdb.zip
org.eclipse.mylyn.commons-663e37ac20da5aa3b1e4834a44faa8cbe5988fdb.tar.gz
org.eclipse.mylyn.commons-663e37ac20da5aa3b1e4834a44faa8cbe5988fdb.tar.bz2
RESOLVED - bug 346046: [api] provide an extension point for registering
URL handlers (was: Hyperlinks to builds should open in task editor) https://bugs.eclipse.org/bugs/show_bug.cgi?id=346046 Change-Id: Id071d34f2011f3e7898947f0d4b52efd2e9f6a47
-rw-r--r--org.eclipse.mylyn.commons.workbench/src/org/eclipse/mylyn/commons/workbench/browser/UrlHyperlink.java11
1 files changed, 11 insertions, 0 deletions
diff --git a/org.eclipse.mylyn.commons.workbench/src/org/eclipse/mylyn/commons/workbench/browser/UrlHyperlink.java b/org.eclipse.mylyn.commons.workbench/src/org/eclipse/mylyn/commons/workbench/browser/UrlHyperlink.java
index 52b2f59..d5a5f7f 100644
--- a/org.eclipse.mylyn.commons.workbench/src/org/eclipse/mylyn/commons/workbench/browser/UrlHyperlink.java
+++ b/org.eclipse.mylyn.commons.workbench/src/org/eclipse/mylyn/commons/workbench/browser/UrlHyperlink.java
@@ -67,4 +67,15 @@ public class UrlHyperlink extends URLHyperlink {
return NLS.bind("Open ''{0}''", getURLString()); //$NON-NLS-1$
}
+ @Override
+ public String toString() {
+ StringBuilder builder = new StringBuilder();
+ builder.append("UrlHyperlink [hyperlinkRegion="); //$NON-NLS-1$
+ builder.append(getHyperlinkRegion());
+ builder.append(", urlString="); //$NON-NLS-1$
+ builder.append(getURLString());
+ builder.append("]"); //$NON-NLS-1$
+ return builder.toString();
+ }
+
}