Click or drag to resize

FitFunctionScriptController Class

Controller for editing IFitFunctionScriptText documents.
Inheritance Hierarchy
SystemObject
  Altaxo.Gui.ScriptingFitFunctionScriptController

Namespace: Altaxo.Gui.Scripting
Assembly: AltaxoBase (in AltaxoBase.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public class FitFunctionScriptController : IFitFunctionScriptViewEventSink, 
	IScriptController, IMVCANController, IMVCAController, IMVCController, IDisposable, 
	IApplyController

The FitFunctionScriptController type exposes the following members.

Constructors
 NameDescription
Public methodFitFunctionScriptController Initializes a new instance of the FitFunctionScriptController class.
Public methodFitFunctionScriptController(IFitFunctionScriptText) Initializes a new instance of the FitFunctionScriptController class.
Top
Properties
 NameDescription
Public propertyModelObject Gets the model (document) that this controller manages.
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.
Public propertyView Gets or sets the attached view.
Public propertyViewObject Gets or sets the GUI element that shows the model to the user.
Top
Methods
 NameDescription
Public methodApply Called when the user input has to be applied to the document being controlled. Returns if apply is successful.
Public methodCancel Cancels the current operation.
Public methodCompile Compiles the current script.
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
Public methodEhView_CommitChanges Commits the pending view changes.
Public methodEhView_DependentVariableTextChanged Handles changes to the dependent-variable text.
Public methodEhView_IndependentVariableTextChanged Handles changes to the independent-variable text.
Public methodEhView_NumberOfParameterChanged Handles changes to the number of parameters.
Public methodEhView_RevertChanges Reverts the pending view changes.
Public methodEhView_UserDefinedParameterCheckChanged Handles changes to the user-defined-parameter setting.
Public methodEhView_UserDefinedParameterTextChanged Handles changes to the user-defined parameter text.
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecute Executes the script.
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 methodGetDependentVariablesAsLine Gets the dependent-variable names as a comma-separated string.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetIndependentVariablesAsLine Gets the independent-variable names as a comma-separated string.
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodHasExecutionErrors Determines whether execution errors are present.
Public methodInitializeDocument Initializes the controller with the document.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRevert Tries to revert changes to the model, i.e. restores the original state of the model.
Protected methodSetElements Initializes and updates view elements from the current temporary model.
Public methodSetText Sets the script text in the view.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdate Updates the model with the current script text.
Top
Fields
 NameDescription
Public field_scriptController Holds the embedded script controller.
Public fieldm_Script Holds the original script document.
Protected fieldm_ScriptExecution Holds the script execution handler.
Public fieldm_TempScript Holds the temporary editable script document.
Protected fieldm_View Holds the attached view.
Top
See Also