XYZPlot |
public class XYZPlotLayerContentsController : MVCANControllerEditOriginalDocBase<PlotItemCollection, IXYPlotLayerContentsView>
The XYZPlotLayerContentsController type exposes the following members.
| Name | Description | |
|---|---|---|
| XYZPlotLayerContentsController | Initializes a new instance of the XYZPlotLayerContentsController class. |
| Name | Description | |
|---|---|---|
| AvailableContent | Initializes the treeview of available data with content. | |
| AvailableItemsDragHandler | Gets the a va il ab le it em sd ra gh an dl e r. | |
| CmdPlotItemDoubleClick | Gets the c md pl ot it em do ub le cl i c k. | |
| CmdPlotItemOpen | Gets the c md pl ot it em op e n. | |
| CmdPlotItemsCopy | Gets the c md pl ot it em sc o p y. | |
| CmdPlotItemsCut | Gets the c md pl ot it em sc u t. | |
| CmdPlotItemsDelete | Gets the c md pl ot it em sd el e t e. | |
| CmdPlotItemsEditRange | Gets the c md pl ot it em se di tr an g e. | |
| CmdPlotItemsGroup | Gets the c md pl ot it em sg ro u p. | |
| CmdPLotItemsMoveDownSelected | Gets the c md pl ot it em sm ov ed ow ns el ec t e d. | |
| CmdPLotItemsMoveUpSelected | Gets the c md pl ot it em sm ov eu ps el ec t e d. | |
| CmdPlotItemsPaste | Gets the c md pl ot it em sp as t e. | |
| CmdPlotItemsUngroup | Gets the c md pl ot it em su ng ro u p. | |
| CmdPutDataToPlotItems | Gets the c md pu td at at op lo ti te m s. | |
| CommandChangeColumnsForSelectedItems | Gets the c om ma nd ch an ge co lu mn sf or se le ct ed it e m s. | |
| CommandChangeTableForSelectedItems | Gets the c om ma nd ch an ge ta bl ef or se le ct ed it e m s. | |
| CreateNotInitializedException |
Gets an exception that is thrown when the controller was not initialized with a document.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) | |
| CreateNoViewException |
Gets an exception that is thrown when the controller currently has no view.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) | |
| DataClipping | The data clipping choices. | |
| Doc | Gets the current document of this controller. If the document is null, an InvalidOperationException is thrown. To check whether
the document is null, check the member _doc directly. (Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) | |
| IsDisposed |
Gets a value indicating whether this controller is already disposed.
(Inherited from ControllerBase) | |
| ModelObject |
Gets the model (document) that this controller manages.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) | |
| NoDocumentException |
Gets an exception that is thrown when a controller was not initialized with a document.
(Inherited from ControllerBase) | |
| NotInitializedException |
Gets an exception that is thrown when a controller is not properly initialized.
(Inherited from ControllerBase) | |
| NoViewException |
Gets an exception that is thrown when a controller currently has no view.
(Inherited from ControllerBase) | |
| PlotItems | Initializes the content list box by setting the items. | |
| PlotItemsDragDropHandler | Gets the p lo ti te ms dr ag dr op ha nd l e r. | |
| ShowRange | The s ho wr an g e. | |
| 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 cannot be reverted.
Use the last option if a controller higher in the hierarchy has already made a copy of the document.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) | |
| ViewObject |
Gets or sets the GUI element that shows the model to the user.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) |
| Name | Description | |
|---|---|---|
| Apply |
Called when the user input has to be applied to the document being controlled. Returns if applying succeeded.
(Overrides MVCANControllerEditOriginalDocBaseTModel, TViewApply(Boolean)) | |
| ApplyEnd |
Standard procedure at the end of the apply phase. If the applyResult is true, the controller is either disposed (if disposeController is true) or
the document is temporarily resumed (if disposeController is false). Nothing is done if applyResult is false.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, 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 MVCANControllerEditOriginalDocBaseTModel, TView) | |
| AvailableItems_CanStartDrag | Determines whether a drag operation can start for available data items. | |
| AvailableItems_DragCancelled | Performs the a va il ab le it e m s d ra gc an ce ll e d operation. | |
| AvailableItems_DragEnded | Handles the end of an available-items drag operation. | |
| AvailableItems_PutDataToPlotItems | Puts the selected data columns into the plot content. | |
| AvailableItems_StartDrag | Starts a drag operation for available data items. | |
| CheckDocumentInitializedT |
Checks whether the document has been initialized and throws an exception if it is null.
(Inherited from ControllerBase) | |
| ContentsListBox_MoveUpDown | Moves the selected plot-item nodes up or down. | |
| 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 MVCANControllerEditOriginalDocBaseTModel, 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.
(Overrides MVCANControllerEditOriginalDocBaseTModel, TViewDispose(Boolean)) | |
| EhShowRangeChanged | Updates the displayed plot-item names after the range display option changed. | |
| EhView_DataAvailableBeforeExpand | Loads the available data columns before a table node is expanded. | |
| 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 |
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 MVCANControllerEditOriginalDocBaseTModel, TViewGetSubControllers) | |
| GetSuspendTokenForControllerDocument |
Gets the suspend token for the controller document. Here we try to suspend the parent XYPlotLayer instead of the PlotItemCollection, because we want to modify the
clipping property of the layer too.
(Overrides MVCANControllerEditOriginalDocBaseTModel, TViewGetSuspendTokenForControllerDocument) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| Initialize |
Basic initialization of the document.
Here, it is tried to suspend the event handling of the document by calling GetSuspendTokenForControllerDocument (but only if _useDocumentCopy is true).
(Overrides MVCANControllerEditOriginalDocBaseTModel, TViewInitialize(Boolean)) | |
| InitializeDocument |
Initialize the controller with the document. If successful, the function has to return .
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) | |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object) | |
| OnPropertyChanged |
Raises the PropertyChanged event.
(Inherited from ControllerBase) | |
| PlotItem_DoubleClick | Performs the p lo ti t e m d ou bl ec li c k operation. | |
| PlotItem_Open | Performs the p lo ti t e m o p e n operation. | |
| PlotItems_CanCopy | Determines whether the selected plot items can be copied. | |
| PlotItems_CanCut | Determines whether the selected plot items can be cut. | |
| PlotItems_CanDelete | Determines whether the selected plot items can be deleted. | |
| PlotItems_CanPaste | Determines whether plot items can be pasted from the clipboard. | |
| PlotItems_CanStartDrag | Determines whether a drag operation can be started for the specified plot items. | |
| PlotItems_Copy | Performs the p lo ti te m s c o p y operation. | |
| PlotItems_Cut | Performs the p lo ti te m s c u t operation. | |
| PlotItems_Delete | Performs the p lo ti te m s d el e t e operation. | |
| PlotItems_DragCancelled | Performs the p lo ti te m s d ra gc an ce ll e d operation. | |
| PlotItems_DragEnded | Ends a drag operation for plot items. | |
| PlotItems_Drop | Drops plot-item data onto the specified target node. | |
| PlotItems_DropCanAcceptData | Determines whether dropped data can be accepted for the specified target item. | |
| PlotItems_EditRangeClick | Performs the p lo ti te m s e di tr an ge cl i c k operation. | |
| PlotItems_GroupClick | Group the selected nodes. | |
| PlotItems_MoveDownSelected | Performs the p lo ti te m s m ov ed ow ns el ec t e d operation. | |
| PlotItems_MoveUpSelected | Performs the p lo ti te m s m ov eu ps el ec t e d operation. | |
| PlotItems_Paste | Performs the p lo ti te m s p as t e operation. | |
| PlotItems_StartDrag | Starts a drag operation for the specified plot items. | |
| PlotItems_UngroupClick | Performs the p lo ti te m s u ng ro up cl i c k operation. | |
| Revert |
Tries to revert changes to the model, i.e. restores the original state of the model.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) | |
| ThrowIfNotInitialized | Throws an exception if the controller is not initialized with a document. (Inherited from MVCANControllerEditOriginalDocBaseTModel, 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 | |
|---|---|---|
| _clonedCopyOfDoc | Cloned copy of the document (is null if _useDocumentCopy is false). Used to revert the edited document to the state before editing. (Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) | |
| _doc | The document to edit. (Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) | |
| _suspendToken |
The suspend token of the document being edited. If _useDocumentCopy is false, we assume that a controller higher in the hierarchy has made a copy
of the document, thus we do not use a suspend token for the document.
(Inherited from MVCANControllerEditOriginalDocBaseTModel, 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 MVCANControllerEditOriginalDocBaseTModel, TView) | |
| _view | The Gui view of this controller (Inherited from MVCANControllerEditOriginalDocBaseTModel, TView) |