public class SextanteGeoProcessManager extends 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
|
Object |
getAlgorithmHelp(es.unex.sextante.core.GeoAlgorithm alg)
Returns the help associated with the passed algorithm as a HTML string or a URL
|
String |
getAlgorithmHelpFilename(es.unex.sextante.core.GeoAlgorithm alg,
boolean bForceCurrentLocale)
Returns the filename where the help for a given algorithm is stored
|
HashMap<String,es.unex.sextante.core.GeoAlgorithm> |
getAlgorithms()
Returns a map with algorithm command-line names as keys and geoalgorithms as values
|
HashMap<String,Class> |
getCustomModelerParameterPanels()
Returns a map of custom parameter panels.
|
HashMap<String,Class> |
getCustomParameterPanels()
Returns a map of custom modeler parameter panels.
|
ImageIcon |
getIcon()
Returns the icon to use for the algorithms provided by this provider
|
String |
getName()
Returns the name of the algorithm provider.
|
es.unex.sextante.gui.settings.Setting |
getSettings()
Returns the settings object corresponding to this provider
|
HashMap<es.unex.sextante.gui.core.NameAndIcon,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.
|
String |
getTranslation(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(Class<? extends GeoProcess> geoProcessClazz,
Map<String,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 String getTranslation(String label)
GeoProcessManagergetTranslation in interface GeoProcessManagerlabel - to translatepublic void registerGeoProcess(GeoProcess geoProcess)
GeoProcessManagerGeoProcess.registerGeoProcess in interface GeoProcessManagergeoProcess - the GeoProcess instancepublic void registerGeoProcess(Class<? extends GeoProcess> geoProcessClazz, Map<String,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 String getName()
es.unex.sextante.gui.core.IAlgorithmProvidergetName in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic HashMap<String,es.unex.sextante.core.GeoAlgorithm> getAlgorithms()
es.unex.sextante.gui.core.IAlgorithmProvidergetAlgorithms in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic HashMap<String,Class> getCustomModelerParameterPanels()
es.unex.sextante.gui.core.IAlgorithmProvidergetCustomModelerParameterPanels in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic HashMap<String,Class> getCustomParameterPanels()
es.unex.sextante.gui.core.IAlgorithmProvidergetCustomParameterPanels in interface es.unex.sextante.gui.core.IAlgorithmProviderpublic 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 Object getAlgorithmHelp(es.unex.sextante.core.GeoAlgorithm alg)
es.unex.sextante.gui.core.IAlgorithmProvidergetAlgorithmHelp in interface es.unex.sextante.gui.core.IAlgorithmProvideralg - the algorithmpublic 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 HashMap<es.unex.sextante.gui.core.NameAndIcon,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.IAlgorithmProvider