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, applyValidation, applyVisible, canReveal, finalizeRendering, getControls, getDefaultFontName, ignoreEnableOnReadOnly, init, isRenderingFinished, postInit, preInit, render, scrollToReveal, scrollToReveal, setControlEnabledcheckRenderer, getRenderer, getReportService, getVElement, getViewModelContext, register@Inject public SWTCategorizationRenderer(VCategorization vElement, ViewModelContext viewContext, ReportService reportService)
vElement - the view model element to be renderedviewContext - the view contextreportService - the ReportServiceprotected void dispose()
dispose in class AbstractSWTRenderer<VCategorization>AbstractSWTRenderer.dispose()public SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
getGridDescription in class AbstractSWTRenderer<VCategorization>gridDescription - the current SWTGridDescriptionAbstractSWTRenderer.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 onControlNoRendererFoundException - 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 © 2019. All rights reserved.