Interface IPresentationService
- All Known Implementing Classes:
PresentationService
public interface IPresentationService
Presentations service for styled font and colors.
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionvoidAdds dt-project style change listener.Returns styled color.Returns styled color.getColorWithAdjustment(Color color, IV8Style style, int adjustment) Returns styled color with adjustment.getColorWithAdjustment(V8Color color, IV8Style style, int adjustment) Returns styled color with adjustment..Returns styled font with 100% scale.Returns styled font.Returns styled font.getInterfaceTheme(IV8Style style) Returns style interface theme.getInterfaceVariant(IV8Style style) Returns style interface variant.ReturnsIV8Stylepicture manifest query computer.getStyle(IDtProject dtProject) Returns dt-project style.getStyle(IV8Project v8Project) Returns dt-project style.getStyle(org.eclipse.emf.ecore.EObject eObject) Returns dt-project style.voidRemoves dt-project style change listener.
-
Field Details
-
SERVICE_NAME
- See Also:
-
-
Method Details
-
addDtProjectStyleListener
Adds dt-project style change listener.- Parameters:
listener- the dt-project style change listener, cannot benull
-
getColor
Returns styled color.- Parameters:
color- the source color, cannot benullstyle- the style, cannot benull- Returns:
- the styled color, cannot be
null
-
getColorWithAdjustment
Returns styled color with adjustment.- Parameters:
color- the source color, cannot benullstyle- the style, cannot benulladjustment- the adjustment- Returns:
- the styled color, cannot be
null
-
getColor
Returns styled color.- Parameters:
color- the source color, cannot benullstyle- the style, cannot benull- Returns:
- the styled color, cannot be
null
-
getColorWithAdjustment
Returns styled color with adjustment..- Parameters:
color- the source color, cannot benullstyle- the style, cannot benulladjustment- the adjustment- Returns:
- the styled color, cannot be
null
-
getFont
Returns styled font with 100% scale.- Parameters:
font- the source font, cannot benullstyle- the style, cannot benull- Returns:
- the styled font, cannot be
null
-
getFont
Returns styled font.- Parameters:
font- the source font, cannot benullstyle- the style, cannot benull- Returns:
- the styled font, cannot be
null
-
getFont
Returns styled font.- Parameters:
font- the source font, cannot benullstyle- the style, cannot benullautoName- the auto name (id), cannot benull- Returns:
- the styled font, cannot be
null
-
getInterfaceVariant
Returns style interface variant.- Parameters:
style- the style, cannot benull- Returns:
- the style interface variant, cannot be
null
-
getInterfaceTheme
Returns style interface theme.- Parameters:
style- the style, cannot benull- Returns:
- the style interface theme, cannot be
null
-
getStyle
Returns dt-project style.- Parameters:
dtProject- the dt-project, cannot benull- Returns:
- the dt-project style, cannot be
null
-
getStyle
Returns dt-project style.- Parameters:
v8Project- the dt-project, cannot benull- Returns:
- the v8-project style, cannot be
null
-
getStyle
Returns dt-project style.- Parameters:
eObject- the e-object, cannot benull- Returns:
- the v8-project style, cannot be
null
-
removeDtProjectStyleListener
Removes dt-project style change listener.- Parameters:
listener- the dt-project style change listener, cannot benull
-
getPictureManifestQueryComputer
ReturnsIV8Stylepicture manifest query computer.- Parameters:
style- the style, cannot benull- Returns:
- the
IV8Stylepicture manifest, cannot benull
-