Interface IPresentationService

All Known Implementing Classes:
PresentationService

public interface IPresentationService
Presentations service for styled font and colors.
  • Field Details

  • Method Details

    • addDtProjectStyleListener

      void addDtProjectStyleListener(IDtProjectStyleChangeListener listener)
      Adds dt-project style change listener.
      Parameters:
      listener - the dt-project style change listener, cannot be null
    • getColor

      V8Color getColor(Color color, IV8Style style)
      Returns styled color.
      Parameters:
      color - the source color, cannot be null
      style - the style, cannot be null
      Returns:
      the styled color, cannot be null
    • getColorWithAdjustment

      V8Color getColorWithAdjustment(Color color, IV8Style style, int adjustment)
      Returns styled color with adjustment.
      Parameters:
      color - the source color, cannot be null
      style - the style, cannot be null
      adjustment - the adjustment
      Returns:
      the styled color, cannot be null
    • getColor

      V8Color getColor(V8Color color, IV8Style style)
      Returns styled color.
      Parameters:
      color - the source color, cannot be null
      style - the style, cannot be null
      Returns:
      the styled color, cannot be null
    • getColorWithAdjustment

      V8Color getColorWithAdjustment(V8Color color, IV8Style style, int adjustment)
      Returns styled color with adjustment..
      Parameters:
      color - the source color, cannot be null
      style - the style, cannot be null
      adjustment - the adjustment
      Returns:
      the styled color, cannot be null
    • getFont

      V8Font getFont(Font font, IV8Style style, String autoName)
      Returns styled font with 100% scale.
      Parameters:
      font - the source font, cannot be null
      style - the style, cannot be null
      Returns:
      the styled font, cannot be null
    • getFont

      V8Font getFont(V8Font font, IV8Style style)
      Returns styled font.
      Parameters:
      font - the source font, cannot be null
      style - the style, cannot be null
      Returns:
      the styled font, cannot be null
    • getFont

      V8Font getFont(V8Font font, IV8Style style, String autoName)
      Returns styled font.
      Parameters:
      font - the source font, cannot be null
      style - the style, cannot be null
      autoName - the auto name (id), cannot be null
      Returns:
      the styled font, cannot be null
    • getInterfaceVariant

      ClientInterfaceVariant getInterfaceVariant(IV8Style style)
      Returns style interface variant.
      Parameters:
      style - the style, cannot be null
      Returns:
      the style interface variant, cannot be null
    • getInterfaceTheme

      ClientInterfaceTheme getInterfaceTheme(IV8Style style)
      Returns style interface theme.
      Parameters:
      style - the style, cannot be null
      Returns:
      the style interface theme, cannot be null
    • getStyle

      IV8Style getStyle(IDtProject dtProject)
      Returns dt-project style.
      Parameters:
      dtProject - the dt-project, cannot be null
      Returns:
      the dt-project style, cannot be null
    • getStyle

      IV8Style getStyle(IV8Project v8Project)
      Returns dt-project style.
      Parameters:
      v8Project - the dt-project, cannot be null
      Returns:
      the v8-project style, cannot be null
    • getStyle

      IV8Style getStyle(org.eclipse.emf.ecore.EObject eObject)
      Returns dt-project style.
      Parameters:
      eObject - the e-object, cannot be null
      Returns:
      the v8-project style, cannot be null
    • removeDtProjectStyleListener

      void removeDtProjectStyleListener(IDtProjectStyleChangeListener listener)
      Removes dt-project style change listener.
      Parameters:
      listener - the dt-project style change listener, cannot be null
    • getPictureManifestQueryComputer

      IPictureManifestQueryComputer getPictureManifestQueryComputer(IV8Style style)
      Returns IV8Style picture manifest query computer.
      Parameters:
      style - the style, cannot be null
      Returns:
      the IV8Style picture manifest, cannot be null