Package com._1c.g5.v8.dt.theming.ui.util
Class DtThemeUtil
java.lang.Object
com._1c.g5.v8.dt.theming.ui.util.DtThemeUtil
Util methods for themes.
-
Method Summary
Modifier and TypeMethodDescriptionstatic StringReturns current theme Id.static StringgetIconPath(String path) Returns themed icon path.static booleanReturnstrueif current theme is dark.
-
Method Details
-
getCurrentThemeId
Returns current theme Id.- Returns:
- current theme Id. Can't return
null.
-
isDarkThemeActive
public static boolean isDarkThemeActive()Returnstrueif current theme is dark.- Returns:
trueif current theme is dark.
-
getIconPath
Returns themed icon path.- Parameters:
path- - default icon path. Cannot benull.- Returns:
- themed icon path. Cannot return
null.
-