C# Class ZeroInstall.Commands.WinForms.SelectionsControl

Visualizes Selections and allows modifications to FeedPreferences and InterfacePreferences.
Inheritance: System.Windows.Forms.UserControl
显示文件 Open project: 0install/0install-win

Public Methods

Method Description
BeginCustomizeSelections ( Func solveCallback ) : void

Allows the user to modify the InterfacePreferences and rerun the ISolver if desired.

This method must not be called from a background thread.

This method must not be called before Control.Handle has been created.

EndCustomizeSelections ( ) : void

Removes the additional UI added by BeginCustomizeSelections.

SelectionsControl ( ) : System

Creates a new Selections control.

SetSelections ( [ selections, [ feedManager ) : void

Shows the user the Selections made by the ISolver.

This method must not be called from a background thread.

This method must not be called before Control.Handle has been created.

Private Methods

Method Description
BuildTable ( ) : void
CreateLinkLabel ( FeedUri interfaceUri ) : System.Windows.Forms.LinkLabel
CreateLinkLabels ( ) : void
CreateTaskControls ( ManifestDigest manifestDigest ) : TaskControl

Method Details

BeginCustomizeSelections() public method

Allows the user to modify the InterfacePreferences and rerun the ISolver if desired.

This method must not be called from a background thread.

This method must not be called before Control.Handle has been created.

public BeginCustomizeSelections ( Func solveCallback ) : void
solveCallback Func Called after preferences have been changed and the needs to be rerun.
return void

EndCustomizeSelections() public method

Removes the additional UI added by BeginCustomizeSelections.
public EndCustomizeSelections ( ) : void
return void

SelectionsControl() public method

Creates a new Selections control.
public SelectionsControl ( ) : System
return System

SetSelections() public method

Shows the user the Selections made by the ISolver.

This method must not be called from a background thread.

This method must not be called before Control.Handle has been created.

public SetSelections ( [ selections, [ feedManager ) : void
selections [ The as provided by the .
feedManager [ The feed manager used to retrieve feeds for additional information about implementations.
return void