Class ReferenceDependencyGraph
- java.lang.Object
-
- com.inductiveautomation.perspective.gateway.model.ReferenceDependencyGraph
-
public class ReferenceDependencyGraph extends java.lang.Object
Encapsulates the logic used to start up all bindings in a view and its components. Rather than start up bindings all at once in somewhat random order, we inspect the dependencies between bindings, creating a dependency graph. This way, we can start bindings up in such a way that other properties they rely on have already gotten their initial value from their bindings, reducing startup thrash of invalid values.
-
-
Constructor Summary
Constructors Constructor Description ReferenceDependencyGraph(ViewModel view)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
resolveReferences()
void
startupBindings()
-
-
-
Constructor Detail
-
ReferenceDependencyGraph
public ReferenceDependencyGraph(ViewModel view)
-
-