YaST2 Developers Documentation: Partitioning

Partitioning

StorageDialog.ycp
Display and handle main dialog.
  • Sven Schober (sschober@suse.de)

This module has an unstable interface.

Imports

  • AutoinstPartPlan
  • AutoinstStorage
  • Label
  • Popup
  • String

Includes

  • autoinstall/DriveDialog.ycp
  • autoinstall/PartitionDialog.ycp
  • autoinstall/VolgroupDialog.ycp
  • autoinstall/common.ycp
  • autoinstall/tree.ycp

Local Functions

local EmptyDialog () -> term

Displayed when tree is empty

local StorageEventHandler () -> void

Top level event handler

Catches all events not handled by the currently active subdialog (one of: Drive, Partition or LVM).

The general idea is (like with dispatchMenuEvent()):

When the user clicks on a button (Add {Drive, Partition, LVM}, Remove):

1. the check() function on the currently active dialog is called. If there were any changes to the settings the user is asked if these should be saved (this does not happen for delete events).

local StorageDialog () -> symbol

Main Partitioning Dialog