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 Summary
Constructors -
Method Summary
Modifier 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
-
getStepScope
Returns 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(). -
getPrevious
Returns the previous step's scope, in the context of a transition who has an active step preceeding it. -
getStepOrPrevious
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. -
getRoot
Goes up the chart scope's parent chain to find the root scope. -
locate
-