public class ViewTemplateProviderImpl extends Object implements VTViewTemplateProvider
| Constructor and Description |
|---|
ViewTemplateProviderImpl() |
| Modifier and Type | Method and Description |
|---|---|
Set<VTStyleProperty> |
getStyleProperties(VElement vElement,
ViewModelContext viewModelContext)
Return all
StyleProperties which are applicable to the provided VElement. |
VTViewTemplate |
getViewTemplate()
Returns the view template.
|
void |
setReportService(ReportService reportService)
Sets the report service.
|
protected void |
setViewTemplate(VTViewTemplate viewTemplate)
Currently only a testing method.
|
protected void |
startup(org.osgi.framework.BundleContext bundleContext)
Startup method for osgi service.
|
public void setReportService(ReportService reportService)
reportService - the ReportServiceprotected void startup(org.osgi.framework.BundleContext bundleContext)
bundleContext - the BundleContextpublic VTViewTemplate getViewTemplate()
getViewTemplate in interface VTViewTemplateProviderVTViewTemplateVTViewTemplateProvider.getViewTemplate()protected void setViewTemplate(VTViewTemplate viewTemplate)
viewTemplate - the VTViewTemplate to setpublic Set<VTStyleProperty> getStyleProperties(VElement vElement, ViewModelContext viewModelContext)
StyleProperties which are applicable to the provided VElement.getStyleProperties in interface VTViewTemplateProvidervElement - the VElement to get the StyleProperties forviewModelContext - the ViewModelContext currently in useStyleProperties which are applicable to the provided
VElement or an empty setVTViewTemplateProvider.getStyleProperties(org.eclipse.emf.ecp.view.spi.model.VElement,
org.eclipse.emf.ecp.view.spi.context.ViewModelContext)Copyright © 2016. All rights reserved.