es.unex.sextante.gui.core
Class GUIResources

java.lang.Object
  extended by es.unex.sextante.gui.core.GUIResources

public class GUIResources
extends java.lang.Object

Methods in this class act as entry points for algorithms and resource files. Algorithms are loaded when the library is initialized. Adding new algorithms after calling Sextante.initialize() will not add them to the list of currently available ones, so all additional algorithms should be added before initializing the library


Constructor Summary
GUIResources()
           
 
Method Summary
static void addResourcesFromClasspath()
          Adds all sextante GUI resources located in the jar files in the classpath.
static void addResourcesFromFolder(java.lang.String sFolder)
          Adds all sextante GUI resources from files located in the jar files of a given folder.
static void addResourcesFromURLs(java.net.URL[] urls)
           
static java.lang.String[] getModelerParameterPanelClassNames()
          Returns an array of class names corresponding to custom modeler parameter panels found in jar files
static java.lang.String[] getParameterPanelClassNames()
          Returns an array of class names corresponding to custom parameter panels found in jar files
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GUIResources

public GUIResources()
Method Detail

addResourcesFromClasspath

public static void addResourcesFromClasspath()
Adds all sextante GUI resources located in the jar files in the classpath.


addResourcesFromURLs

public static void addResourcesFromURLs(java.net.URL[] urls)

addResourcesFromFolder

public static void addResourcesFromFolder(java.lang.String sFolder)
Adds all sextante GUI resources from files located in the jar files of a given folder.


getParameterPanelClassNames

public static java.lang.String[] getParameterPanelClassNames()
Returns an array of class names corresponding to custom parameter panels found in jar files

Returns:
an array of class names corresponding to custom parameter panels found in jar files

getModelerParameterPanelClassNames

public static java.lang.String[] getModelerParameterPanelClassNames()
Returns an array of class names corresponding to custom modeler parameter panels found in jar files

Returns:
an array of class names corresponding to custom modeler parameter panels found in jar files