ACC SHELL

Path : /usr/share/YaST2/modules/
File Upload :
Current File : //usr/share/YaST2/modules/TablePopup.ybc

YaST bytecode 1.4.0
TablePopupTablePopup.ycpCWMLabelModeReportprevious_selected_item	getIdList	ValidateTableAttr	ValidateValueType			ValidateTableDescr		
id2key			key2descr			updateOptionMap		

tableEntryKey		tableEntryValue		tableEntryChanged	deleteTableItem	
updateButtons		
moveTableItem	
TableRedraw	askForNewOption		singleOptionEditPopup
	DisableTable	EnableTable		TableInit		TableHandle
		TableInitWrapper	TableHandleWrapper
	CreateTableDescr			

descr	opt_iddescr	opt_key		opt_descr		fallbacksopt_id	opt_descr	%opt_iddescr	4descr		opt_descr	possibleeditabledescr	option	*descr	Adescr	Wdescr	key	ddescr	key	event_descrkey	*key	event_descr5attrib	widget_descr	3UI	UserInputWaitForEvent	
OpenDialogCloseDialogChangeWidget

QueryWidget

SetFocus
WidgetExists
0base3CWMValidateBasicType	ValidateValueType		GetProcessedWidget	
prepareWidget		validateWidget		3Label	AddButton	CancelButton	
EditButton	OKButton	DeleteButton	3Modetest3ReportError	$%'descr	toEval$(ids()4*-+!--	%5attr	types		ret$6
add_delete_buttonsbooleanchanged_columnbooleanedit_buttonbooleanunique_keysbooleanup_down_buttonsboolean$=,>		foreachk	vtype	$?		(@	4A,B	
y2error	
Unknown attribute %1&C4F&G&&	-J%Wkey	valuewidget	popupsuccess$X(Y4Z([init&\	(]handle&^||	
(`store&a	(bcleanup&c	(dvalidate_function&e	(foptional&g(h
label_func&i		-k(mid2key&n	(oids&p(q
option_delete&r	(ssummary&t		(u
label_func&v		(woption_move&x	
(yoptions&z	({	add_items&|(~!,	
y2error	
0Wrong type of option %1 in description map of %2%	key	descr	retoptions	$,		foreachk	v&&&$options
,		foreachw_key	vdes		$			,				foreachgroup	d	

	(&&
table
popup4,	
y2error	
Unknown entry in option %1: %2
,		foreachkey	value
,-%
toEval	(&&&&&&		size					substring			____sep4-____sep$	id2key(-!-	%options	opt_descr	$options
$
&			add_cwm_key'tableaddtable
_cwm_key'popupaddpopup
_cwm_key(popuplabel'popuplabel	tablelabel-%'tabletable
'popuppopup
,		foreachk		initstore(&&!haskeypopup
haskey'popup(&&!haskeytable
summaryhaskeysummary4'tablesummarysummary(&&!haskeytable

label_funchaskey
label_func4'table
label_func
label_func(&&!haskeytable
changedhaskeychanged4'tablechangedchanged(&&	_cwm_key____sep	tablelabel4'tablelabel---------------------%
opt_id	opt_descr	opt_key	label	$	_cwm_key$	tablelabel		
sformat		
%1(haskeytable

label_func4
label_func		$		table
label_func&!-%opt_id	opt_descr	opt_key	toEval		$	_cwm_key$		tablesummary(4-	!-%opt_key	toEval	$	_cwm_key$	tablechanged(4-!-%%toEval	$&	
option_delete('4(opt_key	$)
-*!-,%4(5_cwm_attribadd_delete_buttons46,7id
_tp_deleteEnabledtableoptional(:_cwm_attribedit_button4;,<id_tp_editEnabled!table	immutable(?_cwm_attribup_down_buttons4@,Aid_tp_upEnabledtableordering,Cid_tp_downEnabledtableordering%Popt_iddescr	dir
toEval	
$Q	
option_move(R4S-T!
-V%_descr	update_buttonsid_listentries$`(a4b&c$emaplistopt_idopt_val	val	opt_changedopt_key		opt_descr	label	$f	$g	$h	$i	
$j		&k		fallback
$l	
	(m	____sep4n&o		&p		(r&&,s	(t_cwm_attribchanged_column4u-vitemid	*			
sformat		
%1	-}itemid			
sformat		
%1	,id	_tp_tableItems,id	_tp_table%do_sortval2key		
known_keys	widgetretoption	$!add_items_keep_order(&sort$
$
&maplistp	opt_descr	label	(!	/$		$			tablelabel		
sformat		
%1'	'		-itemid	$HBoxHSpacingVBoxVSpacingComboBoxidoptnameopteditableopt&Selected OptionbaseVSpacingHBoxHStretch
PushButtonid_tp_okoptkey_F10defaultHSpacing
PushButtonid
_tp_canceloptkey_F9HStretchVSpacingHSpacing,,idoptname$$)&&_tp_ok
_tp_cancel4&(_tp_ok4&	idoptnameValue,(
_tp_cancel-(--	%
opt_key	opt_idlabel	headerpopup_descr	widgethelp	contentsret	event_descr	$	_cwm_key$_cwm_id$		
sformat		
%1	tablelabel$HBoxHeadingCurrent Option: baseLabelHStretch$popup
$widgetVBox$	help(4&$HBoxHSpacingVBox	VSpacingLeftVSpacingVSpacingLeftLabelVSpacingLeftReplacePointidvalue_rpVSpacingHBoxHStretch
PushButtonid_tp_okoptkey_F10defaultHSpacing
PushButtonid
_tp_canceloptkey_F9HStretchVSpacingHSpacing,(init4toEval	$	init,!$$	
)&&_tp_ok
_tp_cancel4event_descr	$(&
ID_tp_ok&ID(handle4toEval	$		handle,!	(_tp_ok4val_type
$	

validate_type(	function4toEval	$
	validate_function(
4	(
!!
4&(!4&(&&_tp_okstore4toEval	$	store,!,-
%*,+id	_tp_tableEnabled(,_cwm_attribedit_button4-,.id_tp_editEnabled(0_cwm_attribadd_delete_buttons41,2id
_tp_deleteEnabled,3id_tp_addEnabled(5_cwm_attribup_down_buttons46,7id_tp_upEnabled,8id_tp_downEnabled%Aopt_idopt_key	
option_map	,Bid	_tp_tableEnabled(C_cwm_attribedit_button4D,Eid_tp_editEnabled(G_cwm_attribadd_delete_buttons4H,Iid_tp_addEnabled$Lid	_tp_tableCurrentItem$M
$N,O%W&X'Y_cwm_key,Z%devent_id$eID,fid	_tp_table(g	_tp_table4h(i&&&&	EventReason	Activated		EventTypeWidgetEvent-id_tp_edit4l&m_tp_edit(p||_tp_edit_tp_add4qopt_key	opt_id
option_map	toEvalret
$r$s(u_tp_add4vadd_unlisted$w	add_unlisted(x&&!	size	add_items	4y&z		add_items4}add_opts	idspresent	selected$~
	add_items	$
$
		maplisti

(!_cwm_attribunique_keys4&
			filteri	
	opt_descr$
-!
tableoptional&
			filtero	
!		contains
$
)!
4&
	(-(		contains
,'The selected option is already present.base&
(-(_tp_edit4&id	_tp_tableCurrentItem&
$$tablehandle(4(!
	4ret
$

-
4toEval_c
	ret
$

	tablehandle$
!
(

_tp_normal-
'_cwm_id'_cwm_key&fallback
$(_tp_ok4(_tp_add4,(_tp_edit4column$
_cwm_attribchanged_column,id	_tp_tableItem
&
-
,id	_tp_tableItem

(_cwm_attribchanged_column4,id	_tp_tableItem*(
_tp_delete4opt_id$id	_tp_tableCurrentItem(,(	_tp_table4opt_idkey	opt_descr	$id	_tp_tableCurrentItem$
(____sep4id_listprevious_index
current_indexstep	new_index$	$	(4&	,finde	&	+	-$	,finde
	&	+	-
$	(	&	(+	size	&	(		&	&	$	+		&		&
,id	_tp_tableCurrentItem&$
,(||_tp_up_tp_down4	opt_id$
id	_tp_tableCurrentItem&_tp_upupdown(4	opt_descr	,,id	_tp_tableCurrentItem$	
,	-%, %*-+%5
add_buttonedit_button
delete_buttontable_header
replace_pointhelp	up_downret	,6$7add_delete_buttons
PushButtonid_tp_addoptkey_F3HSpacing$:edit_button
PushButtonid_tp_editoptkey_F4HSpacing$=add_delete_buttons
PushButtonid
_tp_deleteoptkey_F5HSpacing$@changed_columnheaderCh.baseOptionbaseValuebaseheaderOptionbaseValuebase$NReplacePointid_tp_table_replHSpacing$P<p><b><big>Editing the Settings</big></b><br>
To edit the settings, choose the appropriate
entry of the table then click <b>Edit</b>.</p>base(Sadd_delete_buttons&U+			e<p>To add a new option, click <b>Add</b>. To remove
an option, select it and click <b>Delete</b>.</p>base(Xchanged_column&Z+			P<P>The <B>Ch.</B> column of the table shows 
whether the option was changed.</P>base(]up_down_buttons&_+			t<p>To reorder the options, select an option
and use <b>Up</b> and <b>Down</b> to move it up or down
in the list.</p>base$cup_down_buttonsVBoxVStretch
PushButtonid_tp_up&Upbase
PushButtonid_tp_down&DownbaseVStretchHSpacing$n	union
custom_widgetHBoxHSpacingVBoxHBoxTableid	_tp_tableopt	immediatenotifykeepSorting	HBoxHStretchHSpacing_cwm_attribwidgetcustomhelp_cwm_do_validate	(!haskeyinit4'init(!haskeyhandle4'handle-

ACC SHELL 2018