org.eclipse.emf.ecp.view.spi.horizontal.swt
Class HorizontalLayoutSWTRenderer
java.lang.Object
org.eclipse.emf.ecp.view.model.common.AbstractRenderer<VELEMENT>
org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer<VHorizontalLayout>
org.eclipse.emf.ecp.view.spi.horizontal.swt.HorizontalLayoutSWTRenderer
public class HorizontalLayoutSWTRenderer
- extends AbstractSWTRenderer<VHorizontalLayout>
The SWT Renderer for the VHorizontalLayout
. It renders all elements next to each other.
- Since:
- 1.2
- Author:
- Eugen Neufeld
HorizontalLayoutSWTRenderer
@Inject
public HorizontalLayoutSWTRenderer(VHorizontalLayout vElement,
ViewModelContext viewContext,
ReportService reportService,
EMFFormsRendererFactory rendererFactory)
- Default Constructor.
- Parameters:
vElement
- the view element to be renderedviewContext
- The view model contextreportService
- the ReportService to userendererFactory
- the EMFFormsRendererFactory to use- Since:
- 1.6
getGridDescription
public SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
- Returns the GridDescription for this Renderer.
- Specified by:
getGridDescription
in class AbstractSWTRenderer<VHorizontalLayout>
- Parameters:
gridDescription
- the current SWTGridDescription
- Returns:
- the number of controls per row
- See Also:
AbstractSWTRenderer.getGridDescription(SWTGridDescription)
Copyright © 2015. All Rights Reserved.