org.eclipse.emf.ecp.view.spi.categorization.swt
Class SWTCategorizationRenderer

java.lang.Object
  extended by org.eclipse.emf.ecp.view.model.common.AbstractRenderer<VELEMENT>
      extended by org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer<VCategorization>
          extended by org.eclipse.emf.ecp.view.spi.categorization.swt.SWTCategorizationRenderer

public class SWTCategorizationRenderer
extends AbstractSWTRenderer<VCategorization>

SWT categorization renderer.

Author:
emueller, Eugen Neufeld

Constructor Summary
SWTCategorizationRenderer(VCategorization vElement, ViewModelContext viewContext, ReportService reportService)
          Default constructor.
 
Method Summary
 SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
          Returns the GridDescription for this Renderer.
 
Methods inherited from class org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer
finalizeRendering, init, render
 
Methods inherited from class org.eclipse.emf.ecp.view.model.common.AbstractRenderer
getVElement, getViewModelContext
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SWTCategorizationRenderer

@Inject
public SWTCategorizationRenderer(VCategorization vElement,
                                        ViewModelContext viewContext,
                                        ReportService reportService)
Default constructor.

Parameters:
vElement - the view model element to be rendered
viewContext - the view context
reportService - the ReportService
Since:
1.6
Method Detail

getGridDescription

public SWTGridDescription getGridDescription(SWTGridDescription gridDescription)
Returns the GridDescription for this Renderer.

Specified by:
getGridDescription in class AbstractSWTRenderer<VCategorization>
Parameters:
gridDescription - the current SWTGridDescription
Returns:
the number of controls per row
See Also:
AbstractSWTRenderer.getGridDescription(SWTGridDescription)


Copyright © 2015. All Rights Reserved.