org.eclipse.emf.ecp.view.template.service
Class ViewTemplateProviderImpl
java.lang.Object
org.eclipse.emf.ecp.view.template.service.ViewTemplateProviderImpl
- All Implemented Interfaces:
- VTViewTemplateProvider
public class ViewTemplateProviderImpl
- extends Object
- implements VTViewTemplateProvider
Implementation of the VTViewTemplateProvider.
- Author:
- Eugen Neufeld
ViewTemplateProviderImpl
public ViewTemplateProviderImpl()
getViewTemplate
public VTViewTemplate getViewTemplate()
- Returns the view template.
- Specified by:
getViewTemplate
in interface VTViewTemplateProvider
- Returns:
- the
VTViewTemplate
- See Also:
VTViewTemplateProvider.getViewTemplate()
getStyleProperties
public Set<VTStyleProperty> getStyleProperties(VElement vElement,
ViewModelContext viewModelContext)
- Return all
StyleProperties
which are applicable to the provided VElement
.
- Specified by:
getStyleProperties
in interface VTViewTemplateProvider
- Parameters:
vElement
- the VElement
to get the StyleProperties
forviewModelContext
- the ViewModelContext
currently in use
- Returns:
- the collection of all
StyleProperties
which are applicable to the provided
VElement
or an empty set - See Also:
VTViewTemplateProvider.getStyleProperties(org.eclipse.emf.ecp.view.spi.model.VElement,
org.eclipse.emf.ecp.view.spi.context.ViewModelContext)
Copyright © 2014. All Rights Reserved.