Interface IFontProvider


  • public interface IFontProvider
    This is a class that provides map of predefined and(or) user defined font styles. Each style defines a complete set of font properties.
    • Method Detail

      • getStyleFonts

        Map<String,​Font> getStyleFonts​(Version version)
        Obtains map of predefined style fonts.
        Parameters:
        version - project runtime version, cannot be null
        Returns:
        the map (styled font name, font)
      • getStyleItemFonts

        Map<String,​Font> getStyleItemFonts​(org.eclipse.core.resources.IProject project)
        Obtains map of style fonts, defined in StyleElementType.FONT type StyleItems.
        Parameters:
        version - project runtime version, cannot be null
        Returns:
        the map (style item font name, font), defined in font type style items
      • getSystemFonts

        Map<String,​Font> getSystemFonts​(Version version)
        Obtains map of predefined system fonts.
        Parameters:
        version - project runtime version, cannot be null
        Returns:
        the map (system font name, font)