Beispiel #1
0
 private void newProcessStarting() {
   SootOutputEvent clear_event =
       new SootOutputEvent(this, ISootOutputEventConstants.SOOT_CLEAR_EVENT);
   SootPlugin.getDefault().fireSootOutputEvent(clear_event);
   SootOutputEvent se = new SootOutputEvent(this, ISootOutputEventConstants.SOOT_NEW_TEXT_EVENT);
   se.setTextToAppend("Starting ...");
   SootPlugin.getDefault().fireSootOutputEvent(se);
 }
Beispiel #2
0
  private void sendSootOutputEvent(String toSend) {
    SootOutputEvent send = new SootOutputEvent(this, ISootOutputEventConstants.SOOT_NEW_TEXT_EVENT);
    send.setTextToAppend(toSend);
    final SootOutputEvent sendFinal = send;

    Display.getCurrent()
        .asyncExec(
            new Runnable() {
              public void run() {
                SootPlugin.getDefault().fireSootOutputEvent(sendFinal);
              };
            });
  }