Revision 239
org.gvsig.toolbox/trunk/org.gvsig.toolbox/org.gvsig.toolbox.gui/src/main/java/es/unex/sextante/gui/core/SextanteGUI.java | ||
---|---|---|
1004 | 1004 |
|
1005 | 1005 |
public static Object getAlgorithmHelp(final GeoAlgorithm alg) { |
1006 | 1006 |
|
1007 |
try { |
|
1008 |
File helpfile = alg.getHelpFile(); |
|
1009 |
if( helpfile != null ) { |
|
1010 |
return HelpIO.getHelpAsHTMLCode(alg, helpfile.getAbsolutePath()); |
|
1011 |
} |
|
1012 |
} catch(Throwable th) { |
|
1013 |
// Do nothing |
|
1014 |
} |
|
1007 | 1015 |
final String sName = Sextante.getAlgorithmProviderName(alg); |
1008 | 1016 |
for (int i = 0; i < m_AlgorithmProviders.size(); i++) { |
1009 | 1017 |
if (m_AlgorithmProviders.get(i).getName().equals(sName)) { |
org.gvsig.toolbox/trunk/org.gvsig.toolbox/org.gvsig.toolbox.core/src/main/java/es/unex/sextante/core/GeoAlgorithm.java | ||
---|---|---|
40 | 40 |
import es.unex.sextante.parameters.ParameterTableField; |
41 | 41 |
import es.unex.sextante.parameters.RasterLayerAndBand; |
42 | 42 |
import es.unex.sextante.shapesTools.ShapesTools; |
43 |
import java.io.File; |
|
43 | 44 |
|
44 | 45 |
import org.jfree.chart.ChartPanel; |
45 | 46 |
|
... | ... | |
2212 | 2213 |
|
2213 | 2214 |
} |
2214 | 2215 |
|
2216 |
public File getHelpFile() { |
|
2217 |
return null; |
|
2218 |
} |
|
2215 | 2219 |
|
2216 | 2220 |
/** |
2217 | 2221 |
* Returns the command line expression that would create this instance of the algorithm |
Also available in: Unified diff