|
From: <jrb...@us...> - 2011-04-04 15:35:40
|
Revision: 1242
http://cishell.svn.sourceforge.net/cishell/?rev=1242&view=rev
Author: jrbibers
Date: 2011-04-04 15:35:31 +0000 (Mon, 04 Apr 2011)
Log Message:
-----------
As of revision 5366, the console text processor no longer attempts to automatically detect URLs in plain text. Text for formatting as a clickable link must be marked up in the plain text with [url] tags by the console's client. Because of this, URLs from the documentation_url and reference_url of an algorithm's properties were no longer automatically clickable. This commit adds [url] tags around those two kinds of common URLs.
Reviewed by Micah.
Revision Links:
--------------
http://cishell.svn.sourceforge.net/cishell/?rev=5366&view=rev
Modified Paths:
--------------
trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmAction.java
Modified: trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmAction.java
===================================================================
--- trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmAction.java 2011-04-01 20:57:29 UTC (rev 1241)
+++ trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmAction.java 2011-04-04 15:35:31 UTC (rev 1242)
@@ -127,7 +127,7 @@
if ((reference != null) && (reference_url != null)) {
acknowledgement.append(
- "Reference: " + reference + " (" + reference_url + ")\n");
+ "Reference: " + reference + " ([url]" + reference_url + "[/url])\n");
} else if ((reference != null) && (reference_url == null)) {
acknowledgement.append("Reference: " + reference + "\n");
}
@@ -135,7 +135,7 @@
String documentationURL = (String) serviceReference.getProperty(DOCUMENTATION_URL);
if (documentationURL != null) {
- acknowledgement.append("Documentation: " + documentationURL + "\n");
+ acknowledgement.append("Documentation: [url]" + documentationURL + "[/url]\n");
}
if (acknowledgement.length() > 1) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|