public class SectionLeafSWTRenderer extends AbstractSectionSWTRenderer
VSection without child items.CUSTOM_VARIANT| Constructor and Description |
|---|
SectionLeafSWTRenderer(VSection vElement,
ViewModelContext viewContext,
ReportService reportService) |
| Modifier and Type | Method and Description |
|---|---|
protected org.eclipse.swt.widgets.Control |
createFirstColumn(org.eclipse.swt.widgets.Composite parent)
Renders the first column.
|
SWTGridDescription |
getGridDescription(SWTGridDescription gridDescription)
Returns the GridDescription for this Renderer.
|
protected void |
initCollapseState()
Called by the
VSectionedArea when all children have been
renderered. |
adjustLayoutData, getEMFFormsRendererFactory, renderControlapplyEnable, applyReadOnly, applyValidation, applyVisible, dispose, finalizeRendering, getControls, getDefaultFontName, init, postInit, preInit, render, setControlEnabledcheckRenderer, getReportService, getVElement, getViewModelContext@Inject public SectionLeafSWTRenderer(VSection vElement, ViewModelContext viewContext, ReportService reportService)
vElement - the view model element to be renderedviewContext - the view contextreportService - the ReportServicepublic SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
AbstractSWTRenderergetGridDescription in class AbstractSWTRenderer<VSection>gridDescription - the current SWTGridDescriptionprotected org.eclipse.swt.widgets.Control createFirstColumn(org.eclipse.swt.widgets.Composite parent)
AbstractSectionSWTRenderercreateFirstColumn in class AbstractSectionSWTRendererparent - the parent compositeprotected void initCollapseState()
VSectionedArea when all children have been
renderered. Initialises the collapse state based on VSection.isCollapsed().initCollapseState in class AbstractSectionSWTRendererAbstractSectionSWTRenderer.initCollapseState()Copyright © 2016. All rights reserved.