Class TSG_Runner

java.lang.Object
de.grogra.graph.wrapped.impl.parallel.TSG_Runner
All Implemented Interfaces:
Context, GraphExecutor, Runnable, Executor

public class TSG_Runner extends Object implements Runnable, GraphExecutor, Context
  • Field Details

  • Constructor Details

    • TSG_Runner

      public TSG_Runner(Context ctx)
  • Method Details

    • isBussy

      public boolean isBussy()
    • stop

      public void stop()
    • isCurrent

      public boolean isCurrent()
      Specified by:
      isCurrent in interface GraphExecutor
    • run

      public void run()
      Specified by:
      run in interface Runnable
    • execute

      public void execute(Runnable r)
      Specified by:
      execute in interface Executor
    • runLater

      public void runLater(Command command, Object info, Context ctx, int flags)
    • execute

      public final void execute(Command cmd, Object info, Context ctx, int flags)
    • executeBlocking

      public void executeBlocking(Runnable r)
      Description copied from interface: GraphExecutor
      The graph state initialization has to be blocking. But can be run by another executor than the current thread
      Specified by:
      executeBlocking in interface GraphExecutor
    • runBlocking

      public void runBlocking(Runnable r)
    • getWorkbench

      public Workbench getWorkbench()
      Description copied from interface: Context
      Determines the workbench of this GUI context.
      Specified by:
      getWorkbench in interface Context
      Returns:
      this context's workbench
    • getWindow

      public Window getWindow()
      Description copied from interface: Context
      Determines the window of this GUI context.
      Specified by:
      getWindow in interface Context
      Returns:
      this context's window
    • getPanel

      public Panel getPanel()
      Description copied from interface: Context
      Determines the panel of this GUI context.
      Specified by:
      getPanel in interface Context
      Returns:
      this context's panel
    • getComponent

      public Object getComponent()
      Description copied from interface: Context
      Determines the GUI component of this GUI context.
      Specified by:
      getComponent in interface Context
      Returns:
      this context's component
    • getThreadContext

      public ThreadContext getThreadContext()