OpenMediaVault  0.6 (Kralizec)
The open network attached storage solution
 All Classes Functions Variables Groups Pages
OMV::workspace::window::Container Class Reference

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/.

Generic workspace window class that can be used to display a form, grid or tab panel. The content is loaded/stored via RPC.

OMV.window.Window

Parameters
rpcServiceThe RPC service name. Required.
rpcGetMethodThe RPC method to get the data. Required.
rpcGetParamsThe RPC get method parameters. Required.
rpcSetMethodThe RPC method to commit the data. Required.
rpcSetPollStatusSet to TRUE if the RPC is a long running one. In this case the process status is polled frequently. Defaults to FALSE.
hideOkButtonTrue to hide the 'OK' button. Defaults to false.
hideCancelButtonTrue to hide the 'Cancel' button. Defaults to false.
hideCloseButtonTrue to hide the 'Close' button. Defaults to true.
hideResetButtonTrue to hide the 'Reset' button. Defaults to true.
okButtonTextThe button text. Defaults to 'Save'.
resetButtonTextThe button text. Defaults to 'Reset'.
cancelButtonTextThe button text. Defaults to 'Cancel'.
closeButtonTextThe button text. Defaults to 'Close'.
modeThe 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'.
readOnlyTrue if the property values are read-only. The 'OK' and 'Reset' buttons will be disabled in this case. Defaults to FALSE.
closeIfNotDirtyClose the dialog immediatelly after 'OK' has been pressed and the form is not dirty. Defaults to TRUE.
autoLoadDataAutomatically execute the doLoad method after the component has been initialized. This only applies if mode is set to 'remote'. Defaults to TRUE.

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