public final class EmptyVElementSWTRenderer extends AbstractSWTRenderer<VElement>
CUSTOM_VARIANT
Constructor and Description |
---|
EmptyVElementSWTRenderer(VElement vElement,
ViewModelContext viewContext,
ReportService reportService) |
Modifier and Type | Method and Description |
---|---|
protected void |
applyEnable()
Allows implementers to set a control to enabled.
|
protected void |
applyValidation()
Allows implementers to display the validation state of the control.
|
protected void |
applyVisible()
Allows implementers to check and set the visibility on the whole result row.
|
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 . |
applyReadOnly, applyValidation, canReveal, dispose, finalizeRendering, getControls, getDefaultFontName, ignoreEnableOnReadOnly, init, isRenderingFinished, postInit, preInit, render, scrollToReveal, scrollToReveal, setControlEnabled
checkRenderer, getRenderer, getReportService, getVElement, getViewModelContext, register
public EmptyVElementSWTRenderer(VElement vElement, ViewModelContext viewContext, ReportService reportService)
vElement
- the view model element to be renderedviewContext
- the view contextreportService
- teh ReportService
public SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
getGridDescription
in class AbstractSWTRenderer<VElement>
gridDescription
- the current SWTGridDescription
AbstractSWTRenderer.getGridDescription(org.eclipse.emfforms.spi.swt.core.layout.SWTGridDescription)
protected org.eclipse.swt.widgets.Control renderControl(SWTGridCell cell, org.eclipse.swt.widgets.Composite parent) throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
VElement
.renderControl
in class AbstractSWTRenderer<VElement>
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 foundAbstractSWTRenderer.renderControl(org.eclipse.emfforms.spi.swt.core.layout.SWTGridCell,
org.eclipse.swt.widgets.Composite)
protected void applyEnable()
applyEnable
in class AbstractSWTRenderer<VElement>
AbstractSWTRenderer.applyEnable()
protected void applyValidation()
applyValidation
in class AbstractSWTRenderer<VElement>
AbstractSWTRenderer.applyValidation()
protected void applyVisible()
applyVisible
in class AbstractSWTRenderer<VElement>
AbstractSWTRenderer.applyVisible()
Copyright © 2019. All rights reserved.