YaST2 Developers Documentation: Configuration of profile-manager

Configuration of profile-manager

include/profile-manager/dialogs.ycp
Dialogs definitions

This module has an unstable interface.

Imports

  • FileUtils
  • Label
  • Popup
  • ProfileManager
  • Report
  • Wizard

Includes

  • profile-manager/helps.ycp

Local Functions

local GetService () -> string

popup for entering new service for resource group

Return value:
service name; empty string on cancel
local GetFile () -> string

popup for entering new file for resource group

Return value:
file name; empty string on cancel
local ResourceGroupPopup (map group, map resource_groups) -> map

Popup for editing or adding resource group settings

Parameters:
group map with info of the group
resource_groups
Return value:
modified group
local has_resource (string name, string type) -> boolean

Scan table items for presence of given resource

Parameters:
name
type
local resource_group_items () -> list<term>

helper function for building table items of one resource group

local ConfigureResourcesDialog () -> symbol

Resource configuration dialog

Return value:
Returned value from UserInput() call
local resource_groups_items () -> list

helper function for building table items with resource groups

local mark_group_deleted (string groupname) -> void

Marks selected resource group for deletion (will not be shown in list)

Parameters:
groupname name of group
local mark_group_active (string groupname) -> boolean

Changes "active" flag of selected resource group to opposite value

Parameters:
groupname name of group
Return value:
new value
local change_group (map group) -> void

Updates resource_groups map with currently edited group

Parameters:
group
local EditUserPopup (string name, string permission, map conflicts) -> map

Popup for editing user permission

Parameters:
name
permission ("switch" or "all")
conflicts
local UsersDialog () -> any

Dialog for configuration of users able to run scpm

local users_items () -> list

helper for generating list of items