Class CompoundControlSWTRenderer_ITest.DummyRenderer
- java.lang.Object
-
- org.eclipse.emf.ecp.view.model.common.AbstractRenderer<VELEMENT>
-
- org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer<VElement>
-
- org.eclipse.emf.ecp.view.spi.compoundcontrol.swt.CompoundControlSWTRenderer_ITest.DummyRenderer
-
- Enclosing class:
- CompoundControlSWTRenderer_ITest
public static class CompoundControlSWTRenderer_ITest.DummyRenderer extends AbstractSWTRenderer<VElement>
-
-
Field Summary
-
Fields inherited from class org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer
CUSTOM_VARIANT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected org.eclipse.swt.widgets.ControlcreateLabel(java.lang.String string, org.eclipse.swt.widgets.Composite parent)SWTGridDescriptiongetGridDescription(SWTGridDescription gridDescription)Returns the GridDescription for this Renderer.protected org.eclipse.swt.widgets.ControlrenderControl(SWTGridCell gridCell, org.eclipse.swt.widgets.Composite parent)Renders the passedVElement.-
Methods inherited from class org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer
applyEnable, applyReadOnly, applyValidation, applyValidation, applyVisible, canReveal, dispose, finalizeRendering, getControls, getDefaultFontName, ignoreEnableOnReadOnly, init, isRenderingFinished, postInit, preInit, render, scrollToReveal, scrollToReveal, setControlEnabled
-
Methods inherited from class org.eclipse.emf.ecp.view.model.common.AbstractRenderer
checkRenderer, getRenderer, getReportService, getVElement, getViewModelContext, register
-
-
-
-
Method Detail
-
getGridDescription
public SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
Description copied from class:AbstractSWTRendererReturns the GridDescription for this Renderer.- Specified by:
getGridDescriptionin classAbstractSWTRenderer<VElement>- Parameters:
gridDescription- the currentSWTGridDescription- Returns:
- the number of controls per row
-
renderControl
protected org.eclipse.swt.widgets.Control renderControl(SWTGridCell gridCell, org.eclipse.swt.widgets.Composite parent) throws NoRendererFoundException, NoPropertyDescriptorFoundExeption
Description copied from class:AbstractSWTRendererRenders the passedVElement.- Specified by:
renderControlin classAbstractSWTRenderer<VElement>- Parameters:
gridCell- theGridCellof the control to renderparent- theCompositeto render on- Returns:
- the rendered
Control - Throws:
NoRendererFoundException- this is thrown when a renderer cannot be foundNoPropertyDescriptorFoundExeption- this is thrown when no property descriptor can be found
-
createLabel
protected org.eclipse.swt.widgets.Control createLabel(java.lang.String string, org.eclipse.swt.widgets.Composite parent)
-
-