Examples of IResourceDescriptions


Examples of org.eclipse.xtext.resource.IResourceDescriptions

    // The container manager knows about resource <-> container mapping
    final ValidationStateBasedContainerManager validationContainerManager = getContainerManager();

    // ResourceDescriptions is an index of all exports
    IResourceDescriptions descriptionIndex = getResourceDescriptions();

    // translate all exports and create a map from IEObjectDescription to
    // Export
    Map<IEObjectDescription, ModuleExport> exports = Maps.newHashMap();
    for(IResourceDescription rdesc : descriptionIndex.getAllResourceDescriptions()) {
      String handle = validationContainerManager.getContainerHandle(rdesc, descriptionIndex);

      if(handle == null)
        continue;
      // TODO: This is a leap of faith, handles are all paths, except the
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.