ref #6913 Remove ITheme(Manager) from AbstractUtility
authorPatrick Plitzner <p.plitzner@bgbm.org>
Thu, 2 Nov 2017 08:25:14 +0000 (09:25 +0100)
committerPatrick Plitzner <p.plitzner@bgbm.org>
Thu, 2 Nov 2017 08:25:14 +0000 (09:25 +0100)
eu.etaxonomy.taxeditor.store/src/main/java/eu/etaxonomy/taxeditor/model/AbstractUtility.java

index 863b692580e9b8df31fd5171849185a5cee20aba..9904a92c2809fea8c3c6475a41219a7cf50d0193 100644 (file)
@@ -61,8 +61,6 @@ import org.eclipse.ui.ide.undo.WorkspaceUndoUtil;
 import org.eclipse.ui.progress.IProgressConstants;
 import org.eclipse.ui.progress.IProgressService;
 import org.eclipse.ui.progress.IWorkbenchSiteProgressService;
-import org.eclipse.ui.themes.ITheme;
-import org.eclipse.ui.themes.IThemeManager;
 
 import eu.etaxonomy.cdm.api.application.CdmApplicationState;
 import eu.etaxonomy.cdm.api.service.IProgressMonitorService;
@@ -121,12 +119,6 @@ public abstract class AbstractUtility {
         return TaxeditorStorePlugin.getDefault().getWorkbench().getService(api);
     }
 
-    public static ITheme getCurrentTheme() {
-        IThemeManager themeManager = TaxeditorStorePlugin.getDefault()
-                .getWorkbench().getThemeManager();
-        return themeManager.getCurrentTheme();
-    }
-
     public static Font getFont(String symbolicName) {
         return FontResources.getFont(symbolicName);
     }