Class CSSSWTImageHelper
java.lang.Object
org.eclipse.e4.ui.css.swt.helpers.CSSSWTImageHelper
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic Image
getImage
(CSSValue value, IResourcesLocatorManager manager, Display display) static void
restoreDefaultImage
(Button button) static void
restoreDefaultImage
(Item item) static void
restoreDefaultImage
(Shell shell) static void
restoreDefaultImage
(ToolItem item) static void
setBackgroundImage
(Control control, Image image) Helper function to avoid setting images unnecessarilystatic void
Helper function to avoid setting images unnecessarilystatic void
storeDefaultImage
(Button button) static void
storeDefaultImage
(Item item) static void
storeDefaultImage
(Shell shell) static void
storeDefaultImage
(ToolItem item)
-
Constructor Details
-
CSSSWTImageHelper
public CSSSWTImageHelper()
-
-
Method Details
-
getImage
public static Image getImage(CSSValue value, IResourcesLocatorManager manager, Display display) throws Exception - Throws:
Exception
-
storeDefaultImage
-
storeDefaultImage
-
storeDefaultImage
-
storeDefaultImage
-
restoreDefaultImage
-
restoreDefaultImage
-
restoreDefaultImage
-
restoreDefaultImage
-
setImage
Helper function to avoid setting images unnecessarily -
setBackgroundImage
Helper function to avoid setting images unnecessarily
-