Class ViewTemplateSupplierUtil
- java.lang.Object
-
- org.eclipse.emf.ecp.spi.view.template.service.ViewTemplateSupplierUtil
-
public final class ViewTemplateSupplierUtil extends java.lang.Object
Utility class for common functionality useful for implementingViewTemplateSuppliers
.- Since:
- 1.18
- Author:
- Lucas Koehler
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static VTViewTemplate
loadViewTemplate(org.eclipse.emf.common.util.URI uri)
Loads aVTViewTemplate
from the resource at the given URI.
-
-
-
Method Detail
-
loadViewTemplate
public static VTViewTemplate loadViewTemplate(org.eclipse.emf.common.util.URI uri)
Loads aVTViewTemplate
from the resource at the given URI. Returnsnull
if the resource does not exist, cannot be loaded, or does not contain exactly oneVTViewTemplate
on the root level.- Parameters:
uri
- The URI to the resource containing theVTViewTemplate
to load- Returns:
- The loaded
VTViewTemplate
-
-