// These action is effectively added only to the Run tool window. For Debug see DartCommandLineDebugProcess.registerAdditionalActions()
final AnAction[] actions = super.createActions(console, processHandler, executor);
final AnAction[] newActions = new AnAction[actions.length + 2];
System.arraycopy(actions, 0, newActions, 0, actions.length);
newActions[newActions.length - 2] = new Separator();
newActions[newActions.length - 1] = new OpenDartObservatoryUrlAction(myObservatoryPort, new Computable<Boolean>() {
@Override
public Boolean compute() {
return !processHandler.isProcessTerminated();