Package at.bestsolution.efxclipse.runtime.services.theme

Examples of at.bestsolution.efxclipse.runtime.services.theme.ThemeManager


    // FIXME Remove once bug 314091 is resolved
    Bundle bundle = FrameworkUtil.getBundle(getClass());
    BundleContext context = bundle.getBundleContext();

    ServiceReference reference = context.getServiceReference(ThemeManager.class.getName());
    ThemeManager themeManager = (ThemeManager) context.getService(reference);

    List<Theme> themes = themeManager.getAvailableThemes();
    if (themes.size() > 0) {
      MApplication application = getApplication();

      MCommand switchThemeCommand = null;
      for (MCommand cmd : application.getCommands()) {
View Full Code Here

TOP

Related Classes of at.bestsolution.efxclipse.runtime.services.theme.ThemeManager

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.