use of com.intellij.ide.actions.ViewToolWindowButtonsAction in project watchdog by TestRoots.
the class WatchDogStartUp method checkWhetherToStartWatchDog.
private void checkWhetherToStartWatchDog() {
ProjectPreferenceSetting setting = WatchDogGlobals.getPreferences().getOrCreateProjectSetting(project.getName());
if (setting.enableWatchdog) {
WatchDogLogger.getInstance().logInfo("Starting WatchDog ...");
InitializationManager.getInstance(project);
WatchDogUtils.setWatchDogActiveForProject(project);
new ViewToolWindowButtonsAction().setSelected(null, true);
}
}
Aggregations