public class SWTCategorizationRenderer extends AbstractSWTRenderer<VCategorization>
CUSTOM_VARIANT
Constructor and Description |
---|
SWTCategorizationRenderer(VCategorization vElement,
ViewModelContext viewContext,
ReportService reportService)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
dispose()
Disposes all resources used by the renderer.
|
SWTGridDescription |
getGridDescription(SWTGridDescription gridDescription)
Returns the GridDescription for this Renderer.
|
protected org.eclipse.swt.widgets.Control |
renderControl(SWTGridCell cell,
org.eclipse.swt.widgets.Composite parent)
Renders the passed
VElement . |
applyEnable, applyReadOnly, applyValidation, applyVisible, finalizeRendering, getControls, getDefaultFontName, init, postInit, preInit, render, setControlEnabled
checkRenderer, getReportService, getVElement, getViewModelContext
@Inject public SWTCategorizationRenderer(VCategorization vElement, ViewModelContext viewContext, ReportService reportService)
vElement
- the view model element to be renderedviewContext
- the view contextreportService
- the ReportService
protected void dispose()
dispose
in class AbstractSWTRenderer<VCategorization>
AbstractSWTRenderer.dispose()
public SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
getGridDescription
in class AbstractSWTRenderer<VCategorization>
gridDescription
- the current SWTGridDescription
AbstractSWTRenderer.getGridDescription(SWTGridDescription)
protected org.eclipse.swt.widgets.Control renderControl(SWTGridCell cell, org.eclipse.swt.widgets.Composite parent) throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
VElement
.renderControl
in class AbstractSWTRenderer<VCategorization>
cell
- the GridCell
of the control to renderparent
- the Composite
to render onControl
NoRendererFoundException
- this is thrown when a renderer cannot be foundNoPropertyDescriptorFoundExeption
- this is thrown when no property descriptor can be foundorg.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer#renderControl(int, org.eclipse.swt.widgets.Composite,
org.eclipse.emf.ecp.view.spi.model.VElement, org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
Copyright © 2016. All rights reserved.