Interface StaticFormTheme.IFormThemeOfferCssClassesAsSuggestionsProvider

  • Enclosing class:
    StaticFormTheme

    public static interface StaticFormTheme.IFormThemeOfferCssClassesAsSuggestionsProvider
    Provider for the flag that indicates whether to offer CSS classes as suggestions, for a file in a form theme. The fallback provider gets used when no flag was specified explicitly for a file.
    Since:
    8.3.0
    Author:
    XIMA MEDIA GmbH
    • Method Detail

      • isOfferCssClassesAsSuggestions

        boolean isOfferCssClassesAsSuggestions​(String context,
                                               String filePath)
        Finds whether to offer suggestions for CSS classes for a file in a form theme.
        Parameters:
        context - The resource context of the file, see EFormThemeResourceContext for well-known contexts.
        filePath - The path of the file.
        Returns:
        Whether to offer suggestions for CSS classes for the file.