Skip to main content
Namespace: Phoenix.ComponentPlugInSDK.ViewModels
Assembly: Phoenix.ComponentPlugInSDK.dll
View model for the Script Editor dialog.

Inheritance

object ← AbstractPlugInViewModel<ScriptModel> ← ScriptEditorViewModel

Implements

IPlugInViewModel, INotifyPropertyChanged

Inherited Members

AbstractPlugInViewModel<ScriptModel>.PropertyChanged, AbstractPlugInViewModel<ScriptModel>.OnPropertyChanged(string), AbstractPlugInViewModel<ScriptModel>._logger, AbstractPlugInViewModel<ScriptModel>._showErrorAction, AbstractPlugInViewModel<ScriptModel>.SaveCommand, AbstractPlugInViewModel<ScriptModel>.OkCommand, AbstractPlugInViewModel<ScriptModel>.IsReadOnly, AbstractPlugInViewModel<ScriptModel>.IsNotReadOnly, AbstractPlugInViewModel<ScriptModel>.ExternalMetadata, AbstractPlugInViewModel<ScriptModel>.IsBusy, AbstractPlugInViewModel<ScriptModel>.IsDirty, AbstractPlugInViewModel<ScriptModel>.StatusColor, AbstractPlugInViewModel<ScriptModel>.StatusMessage, AbstractPlugInViewModel<ScriptModel>.HasStatus, AbstractPlugInViewModel<ScriptModel>.SetStatus(string, Color), AbstractPlugInViewModel<ScriptModel>.InputVariables, AbstractPlugInViewModel<ScriptModel>._onInputsChanged(), AbstractPlugInViewModel<ScriptModel>.MoveInputVariablesFrom(IEnumerable<IRuntimeVariable>), AbstractPlugInViewModel<ScriptModel>.CloneInputVariablesFrom(IEnumerable<IRuntimeVariable>), AbstractPlugInViewModel<ScriptModel>.OutputVariables, AbstractPlugInViewModel<ScriptModel>._onOutputsChanged(), AbstractPlugInViewModel<ScriptModel>.MoveOutputVariablesFrom(IEnumerable<IRuntimeVariable>), AbstractPlugInViewModel<ScriptModel>.CloneOutputVariablesFrom(IEnumerable<IRuntimeVariable>), AbstractPlugInViewModel<ScriptModel>.BuilderName, AbstractPlugInViewModel<ScriptModel>.WindowTitle, AbstractPlugInViewModel<ScriptModel>.WindowIcon, AbstractPlugInViewModel<ScriptModel>.SaveAsync(), AbstractPlugInViewModel<ScriptModel>._handleError(Exception), AbstractPlugInViewModel<ScriptModel>.SetVariablesAsPHXVariable(IEnumerable<PHXVariable>), AbstractPlugInViewModel<ScriptModel>.GetVariablesAsPHXVariable(VariableValueScope), object.ToString(), object.Equals(object), object.Equals(object, object), object.ReferenceEquals(object, object), object.GetHashCode(), object.GetType(), object.MemberwiseClone()

Constructors

ScriptEditorViewModel(ScriptModel, string, ILogger, Func<ScriptModel, Task>, Action, Action<Exception>, Uri) Constructor.

Fields

CUSTOM_OBJECT_RULE_NAME The name given to the highlighting color for object highlighting. CUSTOM_VARIABLE_RULE_NAME The name given to the highlighting color for variable highlighting.

Properties

Script Underlying script model containing the data currently displayed in the view. ScriptDocument The object that holds the script text and its properties. ScriptText Direct access to the Phoenix.ComponentPlugInSDK.ViewModels.ScriptEditorViewModel.ScriptDocument’s Text property. SyntaxHighlighting The syntax highlighting definition used to highlight keywords in the script. Timeout The user-editable script timeout in seconds.

Methods

_onInputsChanged() This function will be called when the Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel1.InputVariables` change to allow derived classes to notify the UI. _onOutputsChanged() This function will be called when the Phoenix.ComponentPlugInSDK.ViewModels.AbstractPlugInViewModel1.InputVariables` change to allow derived classes to notify the UI.