Package com.github.eclipsecolortheme

Examples of com.github.eclipsecolortheme.ColorThemeMapping


            }
        }
    }

    protected ColorThemeMapping createMapping(String pluginKey, String themeKey) {
        return new ColorThemeMapping(pluginKey, themeKey);
    }
View Full Code Here


            defaultBackground = theme.get("background");
        } else {
            defaultBackground = new ColorThemeSetting();
        }
        for (String pluginKey : mappings.keySet()) {
            ColorThemeMapping mapping = (overrideMappings != null && overrideMappings.containsKey(pluginKey)) ?
                    overrideMappings.get(pluginKey) : mappings.get(pluginKey);
            ColorThemeSetting setting = theme.get(mapping.getThemeKey());
            if (setting != null) {
                mapping.putPreferences(preferences, setting);
            }
        }
    }
View Full Code Here

    }

    @Override
    public void clear() {
        for (String pluginKey : mappings.keySet()) {
            ColorThemeMapping mapping = mappings.get(pluginKey);
            mapping.removePreferences(preferences);
        }
    }
View Full Code Here

public class ColorThemeMappingTest {
    private ColorThemeMapping mapping;

    @Before
    public void setUp() {
        mapping = new ColorThemeMapping("org.eclipse.php.ui.color", "foreground");
    }
View Full Code Here

TOP

Related Classes of com.github.eclipsecolortheme.ColorThemeMapping

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.