public boolean isOutputPaused() { //noinspection SimplifiableConditionalExpression return myPrinter == null ? true : myPrinter.isPaused(); }
private void printNew(final Printable printable) { if (myPrinter != null) { myPrinter.onNewAvailable(printable); } }
public void setOutputPaused(final boolean value) { if (myPrinter != null) { myPrinter.pause(value); } }
public boolean canPause() { return myPrinter != null && myPrinter.canPause() && myConsole.canPause(); }