C# Class Catrobat.IDE.Core.ViewModels.Editor.Formula.FormulaEditorViewModel

Inheritance: ViewModelBase
Show file Open project: Catrobat/CatrobatForWindows

Public Methods

Method Description
Cleanup ( ) : void
FormulaEditorViewModel ( ) : Catrobat.Core.Resources.Localization
NavigateTo ( ) : void
SensorService_SensorReadingChanged ( object sender, Utilities e ) : void
ToggleSensorButtonLabel ( ) : void

Protected Methods

Method Description
GoBackAction ( ) : void

Private Methods

Method Description
CancelAction ( ) : void
CompleteTokenAction ( int index ) : void
CurrentProgramChangedMessageAction ( GenericMessage message ) : void
KeyPressedAction ( FormulaKeyEventArgs e ) : void
RaiseReset ( ) : void
RedoAction ( ) : void
RedoCommand_CanExecute ( ) : bool
SaveAction ( ) : void
SelectedSpriteChangedMessageAction ( GenericMessage message ) : void
SendEvaluation ( LocalVariable localVariable = null, GlobalVariable globalVariable = null ) : void
SensorAction ( ) : void
ShowErrorPressedAction ( ) : void
ShowErrorPressedCommand_CanExecute ( ) : bool
UndoAction ( ) : void
UndoCommand_CanExecute ( ) : bool

Method Details

Cleanup() public method

public Cleanup ( ) : void
return void

FormulaEditorViewModel() public method

public FormulaEditorViewModel ( ) : Catrobat.Core.Resources.Localization
return Catrobat.Core.Resources.Localization

GoBackAction() protected method

protected GoBackAction ( ) : void
return void

NavigateTo() public method

public NavigateTo ( ) : void
return void

SensorService_SensorReadingChanged() public method

public SensorService_SensorReadingChanged ( object sender, Utilities e ) : void
sender object
e Utilities
return void

ToggleSensorButtonLabel() public method

public ToggleSensorButtonLabel ( ) : void
return void