Interface Tool

All Known Implementing Classes:
DataRefreshTool, DataTool, DataToolTab, EncryptionTool, ExportTool, JarTool, SnapshotTool, TrackPlottingPanel, TranslatorTool, VideoCaptureTool, VideoGrabber

public interface Tool
This is a Tool interface for osp data transfers via XML.
Version:
0.1
Author:
Wolfgang Christian and Doug Brown
  • Method Summary

    Modifier and Type
    Method
    Description
    static void
    reply(Tool replyTo, Job job, Tool from, Data reply)
     
    void
    send(Job job, Tool replyTo)
    Sends a job to this tool and specifies a tool to reply to.
    static boolean
    setSendAction(JMenuItem item, String toolName, Object data, Tool replyTo, boolean andDisplay)
     
  • Method Details

    • send

      void send(Job job, Tool replyTo)
      Sends a job to this tool and specifies a tool to reply to.
      Parameters:
      job - the Job
      replyTo - the tool to notify when the job is complete (may be null)
    • setSendAction

      static boolean setSendAction(JMenuItem item, String toolName, Object data, Tool replyTo, boolean andDisplay)
      Parameters:
      item -
      data -
      replyTo -
      andDisplay -
      toolClass -
    • reply

      static void reply(Tool replyTo, Job job, Tool from, Data reply)