YaST2 Developers Documentation: repair

repair

OSRRepairUI.ycp
UI functions

This module has an unstable interface.

Imports

  • Arch
  • Hotplug
  • Label
  • Linuxrc
  • Mode
  • ModuleLoading
  • OSR
  • OSRCommon
  • OSRDirect
  • OSRExecute
  • OSRMode
  • OSRPopup
  • OSRProgress
  • OSRStatus
  • OSRSummary
  • PackageCallbacksInit
  • Popup
  • Progress
  • Report
  • Sequencer
  • Stage
  • StorageControllers
  • StorageDevices
  • Wizard

Global Functions

Local Variables

Local Functions

local detected -> boolean

detected is true if the scan and requires sequencer is finished and the user is in the last dialog ( EndDialog). Allows to go back to the scan protocol.

local init_dialog_caption -> string

Captions ...

global OSRRepairUI () -> void

Constructor

global Reset () -> void

Reset api modules for the next scan and repair sequence.

global InitDialog () -> symbol

Init Dialog

local build_label_description (string label, string description) -> string

Build (return) a description text for a label in the help_text field.

Parameters:
label the label
description the description text for the label.
Return value:
the formatted label help text
local build_multi_selection_box (boolean mode) -> term

Build a selection box with all scan and repair groups.

Parameters:
mode if all entries should be checked ('Select all')
local set_buttons_enable (boolean pause, boolean back, boolean next) -> void

Set the wizard button.

Parameters:
pause
back
next
local StartDialog () -> symbol

The start dialog let the user select how the system should be analysed.

Return value:
for sequencer
local ScanOptionsDialog () -> symbol

Dialog which let the user select or deselect some scan and repair groups.

local RepairToolsDialog () -> symbol

Repair tool dialog

local DetectDialogInit () -> void

Init a new automatically analyse sequence.

local AbortDialog () -> symbol

AbortDialog

local DetectDialog () -> symbol

Controll the user interaction for the scan and repair sequence.

local FinishDialog () -> symbol

FinishDialog

global OsrMainDialog () -> symbol

Main dialog. Manage the sequence of the different dialogs.