public class ExpandBarCategorizationElementRenderer extends AbstractSWTRenderer<VCategorizationElement>
CUSTOM_VARIANT
Constructor and Description |
---|
ExpandBarCategorizationElementRenderer(VCategorizationElement vElement,
ViewModelContext viewContext,
ReportService reportService,
EMFFormsRendererFactory emfFormsRendererFactory)
Default constructor.
|
Modifier and Type | Method and Description |
---|---|
protected void |
applyValidation()
Allows implementers to display the validation state of the control.
|
protected org.eclipse.swt.custom.ScrolledComposite |
createdEditorPane(org.eclipse.swt.widgets.Composite composite)
Created editor pane.
|
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, applyVisible, canReveal, finalizeRendering, getControls, getDefaultFontName, ignoreEnableOnReadOnly, init, isRenderingFinished, postInit, preInit, render, scrollToReveal, scrollToReveal, setControlEnabled
checkRenderer, getRenderer, getReportService, getVElement, getViewModelContext, register
@Inject public ExpandBarCategorizationElementRenderer(VCategorizationElement vElement, ViewModelContext viewContext, ReportService reportService, EMFFormsRendererFactory emfFormsRendererFactory)
vElement
- the view model element to be renderedviewContext
- the view contextreportService
- the ReportService
emfFormsRendererFactory
- The EMFFormsRendererFactory
public SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
getGridDescription
in class AbstractSWTRenderer<VCategorizationElement>
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<VCategorizationElement>
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 org.eclipse.swt.custom.ScrolledComposite createdEditorPane(org.eclipse.swt.widgets.Composite composite)
composite
- the compositeprotected void applyValidation()
applyValidation
in class AbstractSWTRenderer<VCategorizationElement>
AbstractSWTRenderer.applyValidation()
protected void dispose()
AbstractSWTRenderer
dispose
in class AbstractSWTRenderer<VCategorizationElement>
Copyright © 2019. All rights reserved.