org.eclipse.emf.ecp.view.model.common
Class AbstractRenderer<VELEMENT extends VElement>

java.lang.Object
  extended by org.eclipse.emf.ecp.view.model.common.AbstractRenderer<VELEMENT>
Type Parameters:
VELEMENT - the VElement this renderer is applicable for
Direct Known Subclasses:
AbstractSWTRenderer

public abstract class AbstractRenderer<VELEMENT extends VElement>
extends Object

Common super class for renderer.

Author:
Eugen Neufeld

Constructor Summary
AbstractRenderer(VELEMENT vElement, ViewModelContext viewContext, ReportService reportService)
          Default constructor.
 
Method Summary
 VELEMENT getVElement()
          The VElement instance to use.
 ViewModelContext getViewModelContext()
          The ViewModelContext to use.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractRenderer

public AbstractRenderer(VELEMENT vElement,
                        ViewModelContext viewContext,
                        ReportService reportService)
Default constructor.

Parameters:
vElement - the VElement to be rendered
viewContext - the ViewModelContext to use
reportService - The ReportService to use
Since:
1.6
Method Detail

getViewModelContext

public final ViewModelContext getViewModelContext()
The ViewModelContext to use.

Returns:
the ViewModelContext

getVElement

public final VELEMENT getVElement()
The VElement instance to use.

Returns:
the VElement


Copyright © 2015. All Rights Reserved.