From: <fu...@us...> - 2009-07-24 18:01:41
|
Revision: 898 http://cishell.svn.sourceforge.net/cishell/?rev=898&view=rev Author: fugu13 Date: 2009-07-24 18:01:29 +0000 (Fri, 24 Jul 2009) Log Message: ----------- in_data now ignores spaces at the beginning and end of data types. Rigorously reviewed by Micah. 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 2009-07-24 17:46:29 UTC (rev 897) +++ trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmAction.java 2009-07-24 18:01:29 UTC (rev 898) @@ -117,9 +117,17 @@ logger.log(LogService.LOG_INFO, acknowledgement.toString()); } + private String[] separateInData(String inDataString) { + String[] inData = ("" + inDataString).split(","); + for(int ii = 0; ii < inData.length; ii++) { + inData[ii] = inData[ii].trim(); + } + return inData; + } + public void dataSelected(Data[] selectedData) { String inDataString = (String)ref.getProperty(IN_DATA); - String[] inData = ("" + inDataString).split(","); + String[] inData = separateInData(inDataString); if ((inData.length == 1 && inData[0].equalsIgnoreCase(NULL_DATA))) { data = new Data[0]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <pat...@us...> - 2011-02-18 03:20:10
|
Revision: 1216 http://cishell.svn.sourceforge.net/cishell/?rev=1216&view=rev Author: pataphil Date: 2011-02-18 03:20:04 +0000 (Fri, 18 Feb 2011) Log Message: ----------- * Trying to fix the build. 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-02-18 03:19:45 UTC (rev 1215) +++ trunk/clients/gui/org.cishell.reference.gui.menumanager/src/org/cishell/reference/gui/menumanager/menu/AlgorithmAction.java 2011-02-18 03:20:04 UTC (rev 1216) @@ -21,7 +21,6 @@ import org.cishell.app.service.datamanager.DataManagerService; import org.cishell.app.service.scheduler.SchedulerService; import org.cishell.framework.CIShellContext; -import org.cishell.framework.ServiceReferenceDelegate; import org.cishell.framework.algorithm.Algorithm; import org.cishell.framework.algorithm.AlgorithmProperty; import org.cishell.framework.data.Data; @@ -74,8 +73,8 @@ public void run() { try { - ServiceReference uniqueServiceReference = - new ServiceReferenceDelegate(this.serviceReference); + ServiceReference uniqueServiceReference = this.serviceReference; +// new ServiceReferenceDelegate(this.serviceReference); printAlgorithmInformation(uniqueServiceReference, this.ciShellContext); Algorithm algorithm = new AlgorithmWrapper( This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
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. |