Click or drag to resize

ListOfXAndYColumnController Class

Controls the selection and editing of X and Y column pairs.
Inheritance Hierarchy

Namespace: Altaxo.Gui.Data
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class ListOfXAndYColumnController : MVCANControllerEditCopyOfDocBase<ListOfXAndYColumn, IListOfXAndYColumnView>

The ListOfXAndYColumnController type exposes the following members.

Constructors
 NameDescription
Public methodListOfXAndYColumnController Initializes a new instance of the ListOfXAndYColumnController class.
Top
Properties
 NameDescription
Public propertyAvailableContent Initializes the treeview of available data with content.
Public propertyAvailableItemsDragHandler Gets the drag handler for available items.
Public propertyCmdMasterDataDoubleClick Gets the command that opens the selected master data item.
Public propertyCmdPlotItemOpen Gets the command that opens the selected plot item for editing.
Public propertyCmdPlotItemsCopy Gets the command that copies selected plot items.
Public propertyCmdPlotItemsCut Gets the command that cuts selected plot items.
Public propertyCmdPlotItemsDelete Gets the command that deletes selected plot items.
Public propertyCmdPLotItemsMoveDownSelected Gets the command that moves selected plot items downward.
Public propertyCmdPLotItemsMoveUpSelected Gets the command that moves selected plot items upward.
Public propertyCmdPlotItemsPaste Gets the command that pastes plot items.
Public propertyCmdPutDataToPlotItemsDown Gets the command that inserts selected available items after the current selection.
Public propertyCmdPutDataToPlotItemsUp Gets the command that inserts selected available items before the current selection.
Public propertyCommandChangeColumnsForSelectedItems Gets the command that changes the columns for the selected items.
Public propertyCommandChangeTableForSelectedItems Gets the command that changes the source table for the selected items.
Public propertyDataItems Gets or sets the controller for the current plot data items.
Public propertyIsDisposed Gets a value indicating whether this controller is already disposed.
(Inherited from ControllerBase)
Public propertyModelObject Gets the model (document) that this controller manages.
(Inherited from MVCANControllerEditCopyOfDocBaseTModel, 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 propertyPlotItemsDragDropHandler Gets the drag-and-drop handler for plot items.
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 MVCANControllerEditCopyOfDocBaseTModel, TView)
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
(Inherited from MVCANControllerEditCopyOfDocBaseTModel, 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 MVCANControllerEditCopyOfDocBaseTModel, TViewApply(Boolean))
Protected methodApplyEnd Helper that performs the final steps of the apply operation, optionally copying back to the original document and disposing the controller.
(Inherited from MVCANControllerEditCopyOfDocBaseTModel, 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 MVCANControllerEditCopyOfDocBaseTModel, TView)
Public methodAvailableItems_PutDataToPlotItems Puts the selected data columns into the plot content, either at the first position(s), or immediately before the first selected item.
Public methodAvailableItems_PutDataToPlotItemsDown Puts the selected data columns into the plot content, either at the first position(s), or immediately before the first selected item.
Public methodAvailableItems_PutDataToPlotItemsUp Puts the selected data columns into the plot content, either at the first position(s), or immediately before the first selected item.
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 MVCANControllerEditCopyOfDocBaseTModel, 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 MVCANControllerEditCopyOfDocBaseTModel, 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 MVCANControllerEditCopyOfDocBaseTModel, TViewGetSubControllers)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodInitialize Basic initialization of the document.
(Overrides MVCANControllerEditCopyOfDocBaseTModel, TViewInitialize(Boolean))
Public methodInitializeDocument Initializes the controller with the document. If successful, the function returns .
(Inherited from MVCANControllerEditCopyOfDocBaseTModel, TView)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodOnPropertyChanged Raises the PropertyChanged event.
(Inherited from ControllerBase)
Public methodPlotItems_CanCopy Determines whether the selected plot items can be copied.
Public methodPlotItems_CanCut Determines whether the selected plot items can be cut.
Public methodPlotItems_CanPaste Determines whether plot items can be pasted from the clipboard.
Public methodPlotItems_Copy Copies the selected plot items to the clipboard.
Public methodPlotItems_Cut Cuts the selected plot items to the clipboard.
Public methodPlotItems_MoveDownSelected Moves the selected plot items down.
Public methodPlotItems_MoveUpSelected Moves the selected plot items up.
Public methodPlotItems_Paste Pastes plot items from the clipboard.
Public methodRevert Tries to revert changes to the model, i.e. restores the original state of the model.
(Inherited from MVCANControllerEditCopyOfDocBaseTModel, TView)
Protected methodThrowIfNotInitializedThrows an exception if the controller is not initialized with a document.
(Inherited from MVCANControllerEditCopyOfDocBaseTModel, 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 MVCANControllerEditCopyOfDocBaseTModel, TView)
Protected field_originalDoc The original document. If _useDocumentCopy is , it may have been edited by this controller.
(Inherited from MVCANControllerEditCopyOfDocBaseTModel, 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 MVCANControllerEditCopyOfDocBaseTModel, TView)
Protected field_view The GUI view of this controller.
(Inherited from MVCANControllerEditCopyOfDocBaseTModel, TView)
Top
See Also