Class SimpleXdtoContentLoader


  • public class SimpleXdtoContentLoader
    extends Object
    Implementation of IResourceLoader loading "v8:/XdtoPackage/BuiltInTypes" resource.

    This implementation only creates default package "http://www.w3.org/2001/XMLSchema" and fill its content.

    • Constructor Detail

      • SimpleXdtoContentLoader

        public SimpleXdtoContentLoader()
    • Method Detail

      • requestValueTypeData

        public static void requestValueTypeData​(IEObjectDataRequestorExtention req,
                                                org.eclipse.emf.common.util.URI resourceUri,
                                                String pathToFolder,
                                                String pluginId)
        Provides IEObjectDataRequestor with data describing default value types xdto items.
        Parameters:
        req - requestor accepting data. Can't be null.
        resourceUri - URI of the resource data, can't be null
        pathToFolder - pathToTypesFolder path to folder with data, it's relative path by plugin folder, can't be null
      • requestObjectTypeData

        public static void requestObjectTypeData​(IEObjectDataRequestorExtention req,
                                                 org.eclipse.emf.common.util.URI resourceUri,
                                                 String pathToFolder,
                                                 String pluginId)
        Provides IEObjectDataRequestor with data describing default object types xdto items.
        Parameters:
        req - requestor accepting data. Can't be null.
        resourceUri - URI of the resource data, can't be null
        pathToFolder - pathToTypesFolder path to folder with data, it's relative path by plugin folder, can't be null
      • requestPackageData

        public static void requestPackageData​(IEObjectDataRequestorExtention req,
                                              org.eclipse.emf.common.util.URI resourceUri,
                                              String pathToFolder,
                                              String pluginId)
        Provides IEObjectDataRequestor with data describing default xdto packages items.
        Parameters:
        req - requestor accepting data. Can't be null.
        resourceUri - URI of the resource data, can't be null
        pathToFolder - pathToTypesFolder path to folder with data, it's relative path by plugin folder, can't be null