org.eclipse.emf.ecp.view.template.model
Interface VTViewTemplateProvider

All Known Implementing Classes:
ViewTemplateProviderImpl

public interface VTViewTemplateProvider

This interface defines a service cappable of providing an instance of the VTViewTemplate.

Author:
Eugen Neufeld

Method Summary
 Set<VTStyleProperty> getStyleProperties(VElement vElement, ViewModelContext viewModelContext)
          Return all StyleProperties which are applicable to the provided VElement.
 VTViewTemplate getViewTemplate()
          Returns the view template.
 

Method Detail

getViewTemplate

VTViewTemplate getViewTemplate()
Returns the view template.

Returns:
the VTViewTemplate

getStyleProperties

Set<VTStyleProperty> getStyleProperties(VElement vElement,
                                        ViewModelContext viewModelContext)
Return all StyleProperties which are applicable to the provided VElement.

Parameters:
vElement - the VElement to get the StyleProperties for
viewModelContext - the ViewModelContext currently in use
Returns:
the collection of all StyleProperties which are applicable to the provided VElement or an empty set


Copyright © 2014. All Rights Reserved.