public class SextanteGeoProcessManager extends java.lang.Object implements GeoProcessManager, es.unex.sextante.gui.core.IAlgorithmProvider
GeoProcessManager interface based on the
sextante library.| Constructor and Description |
|---|
SextanteGeoProcessManager()
Manager constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
canEditHelp()
Returns true if the help files associated with the algorithms from this provider can be edited by the user
|
GeoProcessBuiler |
createGeoProcessBuilder() |
java.lang.Object |
getAlgorithmHelp(es.unex.sextante.core.GeoAlgorithm alg)
Returns the help associated with the passed algorithm as a HTML string or a URL
|
java.lang.String |
getAlgorithmHelpFilename(es.unex.sextante.core.GeoAlgorithm alg,
boolean bForceCurrentLocale)
Returns the filename where the help for a given algorithm is stored
|
java.util.HashMap<java.lang.String,es.unex.sextante.core.GeoAlgorithm> |
getAlgorithms()
Returns a map with algorithm command-line names as keys and geoalgorithms as values
|
java.util.HashMap<java.lang.String,java.lang.Class> |
getCustomModelerParameterPanels()
Returns a map of custom parameter panels.
|
java.util.HashMap<java.lang.String,java.lang.Class> |
getCustomParameterPanels()
Returns a map of custom modeler parameter panels.
|
javax.swing.ImageIcon |
getIcon()
Returns the icon to use for the algorithms provided by this provider
|
java.lang.String |
getName()
Returns the name of the algorithm provider.
|
es.unex.sextante.gui.settings.Setting |
getSettings()
Returns the settings object corresponding to this provider
|
java.util.HashMap<es.unex.sextante.gui.core.NameAndIcon,java.util.ArrayList<es.unex.sextante.gui.core.ToolboxAction>> |
getToolboxActions()
Returns the toolbox actions to be added to the toolbox by this algorithm provider.
|
es.unex.sextante.gui.core.IToolboxRightButtonAction[] |
getToolboxRightButtonActions()
Return the right button actions to be added to the toolbox by this algorithm provider.
|
java.lang.String |
getTranslation(java.lang.String label)
Returns the translation for a label depending on the current locale.
|
void |
initialize()
Performs the initialization needed to load the corresponding algorithm into the algorithm provider
|
void |
registerGeoProcess(java.lang.Class<? extends GeoProcess> geoProcessClazz,
java.util.Map<java.lang.String,java.lang.String> localeStrings)
Registers a new
GeoProcess. |
void |
registerGeoProcess(GeoProcess geoProcess)
Registers a new
GeoProcess. |
void |
update()
Updates the list of algorithms in this provider
|
public SextanteGeoProcessManager()
public java.lang.String getTranslation(java.lang.String label)
GeoProcessManagergetTranslation in interface GeoProcessManagerlabel - to translatepublic void registerGeoProcess(GeoProcess geoProcess)
GeoProcessManagerGeoProcess.registerGeoProcess in interface GeoProcessManagergeoProcess - the GeoProcess instancepublic void registerGeoProcess(java.lang.Class<? extends GeoProcess> geoProcessClazz, java.util.Map<java.lang.String,java.lang.String> localeStrings)
GeoProcessManagerGeoProcess.registerGeoProcess in interface GeoProcessManagergeoProcessClazz - the GeoProcess classlocaleStrings - the i18n strings used by the geoprocesspublic void initialize()
es.unex.sextante.gui.core.IAlgorithmProviderinitialize in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic java.lang.String getName()
es.unex.sextante.gui.core.IAlgorithmProvidergetName in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic java.util.HashMap<java.lang.String,es.unex.sextante.core.GeoAlgorithm> getAlgorithms()
es.unex.sextante.gui.core.IAlgorithmProvidergetAlgorithms in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic java.util.HashMap<java.lang.String,java.lang.Class> getCustomModelerParameterPanels()
es.unex.sextante.gui.core.IAlgorithmProvidergetCustomModelerParameterPanels in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic java.util.HashMap<java.lang.String,java.lang.Class> getCustomParameterPanels()
es.unex.sextante.gui.core.IAlgorithmProvidergetCustomParameterPanels in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic javax.swing.ImageIcon getIcon()
es.unex.sextante.gui.core.IAlgorithmProvidergetIcon in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic es.unex.sextante.gui.settings.Setting getSettings()
es.unex.sextante.gui.core.IAlgorithmProvidergetSettings in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic void update()
es.unex.sextante.gui.core.IAlgorithmProviderupdate in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic java.lang.Object getAlgorithmHelp(es.unex.sextante.core.GeoAlgorithm alg)
es.unex.sextante.gui.core.IAlgorithmProvidergetAlgorithmHelp in interface es.unex.sextante.gui.core.IAlgorithmProvideralg - the algorithmpublic java.lang.String getAlgorithmHelpFilename(es.unex.sextante.core.GeoAlgorithm alg,
boolean bForceCurrentLocale)
es.unex.sextante.gui.core.IAlgorithmProvidergetAlgorithmHelpFilename in interface es.unex.sextante.gui.core.IAlgorithmProvideralg - the algorithmbForceCurrentLocale - if true it will return the current locale folder, even if the help file does not existspublic boolean canEditHelp()
es.unex.sextante.gui.core.IAlgorithmProvidercanEditHelp in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic java.util.HashMap<es.unex.sextante.gui.core.NameAndIcon,java.util.ArrayList<es.unex.sextante.gui.core.ToolboxAction>> getToolboxActions()
es.unex.sextante.gui.core.IAlgorithmProvidergetToolboxActions in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic es.unex.sextante.gui.core.IToolboxRightButtonAction[] getToolboxRightButtonActions()
es.unex.sextante.gui.core.IAlgorithmProvidergetToolboxRightButtonActions in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic GeoProcessBuiler createGeoProcessBuilder()
createGeoProcessBuilder in interface GeoProcessManager