Click or drag to resize

ExchangeTablesOfPlotItemsController Class

Controls the exchange of the underlying tables of plotitems by other, user selectable tables.
Inheritance Hierarchy

Namespace: Altaxo.Gui.Graph
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3448.0 (4.8.3448.0)
Syntax
C#
public class ExchangeTablesOfPlotItemsController : MVCANControllerEditImmutableDocBase<ExchangeTablesOfPlotItemsDocument, IExchangeTablesOfPlotItemsView>

The ExchangeTablesOfPlotItemsController type exposes the following members.

Constructors
 NameDescription
Public methodExchangeTablesOfPlotItemsControllerInitializes a new instance of the ExchangeTablesOfPlotItemsController class
Top
Properties
 NameDescription
Public propertyCmdApplyReplacementForCommonSubstring 
Public propertyCmdChooseFolder 
Public propertyCmdChooseTable 
Public propertyCommonSubstringTextGets or sets the common substring text. The user should be able to edit this text in a text box.
Public propertyIsCommonSubstringOperationsVisible 
Public propertyIsDisposed Gets a value indicating whether this controller is already disposed.
(Inherited from ControllerBase)
Public propertyListOfCommonSubstringsInitializes the list of common substrings. The list. There is only one column which should be bound to the Text property. List of common substrings of the currently selected items in TableList.
Public propertyListOfReplacementCandidatesList of possible replacement candidates for the currently selected common substring in [!:_commonSubstringsList].
Public propertyModelObject Gets the document that this controller has edited. The state of the document changes only after calling Apply(Boolean).
(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 propertyReplacementCandidateText 
Public propertySearchCommonSubstringCharacterwise 
Public propertySearchCommonSubstringSubfolderwise 
Public propertyTableListList of the tables that are referenced by the plots, the plot items etc. First column is 'old table' and should be bound to the 'Text' property. Second column is the new table name and should be bound to 'Text1' property. Third column is the status and should be bound to 'Text2' property.
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 is made. The document is directly changed by the controller, and changes can not be reverted. Use the last option if a controller up 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 methodApplyCalled when the user input has to be applied to the document being controlled. Returns true if Apply is successfull.
(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
(Overrides MVCANControllerEditImmutableDocBaseTModel, TViewGetSubControllers)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitialize
(Overrides MVCANControllerEditImmutableDocBaseTModel, TViewInitialize(Boolean))
Public methodInitializeDocument Initializes the controller with the document. If successful, the function returns .
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnPropertyChanged
(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 eventPropertyChanged Occurs 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