List<ColorAndFontPanelFactory> () { final ColorAndFontPanelFactory panelFactory = new ColorAndFontPanelFactory() { @NotNull @Override public NewColorAndFontPanel createPanel(@NotNull ColorAndFontOptions options) { final SimpleEditorPreview preview = new SimpleEditorPreview(options, colorsPage); return NewColorAndFontPanel.create(preview, colorsPage.getDisplayName(), options, null, colorsPage); } @NlsContexts.ConfigurableName @NotNull @Override public String getPanelDisplayName() { return fullDisplayName; } }; return Collections.singletonList(panelFactory); }