OpenMediaVault  3.0 (Erasmus)
The open network attached storage solution
OMV::window::Execute Class Reference
Inheritance diagram for OMV::window::Execute:

Detailed Description

This file is part of OpenMediaVault.

License:
http://www.gnu.org/licenses/gpl.html GPL Version 3
Author
Volker Theile volke.nosp@m.r.th.nosp@m.eile@.nosp@m.open.nosp@m.media.nosp@m.vaul.nosp@m.t.org

OpenMediaVault is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

OpenMediaVault is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with OpenMediaVault. If not, see http://www.gnu.org/licenses/.

Execute the given command asynchronously and display the command output in the dialog. The command will be executed right after the dialog has been rendered. By pressing the 'Stop' button a RPC will be send to stop the command. The 'Close' button will be shown then to close the dialog.

Parameters
rpcServiceThe name of the RPC service
rpcMethodThe name of the method to start the command asynchronously
rpcParamsThe method arguments of the start RPC
rpcDelayThe milliseconds to delay the RPC request. Default is 500.
rpcIgnoreErrorsIgnore RPC errors. Set to TRUE to ignore all errors or list special ones in an array. Defaults to FALSE.
hideStartButtonHide the 'Start' button. Defaults to FALSE.
hideStopButtonHide the 'Edit' button. Defaults to FALSE.
hideCloseButtonHide the 'Close' button. Defaults to FALSE.
adaptButtonStateAutomatically adjust the button states while the command is running. Defaults to TRUE.
progressTRUE to display a progress bar. This is useful when the executed application does not have any output to be displayed in the content area. If set to TRUE the content area will not be displayed. Defaults to FALSE.
progressTextThe progress bar text. Defaults to 'Please wait ...'.
scrollBottomSet to TRUE to automatically scroll down the content. Defaults to TRUE.
welcomeTextThe text that is displayed when the dialog is shown. The text is only shown if progress is set to FALSE. Defaults to ''.
infoTextThe text that is displayed at the bottom of the dialog in a tip toolbar. Defaults to ''.

The documentation for this class was generated from the following file: