public interface EModelStylingService
Modifier and Type | Method and Description |
---|---|
void |
addStyles(org.eclipse.e4.ui.model.application.ui.MUIElement element,
java.lang.String... classes)
Add style classes to the given element.
|
java.util.List<java.lang.String> |
getStyles(org.eclipse.e4.ui.model.application.ui.MUIElement element)
Returns the style classes currently assigned to an element.
|
java.util.List<java.lang.String> |
getStylesFromTags(java.util.List<java.lang.String> tags)
Returns the style classes from a list of element tags.
|
void |
removeStyles(org.eclipse.e4.ui.model.application.ui.MUIElement element,
java.lang.String... classes)
Remove style classes from the given element.
|
void addStyles(org.eclipse.e4.ui.model.application.ui.MUIElement element, java.lang.String... classes)
element
- the element to add style classes toclasses
- the style classes to addvoid removeStyles(org.eclipse.e4.ui.model.application.ui.MUIElement element, java.lang.String... classes)
element
- the element to remove style classes fromclasses
- the style classes to removejava.util.List<java.lang.String> getStyles(org.eclipse.e4.ui.model.application.ui.MUIElement element)
element
- the element to get the style classes ofjava.util.List<java.lang.String> getStylesFromTags(java.util.List<java.lang.String> tags)
tags
- A list of tags