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 |
applyReadOnly()
Marks a controls as readonly.
|
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. |
dispose, finalizeRendering, getControls, getDefaultFontName, init, postInit, preInit, render, setControlEnabledcheckRenderer, getReportService, getVElement, getViewModelContextpublic EmptyVElementSWTRenderer(VElement vElement, ViewModelContext viewContext, ReportService reportService)
vElement - the view model element to be renderedviewContext - the view contextreportService - teh ReportServicepublic SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
getGridDescription in class AbstractSWTRenderer<VElement>gridDescription - the current SWTGridDescriptionAbstractSWTRenderer.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 onControlNoRendererFoundException - 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 applyReadOnly()
applyReadOnly in class AbstractSWTRenderer<VElement>AbstractSWTRenderer.applyReadOnly()protected void applyValidation()
applyValidation in class AbstractSWTRenderer<VElement>AbstractSWTRenderer.applyValidation()protected void applyVisible()
applyVisible in class AbstractSWTRenderer<VElement>AbstractSWTRenderer.applyVisible()Copyright © 2017. All rights reserved.