void (@NotNull AnActionEvent e) { if (addScheme) { EditorColorsManager.getInstance().addColorScheme(scheme); } EditorColorsScheme oldScheme = EditorColorsManager.getInstance().getGlobalScheme(); EditorColorsManager.getInstance().setGlobalScheme(scheme); changeLafIfNecessary(oldScheme, scheme); }