Class ReferenceDependencyGraph

java.lang.Object
com.inductiveautomation.perspective.gateway.model.ReferenceDependencyGraph

public class ReferenceDependencyGraph extends 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 Details

    • ReferenceDependencyGraph

      public ReferenceDependencyGraph(ViewModel view)
  • Method Details

    • resolveReferences

      public void resolveReferences()
    • startupBindings

      public void startupBindings()