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 exceptioncontext - the view contextexception - the rendering exceptionpublic void dispose()
ECPSWTViewdispose in interface ECPSWTViewpublic org.eclipse.swt.widgets.Control getSWTControl()
getSWTControl in interface ECPSWTViewpublic ViewModelContext getViewModelContext()
ECPSWTViewViewModelContext which was used to create the current view.getViewModelContext in interface ECPSWTViewViewModelContextpublic Throwable getException()
Copyright © 2020. All rights reserved.