Esempio n. 1
0
  /* inherited
   */
  public void actionPerformed(final ActionEvent e) {
    final String method = "actionPerformed";
    Trace.begin(CLASS, this, method);
    try {
      final QedeqBo[] props;
      try {
        props = controller.getSelected();
      } catch (NothingSelectedException ex) {
        controller.selectionError();
        return;
      }

      final Thread thread =
          new Thread() {
            public void run() {
              for (int i = 0; i < props.length; i++) {
                KernelContext.getInstance().clearAllPluginResults(props[i].getModuleAddress());
              }
            }
          };
      thread.setDaemon(true);
      thread.start();
    } finally {
      Trace.end(CLASS, this, method);
    }
  }