public class GUIDescriptionParser
extends java.lang.Object
Constructor and Description |
---|
GUIDescriptionParser() |
Modifier and Type | Method and Description |
---|---|
static void |
completeParamsWidgetDesc(ParametersWidgetsNode parent,
java.util.Map<java.lang.String,ParameterDescription> parametersByName)
Method to complete the ParametersWidgetsNode description tree, if some of
the parameters are not defined
|
static void |
loadGUIDescriptionFile(java.util.Vector ids,
java.io.InputStream fileName,
PluginDescription plugin,
java.util.Map<java.lang.String,ParametersWidgetsNode> panels)
Loads a GUI description file, trying to find description
for the session object, samples, timers, tests and controls.
|
public static void loadGUIDescriptionFile(java.util.Vector ids, java.io.InputStream fileName, PluginDescription plugin, java.util.Map<java.lang.String,ParametersWidgetsNode> panels)
ids
- fileName
- Name of the GUI description fileplugin
- the plugin description objectpanels
- an Hashtable of the ParametersWidgetNodepublic static void completeParamsWidgetDesc(ParametersWidgetsNode parent, java.util.Map<java.lang.String,ParameterDescription> parametersByName)
parent
- The current description where we
put the missing ParametersWidgetsNodeparametersByName
- map of missing parameters containing
parameter description objects indexed by the parameter name.