Package com.inductiveautomation.sfc.api
Class ScopeContext
java.lang.Object
com.inductiveautomation.sfc.api.ScopeContext
- All Implemented Interfaces:
- CommonScopes
Created by colby.clegg on 2/2/2015.
- 
Field Summary
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionReturns the previous step's scope, in the context of a transition who has an active step preceeding it.getRoot()Goes up the chart scope's parent chain to find the root scope.This returns the "step" scope, regardless of whether it represents the current step, in the context of an executing step, or "previous step", in the context of a transition.Returns the current step's scope, in the context of the step.setChartScope(PyChartScope chart) setPreviousScope(PyChartScope stepScope) setStepScope(PyChartScope step) 
- 
Constructor Details- 
ScopeContext
 
- 
- 
Method Details- 
setStepScope
- 
setPreviousScope
- 
setChartScope
- 
getChartScope
- 
getStepScopeReturns the current step's scope, in the context of the step. If the current context is a transition, "previous" is the step scope, or you can call getStepOrPrevious().
- 
getPreviousReturns the previous step's scope, in the context of a transition who has an active step preceeding it.
- 
getStepOrPreviousThis returns the "step" scope, regardless of whether it represents the current step, in the context of an executing step, or "previous step", in the context of a transition.
- 
getRootGoes up the chart scope's parent chain to find the root scope.
- 
locate
 
-