public class DICustomControlSWTRenderer extends CustomControlSWTRenderer
CUSTOM_VARIANT| Constructor and Description |
|---|
DICustomControlSWTRenderer(VCustomControl vElement,
ViewModelContext viewContext,
ReportService factory) |
| Modifier and Type | Method and Description |
|---|---|
protected ECPAbstractCustomControlSWT |
loadCustomControl(VCustomControl customControl)
Loads and returns the
ECPAbstractCustomControlSWT that is referenced by the VCustomControl. |
protected org.eclipse.swt.widgets.Control |
renderControl(SWTGridCell cell,
org.eclipse.swt.widgets.Composite parent)
Renders the passed
VElement. |
applyEnable, applyReadOnly, applyValidation, applyVisible, canHandleControlProcessor, defaultHandleControlProcessor, dispose, getGridDescription, preInit, renderapplyValidation, finalizeRendering, getControls, getDefaultFontName, init, postInit, setControlEnabledcheckRenderer, getReportService, getVElement, getViewModelContextpublic DICustomControlSWTRenderer(VCustomControl vElement, ViewModelContext viewContext, ReportService factory)
vElement - the view model element to be renderedviewContext - the view contextfactory - the ReportServiceprotected ECPAbstractCustomControlSWT loadCustomControl(VCustomControl customControl)
ECPAbstractCustomControlSWT that is referenced by the VCustomControl.loadCustomControl in class CustomControlSWTRenderercustomControl - the custom control view modelCustomControlSWTRenderer.loadCustomControl(org.eclipse.emf.ecp.view.spi.custom.model.VCustomControl)protected org.eclipse.swt.widgets.Control renderControl(SWTGridCell cell, org.eclipse.swt.widgets.Composite parent) throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
VElement.renderControl in class CustomControlSWTRenderercell - 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 foundCustomControlSWTRenderer.renderControl(org.eclipse.emfforms.spi.swt.core.layout.SWTGridCell,
org.eclipse.swt.widgets.Composite)Copyright © 2018. All rights reserved.