Class ViewModelScriptWrapper.SafetyWrapper

java.lang.Object
com.inductiveautomation.perspective.gateway.script.ViewModelScriptWrapper.SafetyWrapper
All Implemented Interfaces:
PropertyTreeOwner
Enclosing class:
ViewModelScriptWrapper

public static class ViewModelScriptWrapper.SafetyWrapper extends Object
Delegates to the actual view, this prevents the scripting system from being able to call everything on ViewModel, like startup(), shutdown, etc.

Also gives us a good place to implement methods that make sense for script authors, that don't belong on the the model object, like more user friendly versions of getChild