Class PanelUpdater

java.lang.Object
org.cy3sbml.gui.PanelUpdater
All Implemented Interfaces:
Runnable

public class PanelUpdater extends Object implements Runnable
Renders one previously-resolved render target (see resolveTarget(org.cytoscape.model.CyNetwork, org.cy3sbml.SBMLManager)) into the panel.

Whether this is worth running at all - is a render for this exact target already pending or running - is decided by the submitter, WebViewPanel. updateInformation, via LatestTaskExecutor.submit(target, this): the target itself is the task's key, so a resubmission of the same target is coalesced away by the executor before this ever runs again. Re-rendering a target that already completed earlier is acceptable: the underlying OLS/UniProt/ChEBI/document lookups are themselves cached, so it is cheap.

  • Constructor Details

  • Method Details

    • run

      public void run()
      Renders target.
      Specified by:
      run in interface Runnable