Class RenderFailureView

  • All Implemented Interfaces:
    ECPSWTView

    public class RenderFailureView
    extends java.lang.Object
    implements ECPSWTView
    A specialized view presenting a rendering exception.
    Since:
    1.22
    • Constructor Detail

      • RenderFailureView

        public RenderFailureView​(org.eclipse.swt.widgets.Composite parent,
                                 ViewModelContext context,
                                 ECPRendererException exception)
        Initializes me with the exception to present.
        Parameters:
        parent - the parent composite in which to present the exception
        context - the view context
        exception - the rendering exception
    • Method Detail

      • dispose

        public void dispose()
        Description copied from interface: ECPSWTView
        Disposes the view.
        Specified by:
        dispose in interface ECPSWTView
      • getSWTControl

        public org.eclipse.swt.widgets.Control getSWTControl()
        Obtains the SWT control presenting the exception.
        Specified by:
        getSWTControl in interface ECPSWTView
        Returns:
        the root SWT Control of this view.
      • getException

        public java.lang.Throwable getException()
        Queries the exception that I present.
        Returns:
        the rendering exception