org.ow2.clif.scenario.isac.egui.plugins.gui
Class GUIDescriptionParser
java.lang.Object
org.ow2.clif.scenario.isac.egui.plugins.gui.GUIDescriptionParser
public class GUIDescriptionParser
- extends java.lang.Object
- Author:
- JC Meillaud, A Peyrard, Thomas Escalle
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GUIDescriptionParser
public GUIDescriptionParser()
loadGUIDescriptionFile
public 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. If there
is a description, a ParametersWidgetNode is built from it, otherwise,
a default ParametersWidgetNode is built.
- Parameters:
ids
- fileName
- Name of the GUI description fileplugin
- the plugin description objectpanels
- an Hashtable of the ParametersWidgetNode
completeParamsWidgetDesc
public 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
- Parameters:
parent
- The current description where we
put the missing ParametersWidgetsNodeparametersByName
- map of missing parameters containing
parameter description objects indexed by the parameter name.