C# Class Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.XmlScript50NodeAdapter

Adapts a version 5.0 XmlScript to an XML script editor.
Inheritance: IXmlScriptNodeAdapter
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
GetConditionallyInstalledFileSetEditor ( ConditionallyInstalledFileSet p_cipPattern, IList p_lstModFiles ) : NodeEditor

The editor to use to edit a ConditionallyInstalledFileSet.

GetConditionallyInstalledFileSetOrderEditor ( IList p_lstConditionallyInstalledFileSets, IList p_lstModFiles ) : NodeEditor

Gets the editor to use to edit the XmlScript's conditionally installed file set order.

GetHeaderEditor ( HeaderInfo p_hdrHeader, IList p_lstModFiles ) : NodeEditor

Gets the editor to use to edit HeaderInfo.

GetInstallStepEditor ( InstallStep p_ispStep, IList p_lstModFiles ) : NodeEditor

Gets the editor to use to edit an InstallStep.

GetInstallStepOrderEditor ( ModManagement p_xscScript, IList p_lstModFiles ) : NodeEditor

Gets the editor to use to edit the XmlScript's install step order.

GetOptionEditor ( Option p_optOption, IList p_lstModFiles ) : NodeEditor

The editor to use to edit an Option.

GetOptionGroupEditor ( OptionGroup p_opgGroup, IList p_lstModFiles ) : NodeEditor

The editor to use to edit an OptionGroup.

GetPrerequisitesEditor ( ModManagement p_xscScript, IList p_lstModFiles ) : NodeEditor

Gets the editor to use to edit the XmlScript prerequisites.

GetRequiredInstallFilesEditor ( IList p_lstFiles, IList p_lstModFiles ) : NodeEditor

Gets the editor to use to edit XmlScript's required install files.

XmlScript50NodeAdapter ( XmlScriptType p_xstScripType ) : System.Collections.Generic

A simple constructor that initializes the object with the given values.

Protected Methods

Method Description
CreateCPLEditorVM ( IList p_lstModFiles ) : CPLEditorVM

Creates a CPLEditorVM.

CreateConditionEditorVM ( IList p_lstModFiles, CPLConverter p_cvtConverter ) : ConditionEditorVM

Creates a ConditionEditorVM.

Method Details

CreateCPLEditorVM() protected method

Creates a CPLEditorVM.
protected CreateCPLEditorVM ( IList p_lstModFiles ) : CPLEditorVM
p_lstModFiles IList The list of files in the script's mod.
return Nexus.Client.ModManagement.Scripting.XmlScript.CPL.Controls.CPLEditorVM

CreateConditionEditorVM() protected method

Creates a ConditionEditorVM.
protected CreateConditionEditorVM ( IList p_lstModFiles, CPLConverter p_cvtConverter ) : ConditionEditorVM
p_lstModFiles IList The list of files in the script's mod.
p_cvtConverter Nexus.Client.ModManagement.Scripting.XmlScript.CPL.CPLConverter A converter to use to convert CPL.
return Nexus.Client.ModManagement.Scripting.XmlScript.UI.Controls.NodeEditors.ConditionEditorVM

GetConditionallyInstalledFileSetEditor() public method

The editor to use to edit a ConditionallyInstalledFileSet.
public GetConditionallyInstalledFileSetEditor ( ConditionallyInstalledFileSet p_cipPattern, IList p_lstModFiles ) : NodeEditor
p_cipPattern ConditionallyInstalledFileSet
p_lstModFiles IList The list of files in the mod to which the /// being edited belongs.
return NodeEditor

GetConditionallyInstalledFileSetOrderEditor() public method

Gets the editor to use to edit the XmlScript's conditionally installed file set order.
public GetConditionallyInstalledFileSetOrderEditor ( IList p_lstConditionallyInstalledFileSets, IList p_lstModFiles ) : NodeEditor
p_lstConditionallyInstalledFileSets IList The conditionally installed file sets whose order is to be edited.
p_lstModFiles IList The list of files in the mod to which the /// being edited belongs.
return NodeEditor

GetHeaderEditor() public method

Gets the editor to use to edit HeaderInfo.
public GetHeaderEditor ( HeaderInfo p_hdrHeader, IList p_lstModFiles ) : NodeEditor
p_hdrHeader HeaderInfo The header to edit.
p_lstModFiles IList The list of files in the mod to which the /// being edited belongs.
return NodeEditor

GetInstallStepEditor() public method

Gets the editor to use to edit an InstallStep.
public GetInstallStepEditor ( InstallStep p_ispStep, IList p_lstModFiles ) : NodeEditor
p_ispStep InstallStep The to edit.
p_lstModFiles IList The list of files in the mod to which the /// being edited belongs.
return NodeEditor

GetInstallStepOrderEditor() public method

Gets the editor to use to edit the XmlScript's install step order.
public GetInstallStepOrderEditor ( ModManagement p_xscScript, IList p_lstModFiles ) : NodeEditor
p_xscScript ModManagement The whose install step order is to be edited.
p_lstModFiles IList The list of files in the mod to which the /// being edited belongs.
return NodeEditor

GetOptionEditor() public method

The editor to use to edit an Option.
public GetOptionEditor ( Option p_optOption, IList p_lstModFiles ) : NodeEditor
p_optOption Option The to edit.
p_lstModFiles IList The list of files in the mod to which the /// being edited belongs.
return NodeEditor

GetOptionGroupEditor() public method

The editor to use to edit an OptionGroup.
public GetOptionGroupEditor ( OptionGroup p_opgGroup, IList p_lstModFiles ) : NodeEditor
p_opgGroup OptionGroup The to edit.
p_lstModFiles IList The list of files in the mod to which the /// being edited belongs.
return NodeEditor

GetPrerequisitesEditor() public method

Gets the editor to use to edit the XmlScript prerequisites.
public GetPrerequisitesEditor ( ModManagement p_xscScript, IList p_lstModFiles ) : NodeEditor
p_xscScript ModManagement The whose prerequisites are to be edited.
p_lstModFiles IList The list of files in the mod to which the /// being edited belongs.
return NodeEditor

GetRequiredInstallFilesEditor() public method

Gets the editor to use to edit XmlScript's required install files.
public GetRequiredInstallFilesEditor ( IList p_lstFiles, IList p_lstModFiles ) : NodeEditor
p_lstFiles IList The list of required install files to edit.
p_lstModFiles IList The list of files in the mod to which the /// being edited belongs.
return NodeEditor

XmlScript50NodeAdapter() public method

A simple constructor that initializes the object with the given values.
public XmlScript50NodeAdapter ( XmlScriptType p_xstScripType ) : System.Collections.Generic
p_xstScripType XmlScriptType The current xml script type.
return System.Collections.Generic