mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
+3
-1
@@ -81,6 +81,8 @@ import java.util.*;
|
||||
import java.util.List;
|
||||
|
||||
public class ColorAndFontOptions extends SearchableConfigurable.Parent.Abstract implements EditorOptionsProvider {
|
||||
public static final String ID = "reference.settingsdialog.IDE.editor.colors";
|
||||
|
||||
private HashMap<String,MyColorScheme> mySchemes;
|
||||
private MyColorScheme mySelectedScheme;
|
||||
public static final String DIFF_GROUP = ApplicationBundle.message("title.diff");
|
||||
@@ -999,7 +1001,7 @@ public class ColorAndFontOptions extends SearchableConfigurable.Parent.Abstract
|
||||
@Override
|
||||
@NotNull
|
||||
public String getHelpTopic() {
|
||||
return "reference.settingsdialog.IDE.editor.colors";
|
||||
return ID;
|
||||
}
|
||||
|
||||
private static class MyColorScheme extends EditorColorsSchemeImpl {
|
||||
|
||||
@@ -233,7 +233,7 @@ public class SeverityEditorDialog extends DialogWrapper {
|
||||
final OptionsEditor optionsEditor = OptionsEditor.KEY.getData(dataContext);
|
||||
if (optionsEditor != null) {
|
||||
final ColorAndFontOptions colorAndFontOptions =
|
||||
(ColorAndFontOptions)((ConfigurableWrapper)optionsEditor.findConfigurableById("reference.settingsdialog.IDE.editor.colors")).getConfigurable();
|
||||
(ColorAndFontOptions)((ConfigurableWrapper)optionsEditor.findConfigurableById(ColorAndFontOptions.ID)).getConfigurable();
|
||||
assert colorAndFontOptions != null;
|
||||
final SearchableConfigurable javaPage = colorAndFontOptions.findSubConfigurable(InspectionColorSettingsPage.class);
|
||||
LOG.assertTrue(javaPage != null);
|
||||
|
||||
@@ -117,7 +117,7 @@ public class ComboBoxTableRenderer<T> extends JLabel implements TableCellRendere
|
||||
public Component getTableCellEditorComponent(JTable table, final Object value, boolean isSelected, final int row, final int column) {
|
||||
@SuppressWarnings("unchecked") final T t = (T)value;
|
||||
myValue = t;
|
||||
customizeComponent(t, table, isSelected);
|
||||
customizeComponent(t, table, true);
|
||||
|
||||
//noinspection SSBasedInspection
|
||||
SwingUtilities.invokeLater(new Runnable() {
|
||||
|
||||
Reference in New Issue
Block a user