public class GroupSWTRenderer extends ContainerSWTRenderer<VGroup>
CUSTOM_VARIANT| Constructor and Description |
|---|
GroupSWTRenderer(VGroup vElement,
ViewModelContext viewContext,
ReportService reportService,
EMFFormsRendererFactory factory)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
dispose()
Disposes all resources used by the renderer.
|
protected Collection<VContainedElement> |
getChildren()
The collection of children to iterate over.
|
protected org.eclipse.swt.widgets.Composite |
getComposite(org.eclipse.swt.widgets.Composite parent)
Allows to customize the composite which is used to render the children onto.
|
protected String |
getCustomVariant()
The custom variant to set for styling.
|
SWTGridDescription |
getGridDescription(SWTGridDescription gridDescription)
Returns the GridDescription for this Renderer.
|
protected org.eclipse.swt.widgets.Layout |
getLayout(int numControls,
boolean equalWidth)
Returns the layout to use.
|
getEMFFormsRendererFactory, renderControl, setLayoutDataForControlapplyEnable, applyReadOnly, applyValidation, applyValidation, applyVisible, canReveal, finalizeRendering, getControls, getDefaultFontName, ignoreEnableOnReadOnly, init, isRenderingFinished, postInit, preInit, render, scrollToReveal, scrollToReveal, setControlEnabledcheckRenderer, getRenderer, getReportService, getVElement, getViewModelContext, register@Inject public GroupSWTRenderer(VGroup vElement, ViewModelContext viewContext, ReportService reportService, EMFFormsRendererFactory factory)
vElement - the view model element to be renderedviewContext - the view contextreportService - the ReportServicefactory - the EMFFormsRendererFactoryprotected String getCustomVariant()
getCustomVariant in class ContainerSWTRenderer<VGroup>ContainerSWTRenderer.getCustomVariant()protected Collection<VContainedElement> getChildren()
getChildren in class ContainerSWTRenderer<VGroup>ContainerSWTRenderer.getChildren()protected org.eclipse.swt.widgets.Composite getComposite(org.eclipse.swt.widgets.Composite parent)
getComposite in class ContainerSWTRenderer<VGroup>parent - the parent Composite to use as a parentComposite or a subclass to useContainerSWTRenderer.getComposite(org.eclipse.swt.widgets.Composite)protected org.eclipse.swt.widgets.Layout getLayout(int numControls,
boolean equalWidth)
ContainerSWTRenderergetLayout in class ContainerSWTRenderer<VGroup>numControls - number of columns to createequalWidth - whether the columns should be equalLayoutpublic SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
ContainerSWTRenderergetGridDescription in class ContainerSWTRenderer<VGroup>gridDescription - the current SWTGridDescriptionAbstractSWTRenderer.getGridDescription(SWTGridDescription)protected void dispose()
dispose in class ContainerSWTRenderer<VGroup>ContainerSWTRenderer.dispose()Copyright © 2020. All rights reserved.