Interface IBorderProvider


  • public interface IBorderProvider
    This is a class that provides map of predefined and (or) users borders.
    It provides #getStyleBorders(), #getStyleItemBorders() methods. The methods return a collection of border aliases. Such an alias may be fed to get a Border object associated with it.
    • Method Detail

      • getStyleBorders

        Map<String,​Border> getStyleBorders​(Version version)
        Obtains map of predefined style border.
        Parameters:
        version - project runtime version, cannot be null
        Returns:
        the map (styled border name, Border), never null
      • getStyleItemBorders

        Map<String,​Border> getStyleItemBorders​(org.eclipse.core.resources.IProject project)
        Obtains map of style borders, defined in StyleElementType.BORDER type StyleItems.
        Parameters:
        version - project runtime version, cannot be null
        Returns:
        the map (style item border name, border), defined in font type style items