org.eclipse.emf.ecp.view.alignmentgroup.internal.swt
Class EmbeddedGroupSWTRenderer
java.lang.Object
org.eclipse.emf.ecp.view.model.common.AbstractRenderer<VELEMENT>
org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer<VGroup>
org.eclipse.emf.ecp.view.alignmentgroup.internal.swt.EmbeddedGroupSWTRenderer
public class EmbeddedGroupSWTRenderer
- extends AbstractSWTRenderer<VGroup>
A Group renderer, which doesn't enforce its own layout.
- Author:
- Eugen Neufeld
EmbeddedGroupSWTRenderer
@Inject
public EmbeddedGroupSWTRenderer(VGroup 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
getGridDescription
public SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
- Description copied from class:
AbstractSWTRenderer
- Returns the GridDescription for this Renderer.
- Specified by:
getGridDescription
in class AbstractSWTRenderer<VGroup>
- Parameters:
gridDescription
- the current SWTGridDescription
- Returns:
- the number of controls per row
Copyright © 2015. All Rights Reserved.