Click or drag to resize

AsciiImportOptionsController Class

Controller for AsciiImportOptions.
Inheritance Hierarchy
SystemObject
  Altaxo.GuiControllerBase
    Altaxo.GuiMVCANControllerEditImmutableDocBaseAsciiImportOptions, IAsciiImportOptionsView
      Altaxo.Gui.Serialization.AsciiAsciiImportOptionsController

Namespace: Altaxo.Gui.Serialization.Ascii
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class AsciiImportOptionsController : MVCANControllerEditImmutableDocBase<AsciiImportOptions, IAsciiImportOptionsView>

The AsciiImportOptionsController type exposes the following members.

Constructors
 NameDescription
Public methodAsciiImportOptionsControllerInitializes a new instance of the AsciiImportOptionsController class
Top
Properties
 NameDescription
Public propertyAsciiDocumentAnalysisOptionsController Gets or sets the controller for the ASCII document analysis options view.
Public propertyCmdDoAnalyze Gets the command do analyze. Occurs when analysis of the ASCII input is requested.
Public propertyCodePage Gets or sets the controller for selecting the code page used to decode the ASCII file.
Public propertyDateTimeFormatCulture Gets or sets the controller for selecting the date/time-format culture.
Public propertyDetectEncodingFromByteOrderMarks Gets or sets a value indicating whether the encoding is detected from byte-order marks.
Public propertyHeaderLinesDestination Gets or sets the controller for selecting destinations for header lines.
Public propertyImportMultipleAsciiVertically Gets or sets a value indicating whether multiple ASCII streams are imported vertically.
Public propertyIndexOfCaptionLine Gets or sets the index of the caption line within the input.
Public propertyIsDateTimeFormatCultureKnown Gets or sets a value indicating whether the date/time-format culture is known.
Public propertyIsDisposed Gets a value indicating whether this controller is already disposed.
(Inherited from ControllerBase)
Public propertyIsIndexOfCaptionLineKnown Gets or sets a value indicating whether the index of the caption line is known.
Public propertyIsNumberFormatCultureKnown Gets or sets a value indicating whether the number-format culture is known.
Public propertyIsNumberOfMainHeaderLinesKnown Gets or sets a value indicating whether the number of main header lines is known for the ASCII import.
Public propertyIsSeparationStrategyKnown Gets or sets a value indicating whether the separation strategy is known.
Public propertyIsTableStructureKnown Gets or sets a value indicating whether the table structure has been detected and is known.
Public propertyModelObject Gets the model (document) that this controller manages.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected propertyNoDocumentException Gets an exception that is thrown when a controller was not initialized with a document.
(Inherited from ControllerBase)
Protected propertyNotInitializedException Gets an exception that is thrown when a controller is not properly initialized.
(Inherited from ControllerBase)
Protected propertyNoViewException Gets an exception that is thrown when a controller currently has no view.
(Inherited from ControllerBase)
Public propertyNumberFormatCulture Gets or sets the controller for selecting the number-format culture.
Public propertyNumberOfMainHeaderLines Gets or sets the number of main header lines for the ASCII import.
Public propertyRenameColumnsWithHeaderNames Gets or sets a value indicating whether columns should be renamed using header names.
Public propertyRenameWorksheetWithFileName Gets or sets a value indicating whether the worksheet should be renamed from the file name.
Public propertyReuseColumnNames Gets or sets a value indicating whether to reuse the column names when the destination table already exist. This property is ignored if the destination table is empty.
Public propertyReuseGroupNumbers Gets or sets a value indicating whether to reuse column kinds and groups when the destination table already exists. This property is ignored if the destination table is empty.
Public propertySeparationStrategy Gets or sets the controller providing available separation strategies.
Public propertySeparationStrategyInstanceController Gets or sets the controller that manages the separation-strategy detail view.
Public propertyTableStructure Gets or sets the detected table structure as a collection of column type descriptors.
Public propertyUseDocumentCopy Sets whether or not a copy of the document is used. If set to true, a copy of the document is used, so if the controller is not applied, all changes can be reverted. If set to false, no copy must be made. The document is directly changed by the controller, and changes cannot be reverted. Use the last option if a controller higher in the hierarchy has already made a copy of the document.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Top
Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if applying succeeded.
(Overrides MVCANControllerEditImmutableDocBaseTModel, TViewApply(Boolean))
Protected methodApplyEnd Helper that performs the final steps of the apply operation, optionally disposing the controller.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected methodAttachView Override this function to attach the view to the controller, either by subscribing to events of the view, or by setting the controller object on the view.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected methodCheckDocumentInitializedT Checks whether the document has been initialized and throws an exception if it is null.
(Inherited from ControllerBase)
Protected methodDetachView Override this function to detach the view from the controller, either by unsubscribing from events of the view or by setting the controller object on the view to null.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ControllerBase)
Public methodDispose(Boolean) Releases unmanaged and, optionally, managed resources.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetSubControllers Enumerates the sub controllers. This function is called on Dispose(Boolean) of this controller to dispose the sub controllers too. By overriding this function, there is no need to override Dispose(Boolean).
(Overrides MVCANControllerEditImmutableDocBaseTModel, TViewGetSubControllers)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitialize Basic initialization of the document.
(Overrides MVCANControllerEditImmutableDocBaseTModel, TViewInitialize(Boolean))
Public methodInitializeDocument Initializes the controller with the document.
(Overrides MVCANControllerEditImmutableDocBaseTModel, TViewInitializeDocument(Object))
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnPropertyChanged Raises the PropertyChanged event.
(Inherited from ControllerBase)
Public methodRevert Tries to revert changes to the model, i.e. restores the original state of the model.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected methodThrowIfNotInitializedThrows an exception if the controller is not initialized with a document.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventPropertyChangedOccurs when a property value changes.
(Inherited from ControllerBase)
Top
Fields
 NameDescription
Protected field_doc The document to edit. If _useDocumentCopy is , this is a copy of the original document; otherwise, it is the original document itself.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected field_originalDoc The original document. If _useDocumentCopy is , it may have been edited by this controller.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected field_useDocumentCopy If , a copy of the document is made before editing; this copy can later be used to revert the state of the document to the original state.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected field_view The GUI view of this controller.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Top
See Also