public class RenderFailureView extends Object implements ECPSWTView
Constructor and Description |
---|
RenderFailureView(org.eclipse.swt.widgets.Composite parent,
ViewModelContext context,
ECPRendererException exception)
Initializes me with the
exception to present. |
Modifier and Type | Method and Description |
---|---|
void |
dispose()
Disposes the view.
|
Throwable |
getException()
Queries the exception that I present.
|
org.eclipse.swt.widgets.Control |
getSWTControl()
Obtains the SWT control presenting the exception.
|
ViewModelContext |
getViewModelContext()
Returns the
ViewModelContext which was used to create the current view. |
public RenderFailureView(org.eclipse.swt.widgets.Composite parent, ViewModelContext context, ECPRendererException exception)
exception
to present.parent
- the parent composite in which to present the exception
context
- the view contextexception
- the rendering exceptionpublic void dispose()
ECPSWTView
dispose
in interface ECPSWTView
public org.eclipse.swt.widgets.Control getSWTControl()
getSWTControl
in interface ECPSWTView
public ViewModelContext getViewModelContext()
ECPSWTView
ViewModelContext
which was used to create the current view.getViewModelContext
in interface ECPSWTView
ViewModelContext
public Throwable getException()
Copyright © 2019. All rights reserved.