private void selectHistoryTab() { state = RUNNERS; panelState.setState(RUNNERS); view.setEnableRunButton(runnerUtil.hasRunPermission()); view.showOtherButtons(); }
/** {@inheritDoc} */ @Override public void onProjectReady(@NotNull ProjectActionEvent projectActionEvent) { view.setEnableReRunButton(false); view.setEnableStopButton(false); view.setEnableLogsButton(false); templateContainer.setVisible(true); getRunningProcessAction = actionFactory.createGetRunningProcess(); boolean isRunOperationAvailable = runnerUtil.hasRunPermission(); view.setEnableRunButton(isRunOperationAvailable); if (!isRunOperationAvailable) { return; } templateContainer.showEnvironments(); getRunningProcessAction.perform(); getSystemEnvironmentsAction.perform(); runnerTimer.schedule(ONE_SEC.getValue()); }