Class TimeseriesCommandProcessor

  • All Implemented Interfaces:
    LoggingSupporter, SizeOfHandler, Stoppable, UndoHandler, Serializable

    public class TimeseriesCommandProcessor
    extends CommandProcessor
    General actions:

    connect <driver> <URL> <user> [password]
       Connects to the database.

    delete-data <comma-separated list of DB-IDs>
       Deletes the spectra with the specified DB-IDs from the database.

    disconnect
       Disconnects from the database.

    run-tool <tool + options>
       Runs the specified tool.


    Actions for adams.gui.core.UndoHandler:

    disable-undo
       Disables the undo support, if available.

    enable-undo
       Enables the undo support, if available.


    Actions for knir.gui.visualization.spectrum.TimeseriesPanel:

    add-data <comma-separated list of DB-IDss>
       Adds the spectrums to the currently loaded ones.

    add-data-file <spectrum-reader scheme>
       Adds the spectrum loaded via the given reader to the currently loaded ones.

    clear-data
       Removes all spectra.

    filter <classname + options>
       Executes the filter on the visible spectra, replaces the original ones.

    filter-overlay <classname + options>
       Executes the filter on the visible spectra, overlays the original ones.

    invisible <comma-separated list of 1-based indices>
       Sets the visibility of the specified spectrums to false.
       NB: index is based on the order the spectrums haven beeen loaded into the
       system, includes all spectrums, not just visible ones.

    remove-data <comma-separated list of 1-based indices>
       Removes the spectrums with the specified indices.
       NB: index is based on the order the spectrums haven beeen loaded into the
       system, includes all spectrums, not just visible ones.

    run-flow <filename>
       Executes the flow stored in the given file.
       The base actor has to be 'adams.flow.control.SubProcess'.
       The processed spectra replace the currently loaded ones.

    run-flow-overlay <filename>
       Executes the flow stored in the given file.
       The base actor has to be 'adams.flow.control.SubProcess'.
       The processed spectra overlay the currently loaded ones.

    select-wave-number <wave number>
       Selects a wave number.

    set-data <index> <DB-ID>
       Replaces the currently loaded spectrum at the specified 1-based index with
       the one associated with the database ID.

    visible <comma-separated list of 1-based indices>
       Sets the visibility of the specified spectrums to true.
       NB: index is based on the order the spectrums haven beeen loaded into the
       system, includes all spectrums, not just visible ones.

    write-spectrum <1-based index> <filename>
       Saves the spectrum at the specified position to the file.




    Version:
    $Revision$
    Author:
    fracpete (fracpete at waikato dot ac dot nz)
    See Also:
    Serialized Form