Class ViewTemplateSupplierUtil


  • public final class ViewTemplateSupplierUtil
    extends java.lang.Object
    Utility class for common functionality useful for implementing ViewTemplateSuppliers.
    Since:
    1.18
    Author:
    Lucas Koehler
    • Method Detail

      • loadViewTemplate

        public static VTViewTemplate loadViewTemplate​(org.eclipse.emf.common.util.URI uri)
        Loads a VTViewTemplate from the resource at the given URI. Returns null if the resource does not exist, cannot be loaded, or does not contain exactly one VTViewTemplate on the root level.
        Parameters:
        uri - The URI to the resource containing the VTViewTemplate to load
        Returns:
        The loaded VTViewTemplate