Interface ILayoutProcessingContextFactory

  • All Known Implementing Classes:
    LayoutProcessingContextFactory

    public interface ILayoutProcessingContextFactory
    The factory for creation layout processing context.
    • Method Detail

      • createContexts

        ContextCreationResult createContexts​(HippoLayElementBase layoutModelElement,
                                             LFTargetPlatform targetPlatform,
                                             ClientInterfaceVariant interfaceVariant,
                                             ClientOSInfo osInfo,
                                             CompatibilityMode compatibilityMode,
                                             int maxTargetWidth,
                                             int maxTargetHeight,
                                             boolean adaptedToMobilePlatform,
                                             IPlatformVisualComputer visualComputer,
                                             IHippoTransformatorAdditionalInfoProvider transformatorAdditionalInfoProvider)
        Create processing context.
        Parameters:
        layoutModelElement - , cannot be null
        targetPlatform - , cannot be null
        interfaceVariant - , cannot be null
        osInfo - , cannot be null
        compatibilityMode - , cannot be null
        maxTargetWidth - , the max target width
        maxTargetHeight - , the max target height
        adaptedToMobilePlatform - , whether a form adapted or not
        visualComputer - , cannot be null
        transformatorAdditionalInfoProvider - , cannot be null
        Returns:
        context creation result, can be null
      • createSelfContext

        ContextCreationResult createSelfContext​(HippoLayElementBase layoutModelElement,
                                                HippoLayGroupBase parentGroup,
                                                LFTargetPlatform targetPlatform,
                                                ClientInterfaceVariant interfaceVariant,
                                                ClientOSInfo osInfo,
                                                CompatibilityMode compatibilityMode,
                                                int maxTargetWidth,
                                                int maxTargetHeight,
                                                boolean adaptedToMobilePlatform,
                                                IPlatformVisualComputer visualComputer,
                                                IHippoTransformatorAdditionalInfoProvider transformatorAdditionalInfoProvider)
        Create processing context.
        Parameters:
        layoutModelElement - , cannot be null
        parentGroup - , can be null
        targetPlatform - , cannot be null
        interfaceVariant - , cannot be null
        osInfo - , cannot be null
        compatibilityMode - , cannot be null
        maxTargetWidth - , the max target width
        maxTargetHeight - , the max target height
        adaptedToMobilePlatform - , whether a form adapted or not
        visualComputer - , cannot be null
        transformatorAdditionalInfoProvider - , cannot be null
        Returns:
        context creation result, can be null