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); }
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); }; }); }