OpenMediaVault
0.6 (Kralizec)
The open network attached storage solution
|
This file is part of OpenMediaVault.
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/.
Generic workspace window class that can be used to display a form, grid or tab panel. The content is loaded/stored via RPC.
rpcService | The RPC service name. Required. |
rpcGetMethod | The RPC method to get the data. Required. |
rpcGetParams | The RPC get method parameters. Required. |
rpcSetMethod | The RPC method to commit the data. Required. |
rpcSetPollStatus | Set to TRUE if the RPC is a long running one. In this case the process status is polled frequently. Defaults to FALSE. |
hideOkButton | True to hide the 'OK' button. Defaults to false. |
hideCancelButton | True to hide the 'Cancel' button. Defaults to false. |
hideCloseButton | True to hide the 'Close' button. Defaults to true. |
hideResetButton | True to hide the 'Reset' button. Defaults to true. |
okButtonText | The button text. Defaults to 'Save'. |
resetButtonText | The button text. Defaults to 'Reset'. |
cancelButtonText | The button text. Defaults to 'Cancel'. |
closeButtonText | The button text. Defaults to 'Close'. |
mode | The mode how to retrieve the data displayed in the property dialog. This can be 'local' or 'remote' which means the data is requested via RPC. Defaults to 'remote'. |
readOnly | True if the property values are read-only. The 'OK' and 'Reset' buttons will be disabled in this case. Defaults to FALSE. |
closeIfNotDirty | Close the dialog immediatelly after 'OK' has been pressed and the form is not dirty. Defaults to TRUE. |
autoLoadData | Automatically execute the doLoad method after the component has been initialized. This only applies if mode is set to 'remote'. Defaults to TRUE. |