org.eclipse.emf.ecp.view.spi.custom.swt
Class CustomControlSWTRenderer

java.lang.Object
  extended by org.eclipse.emf.ecp.view.model.common.AbstractRenderer<VELEMENT>
      extended by org.eclipse.emfforms.spi.swt.core.AbstractSWTRenderer<VCustomControl>
          extended by org.eclipse.emf.ecp.view.spi.custom.swt.CustomControlSWTRenderer
Direct Known Subclasses:
DICustomControlSWTRenderer

public class CustomControlSWTRenderer
extends AbstractSWTRenderer<VCustomControl>

The renderer for custom control view models.

Since:
1.3
Author:
Eugen Neufeld

Constructor Summary
CustomControlSWTRenderer(VCustomControl 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

CustomControlSWTRenderer

public CustomControlSWTRenderer(VCustomControl vElement,
                                ViewModelContext viewContext,
                                ReportService reportService)
Default Constructor.

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

getGridDescription

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

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


Copyright © 2015. All Rights Reserved.