byucc.jhdl.apps.dtb.cli
Class ParamGUI

java.lang.Object
  extended bybyucc.jhdl.apps.dtb.cli.CLIParamSetter
      extended bybyucc.jhdl.apps.dtb.cli.ParamGUI
All Implemented Interfaces:
BuildListener, CLICommand, DTBListener

public class ParamGUI
extends CLIParamSetter
implements BuildListener

Implements the paramgui CLI command for DynamicTestBench. This command will cause a GUI to be displayed that will show the settings for the constructor and the ports for the design being loaded in the DynamicTestBench.

Author:
Anthony L. Slade

Field Summary
 
Fields inherited from class byucc.jhdl.apps.dtb.cli.CLIParamSetter
_dtb, _lastException, CLITYPE, COMMAND_AUTOBUILD, COMMAND_BUILD, COMMAND_CLOCKSCHEDULE, COMMAND_CONSTRUCTOR, COMMAND_NETLIST, COMMAND_PARAM, COMMAND_PARAMGUI, COMMAND_PORTPARAM, COMMAND_SIMULATOR_CONTENTS, COMMAND_TARGET
 
Fields inherited from interface byucc.jhdl.util.cli.CLICommand
OVERLOAD
 
Method Summary
 void dtbDesignBuilt(Cell design)
          Implementation of the BuildListener interface to find out when the cell is built.
 java.lang.Object execute(CLInterpreter parent, java.lang.String[] args)
          This method is invoked by CLInterpreter when a command registered to this class is called.
 java.lang.String getHelpText(java.lang.String cmdName)
           
 java.lang.String getUsageText(java.lang.String cmdName)
           
 
Methods inherited from class byucc.jhdl.apps.dtb.cli.CLIParamSetter
createCLICommands, getHelpType, getLastException
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

dtbDesignBuilt

public void dtbDesignBuilt(Cell design)
Implementation of the BuildListener interface to find out when the cell is built. When this method is called, any open ParametersGUI will be closed and forgotten.

Specified by:
dtbDesignBuilt in interface BuildListener

execute

public java.lang.Object execute(CLInterpreter parent,
                                java.lang.String[] args)
                         throws CLIException
This method is invoked by CLInterpreter when a command registered to this class is called.

Specified by:
execute in interface CLICommand
Specified by:
execute in class CLIParamSetter
Parameters:
parent - the CLInterpreter to interact with
args - args[0] is the command called, the rest of the values in args are the arguments passed to the command on the command line
Throws:
CLIException

getHelpText

public java.lang.String getHelpText(java.lang.String cmdName)
Specified by:
getHelpText in interface CLICommand
Specified by:
getHelpText in class CLIParamSetter
Parameters:
cmdName - the name of the command to give the help text for
Returns:
the help for the given cmdName

getUsageText

public java.lang.String getUsageText(java.lang.String cmdName)
Specified by:
getUsageText in interface CLICommand
Specified by:
getUsageText in class CLIParamSetter
Parameters:
cmdName - the name of the command to give the usage for
Returns:
the usage for the given cmdName


Copyright ? 2006 Brigham Young University, Configurable Computing Laboratory. All Rights Reserved.