@Override public void clear() { openWindows.clear(); moduleService.removeModules(windowModules.values()); windowModules.clear(); }
@Override public void clear() { recentFiles.clear(); prefService.clear(RecentFileService.class, RECENT_FILES_KEY); // unregister the modules with the module service moduleService.removeModules(recentModules.values()); recentModules.clear(); }
@Override public void clear() { recentFiles.clear(); prefService.clear(RecentFileService.class, RECENT_FILES_KEY); // unregister the modules with the module service moduleService.removeModules(recentModules.values()); recentModules.clear(); }
/** Removes old commands from the module service. */ private void removeCommands(final List<PluginInfo<?>> plugins) { final List<CommandInfo> commands = getCommandsUnknown(plugins); for (final CommandInfo info : commands) { // clear association between plugin info and derived command info commandMap.remove(info); } // remove extracted commands from the module service moduleService.removeModules(commands); }
/** Removes old commands from the module service. */ private void removeCommands(final List<PluginInfo<?>> plugins) { final List<CommandInfo> commands = getCommandsUnknown(plugins); for (final CommandInfo info : commands) { // clear association between plugin info and derived command info commandMap.remove(info); } // remove extracted commands from the module service moduleService.removeModules(commands); }
moduleService.removeModules(noLegacyModules);