void (boolean value, boolean onOk) { if (onOk) { ReadonlyStatusHandlerImpl.State state = ((ReadonlyStatusHandlerImpl)ReadonlyStatusHandler.getInstance(myProject)).getState(); state.SHOW_DIALOG = value; } }