void () { // init maven tool window MavenProjectsNavigator.getInstance(myProject); // add CompileManager before/after tasks MavenTasksManager.getInstance(myProject); // init maven shortcuts manager to subscribe to KeymapManagerListener MavenShortcutsManager.getInstance(myProject); }