C# Class XenAdmin.Wizards.HAWizard_Pages.AssignPriorities

Inheritance: XenAdmin.Controls.XenTabPage
Datei anzeigen Open project: xenserver/xenadmin Class Usage Examples

Private Properties

Property Type Description
AddVmRow void
DeregisterEvents void
IsHaActivatedFirstTime bool
PopulateVMs void
RegisterEvents void
RemoveVmRow void
StartNtolUpdate void
StopNtolUpdate void
UpdateMenuItems void
UpdateVMsAgility void
VM_CollectionChanged void
dataGridViewVms_KeyDown void
dataGridViewVms_SelectionChanged void
findItemFromVM VmWithSettingsRow
getCurrentSettings VM.HA_Restart_Priority>.Dictionary
haNtolIndicator_UpdateInProgressChanged void
linkLabelTellMeMore_LinkClicked void
m_dropDownButtonRestartPriority_Click void
nudOrder_ValueChanged void
nudStartDelay_ValueChanged void
priority_Click void
updateButtons void
vm_PropertyChanged void
worker_DoWork object
worker_RunWorkerCompleted void

Public Methods

Method Description
AssignPriorities ( ) : System
EnableNext ( ) : bool
GetCurrentStartupOptions ( ) : VMStartupOptions>.Dictionary

Gets the current (uncommitted) VM startup options. Must be called on the GUI thread.

PageCancelled ( ) : void
PageLeave ( PageLoadedDirection direction, bool &cancel ) : void
PageLoaded ( PageLoadedDirection direction ) : void
SelectDefaultControl ( ) : void

Protected Methods

Method Description
Dispose ( bool disposing ) : void

Clean up any resources being used.

Private Methods

Method Description
AddVmRow ( XenAPI.VM vm ) : void
DeregisterEvents ( ) : void
IsHaActivatedFirstTime ( IEnumerable vms ) : bool
PopulateVMs ( ) : void

Must be called on the event thread.

RegisterEvents ( ) : void
RemoveVmRow ( XenAPI.VM vm ) : void
StartNtolUpdate ( ) : void
StopNtolUpdate ( ) : void
UpdateMenuItems ( ) : void
UpdateVMsAgility ( IEnumerable vms ) : void

Starts a new background thread that updates the displayed agility status for each VM.

VM_CollectionChanged ( object sender, CollectionChangeEventArgs e ) : void

Called when the current IXenConnection's VM dictionary changes.

dataGridViewVms_KeyDown ( object sender, KeyEventArgs e ) : void
dataGridViewVms_SelectionChanged ( object sender, EventArgs e ) : void
findItemFromVM ( XenAPI.VM vm ) : VmWithSettingsRow

Finds the ListViewItem for the given VM. Will return null if no corresponding item could be found. Must be called on the event thread.

getCurrentSettings ( ) : VM.HA_Restart_Priority>.Dictionary

Gets the current (uncommitted) VM restart priorities. Must be called on the GUI thread.

haNtolIndicator_UpdateInProgressChanged ( object sender, EventArgs e ) : void
linkLabelTellMeMore_LinkClicked ( object sender, System.Windows.Forms.LinkLabelLinkClickedEventArgs e ) : void
m_dropDownButtonRestartPriority_Click ( object sender, EventArgs e ) : void
nudOrder_ValueChanged ( object sender, EventArgs e ) : void
nudStartDelay_ValueChanged ( object sender, EventArgs e ) : void
priority_Click ( object sender, EventArgs e ) : void

Called when the user clicks one of the restart priorities in the context menu.

updateButtons ( ) : void
vm_PropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
worker_DoWork ( object sender, object arg ) : object
worker_RunWorkerCompleted ( object sender, RunWorkerCompletedEventArgs e ) : void

Method Details

AssignPriorities() public method

public AssignPriorities ( ) : System
return System

Dispose() protected method

Clean up any resources being used.
protected Dispose ( bool disposing ) : void
disposing bool true if managed resources should be disposed; otherwise, false.
return void

EnableNext() public method

public EnableNext ( ) : bool
return bool

GetCurrentStartupOptions() public method

Gets the current (uncommitted) VM startup options. Must be called on the GUI thread.
public GetCurrentStartupOptions ( ) : VMStartupOptions>.Dictionary
return VMStartupOptions>.Dictionary

PageCancelled() public method

public PageCancelled ( ) : void
return void

PageLeave() public method

public PageLeave ( PageLoadedDirection direction, bool &cancel ) : void
direction PageLoadedDirection
cancel bool
return void

PageLoaded() public method

public PageLoaded ( PageLoadedDirection direction ) : void
direction PageLoadedDirection
return void

SelectDefaultControl() public method

public SelectDefaultControl ( ) : void
return void