public static EditorColorPaletteFactory getInstance() {
    return ApplicationManager.getApplication().getService(EditorColorPaletteFactory.class);
  }
public static EditorColorPaletteFactory getInstance()