VELEMENT
- the VElement
this renderer is applicable forpublic abstract class AbstractRenderer<VELEMENT extends VElement> extends Object
Constructor and Description |
---|
AbstractRenderer(VELEMENT vElement,
ViewModelContext viewContext,
ReportService reportService)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
checkRenderer()
Checks whether the renderer is disposed and if so throws an
IllegalStateException . |
protected void |
dispose()
Disposes all resources used by the renderer.
|
protected ReportService |
getReportService()
The
SWTRendererFactory instance to use. |
VELEMENT |
getVElement()
The
VElement instance to use. |
ViewModelContext |
getViewModelContext()
The
ViewModelContext to use. |
public AbstractRenderer(VELEMENT vElement, ViewModelContext viewContext, ReportService reportService)
vElement
- the VElement
to be renderedviewContext
- the ViewModelContext
to usereportService
- The ReportService
to usepublic final ViewModelContext getViewModelContext()
ViewModelContext
to use.ViewModelContext
protected void dispose()
protected void checkRenderer()
IllegalStateException
.protected final ReportService getReportService()
SWTRendererFactory
instance to use.SWTRendererFactory
Copyright © 2018. All rights reserved.