Click or drag to resize

IPureScriptController Interface

[Missing <summary> documentation for "T:Altaxo.Gui.Scripting.IPureScriptController"]


Namespace: Altaxo.Gui.Scripting
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3179.0 (4.8.3179.0)
Syntax
C#
public interface IPureScriptController : IMVCANController, 
	IMVCAController, IMVCController, IDisposable, IApplyController

The IPureScriptController type exposes the following members.

Properties
 NameDescription
Public propertyModel 
Public propertyModelObject Returns the model (document) that this controller manages.
(Inherited from IMVCController)
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 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 IMVCANController)
Public propertyViewObject Returns the Gui element that shows the model to the user.
(Inherited from IMVCController)
Top
Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns true if Apply is successfull.
(Inherited from IApplyController)
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetCurrentScriptText Gets the most current script text (if a view is present, it returns the script text of the view).
Public methodInitializeDocument Initialize the controller with the document. If successfull, the function has to return true.
(Inherited from IMVCANController)
Public methodRevert Try to revert changes to the model, i.e. restores the original state of the model.
(Inherited from IApplyController)
Public methodSetInitialScriptCursorLocation 
Public methodSetScriptCursorLocation(Int32) 
Public methodSetScriptCursorLocation(Int32, Int32) Sets the cursor location inside the script. Line and column are starting with 1.
Public methodSetText 
Top
See Also