void (@Nullable JComponent component) { if (component != null) { ExecutionEnvironment environment = ExecutionDataKeys.EXECUTION_ENVIRONMENT.getData(DataManager.getInstance().getDataContext(component)); if (environment != null) { restart(environment); } } }