Exchange |
public class ExchangeTablesOfPlotItemsController : MVCANControllerEditImmutableDocBase<ExchangeTablesOfPlotItemsDocument, IExchangeTablesOfPlotItemsView>
The ExchangeTablesOfPlotItemsController type exposes the following members.
Name | Description | |
---|---|---|
ExchangeTablesOfPlotItemsController | Initializes a new instance of the ExchangeTablesOfPlotItemsController class |
Name | Description | |
---|---|---|
CmdApplyReplacementForCommonSubstring | ||
CmdChooseFolder | ||
CmdChooseTable | ||
CommonSubstringText | Gets or sets the common substring text. The user should be able to edit this text in a text box. | |
IsCommonSubstringOperationsVisible | ||
IsDisposed | Get a value indication whether this controller is already disposed. (Inherited from ControllerBase) | |
ListOfCommonSubstrings | Initializes 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. | |
ListOfReplacementCandidates | List of possible replacement candidates for the currently selected common substring in [!:_commonSubstringsList]. | |
ModelObject |
Returns the document that this controller has edited. Here the state of the document has changed only after calling Apply(Boolean).
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
NoDocumentException | (Inherited from ControllerBase) | |
NotInitializedException | (Inherited from ControllerBase) | |
NoViewException | (Inherited from ControllerBase) | |
ReplacementCandidateText | ||
SearchCommonSubstringCharacterwise | ||
SearchCommonSubstringSubfolderwise | ||
TableList | List 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. | |
UseDocumentCopy |
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 can not be reverted.
Use the last option if a controller up in the hierarchie has already made a copy of the document.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
ViewObject |
Returns the Gui element that shows the model to the user.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) |
Name | Description | |
---|---|---|
Apply | Called when the user input has to be applied to the document being controlled. Returns true if Apply is successfull. (Overrides MVCANControllerEditImmutableDocBaseTModel, TViewApply(Boolean)) | |
ApplyEnd | (Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
AttachView |
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) | |
CheckDocumentInitializedT | (Inherited from ControllerBase) | |
DetachView |
Override this function to detach the view from the controller, either by unsubscribing to events of the view, or by setting the controller object on the view to null.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
Dispose |
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from ControllerBase) | |
Dispose(Boolean) |
Releases unmanaged and - optionally - managed resources.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) | |
GetHashCode | Serves as the default hash function. (Inherited from Object) | |
GetSubControllers | (Overrides MVCANControllerEditImmutableDocBaseTModel, TViewGetSubControllers) | |
GetType | Gets the Type of the current instance. (Inherited from Object) | |
Initialize | (Overrides MVCANControllerEditImmutableDocBaseTModel, TViewInitialize(Boolean)) | |
InitializeDocument |
Initialize the controller with the document. If successfull, the function has to return true.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
OnPropertyChanged | (Inherited from ControllerBase) | |
Revert |
Try to revert changes to the model, i.e. restores the original state of the model.
(Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
ThrowIfNotInitialized | Throws an exception if the controller is not initialized with a document. (Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
ToString | Returns a string that represents the current object. (Inherited from Object) |
Name | Description | |
---|---|---|
PropertyChanged |
Occurs when a property value changes.
(Inherited from ControllerBase) |
Name | Description | |
---|---|---|
_doc | The document to edit. If _useDocumentCopy is true, this is a copy of the original document; otherwise, it is the original document itself. (Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
_originalDoc | The original document. If _useDocumentCopy is false, it maybe has been edited by this controller. (Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) | |
_useDocumentCopy | If true, 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) | |
_view | The Gui view of this controller (Inherited from MVCANControllerEditImmutableDocBaseTModel, TView) |