Interface ThreadedPlugIn

    • Method Detail

      • run

        void run​(TaskMonitor monitor,
                 PlugInContext context)
          throws Exception
        Runs the task. This method will be executed in a separate thread, so that the GUI remains responsive (but only partially so, as a modal progress dialog will be in the way). Don't call GUI classes in this method as it is not executed on the GUI thread.
        Parameters:
        monitor - context to which this task can report its progress and check whether a party has requested its cancellation
        Throws:
        Exception