C# Class XWord.AddinSettingsFormManager

Manages the public events handlers for AddinSettingsForm instances.
Inheritance: AbstractAddinSettingsFormActionsManager
显示文件 Open project: xwiki-contrib/xwiki-office

Private Properties

Property Type Description
ApplyConnectionSettings void
ApplyPrefetchSettings void
ApplyRepositoriesSettings void

Public Methods

Method Description
AddinSettingsFormManager ( AddinSettingsForm &addinSettingsForm ) : System

Default constructor.

EnqueueAllHandlers ( ) : void

Enqueues all (known/custom) event handlers defined for an AddinSettingsForm instance: OnApply, OnCancel, OnFormLoad, OnOK, OnProtocolChange.

Protected Methods

Method Description
ActionApply ( object sender, EventArgs e ) : void

Action to perform when OnApply event is raised.

ActionCancel ( object sender, EventArgs e ) : void

Action to perform when OnCancel event is raised.

ActionFormLoad ( object sender, EventArgs e ) : void

Action to perform when OnFormLoad event is raised.

ActionOK ( object sender, EventArgs e ) : void

Action to perform when OnOK event is raised.

ActionProtocolChanged ( object sender, EventArgs e ) : void

Action to perform when OnProtocolChanged event is raised.

Private Methods

Method Description
ApplyConnectionSettings ( ) : void

Sets the new connection settings for the addin, connects to the server and refreshes the active wiki explorer.

ApplyPrefetchSettings ( ) : void

Sets the settings for the active prefetcher and

ApplyRepositoriesSettings ( ) : void

Sets the pages and attachments repositories.

Method Details

ActionApply() protected method

Action to perform when OnApply event is raised.
protected ActionApply ( object sender, EventArgs e ) : void
sender object Sender object.
e System.EventArgs Event arguments.
return void

ActionCancel() protected method

Action to perform when OnCancel event is raised.
protected ActionCancel ( object sender, EventArgs e ) : void
sender object Sender object.
e System.EventArgs Event arguments.
return void

ActionFormLoad() protected method

Action to perform when OnFormLoad event is raised.
protected ActionFormLoad ( object sender, EventArgs e ) : void
sender object Sender object.
e System.EventArgs Event arguments.
return void

ActionOK() protected method

Action to perform when OnOK event is raised.
protected ActionOK ( object sender, EventArgs e ) : void
sender object Sender object.
e System.EventArgs Event arguments.
return void

ActionProtocolChanged() protected method

Action to perform when OnProtocolChanged event is raised.
protected ActionProtocolChanged ( object sender, EventArgs e ) : void
sender object Sender object.
e System.EventArgs Event arguments.
return void

AddinSettingsFormManager() public method

Default constructor.
public AddinSettingsFormManager ( AddinSettingsForm &addinSettingsForm ) : System
addinSettingsForm UICommons.AddinSettingsForm A reference to an AddinSettingsForm instance.
return System

EnqueueAllHandlers() public method

Enqueues all (known/custom) event handlers defined for an AddinSettingsForm instance: OnApply, OnCancel, OnFormLoad, OnOK, OnProtocolChange.
public EnqueueAllHandlers ( ) : void
return void