Interface DetailRenderingFunction

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface DetailRenderingFunction
    Rendering function for detail views.
    Since:
    1.22
    • Method Detail

      • render

        ECPSWTView render​(org.eclipse.swt.widgets.Composite parent,
                          ViewModelContext viewModelContext)
                   throws ECPRendererException
        Creates a view with the attributes of the domain object. The layout of the view is specified by the view model set in the view model context.
        Parameters:
        parent - the parent SWT composite to render the view on
        viewModelContext - the ViewModelContext to use
        Returns:
        an ECPSWTView providing an interface to the rendered view
        Throws:
        ECPRendererException - if there is an exception during rendering