org.eclipse.emf.ecp.view.spi.stack.ui.swt
Class SWTStackLayoutRenderer
java.lang.Object
org.eclipse.emf.ecp.view.model.common.AbstractRenderer<VELEMENT>
org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer<VStackLayout>
org.eclipse.emf.ecp.view.spi.stack.ui.swt.SWTStackLayoutRenderer
public class SWTStackLayoutRenderer
- extends AbstractSWTRenderer<VStackLayout>
The SWT VStackLayout
renderer.
- Author:
- jfaltermeier
SWTStackLayoutRenderer
public SWTStackLayoutRenderer(VStackLayout vElement,
ViewModelContext viewContext,
ReportService reportService)
- Default constructor.
- Parameters:
vElement
- the view model element to be renderedviewContext
- the view contextreportService
- the ReportService
- Since:
- 1.6
getGridDescription
public SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
- Returns the GridDescription for this Renderer.
- Specified by:
getGridDescription
in class AbstractSWTRenderer<VStackLayout>
- Parameters:
gridDescription
- the current SWTGridDescription
- Returns:
- the number of controls per row
- See Also:
AbstractSWTRenderer.getGridDescription(org.eclipse.emfforms.spi.swt.core.layout.SWTGridDescription)
Copyright © 2015. All Rights Reserved.