Class BslResourceDescription

  • All Implemented Interfaces:
    org.eclipse.xtext.resource.IResourceDescription, org.eclipse.xtext.resource.ISelectable

    public class BslResourceDescription
    extends org.eclipse.xtext.resource.impl.DefaultResourceDescription
    IResourceDescription for Bsl module
    • Nested Class Summary

      • Nested classes/interfaces inherited from interface org.eclipse.xtext.resource.IResourceDescription

        org.eclipse.xtext.resource.IResourceDescription.CoarseGrainedEvent, org.eclipse.xtext.resource.IResourceDescription.Delta, org.eclipse.xtext.resource.IResourceDescription.Event, org.eclipse.xtext.resource.IResourceDescription.Manager
    • Field Summary

      • Fields inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescription

        lookup
    • Constructor Summary

      Constructors 
      Constructor Description
      BslResourceDescription​(org.eclipse.emf.ecore.resource.Resource resource, org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy strategy, org.eclipse.xtext.util.IResourceScopeCache cache, BslImportedNamesReferenceDescriptionResolver importedNamesResolver)
      Constructor
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Iterable<org.eclipse.xtext.naming.QualifiedName> getImportedNames()  
      protected org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp getLookUp()  
      Iterable<org.eclipse.xtext.resource.IReferenceDescription> getReferenceDescriptions()  
      Iterable<org.eclipse.xtext.resource.IReferenceDescription> getReferenceDescriptions​(org.eclipse.xtext.util.CancelIndicator monitor)
      Computes and gets actual IReferenceDescriptions
      boolean isExportElementURI​(org.eclipse.emf.common.util.URI targetURI)
      Checks that targetURI corresponding to the exporting module element
      • Methods inherited from class org.eclipse.xtext.resource.impl.DefaultResourceDescription

        computeExportedObjects, computeReferenceDescriptions, createEObject2ExportedEObjectsMap, findExportedContainerURI, getResource, getURI, toString
      • Methods inherited from class org.eclipse.xtext.resource.impl.AbstractResourceDescription

        getExportedObjects, getExportedObjects, getExportedObjectsByObject, getExportedObjectsByType, getNormalizedURI, isEmpty
    • Constructor Detail

      • BslResourceDescription

        public BslResourceDescription​(org.eclipse.emf.ecore.resource.Resource resource,
                                      org.eclipse.xtext.resource.IDefaultResourceDescriptionStrategy strategy,
                                      org.eclipse.xtext.util.IResourceScopeCache cache,
                                      BslImportedNamesReferenceDescriptionResolver importedNamesResolver)
        Constructor
        Parameters:
        resource - actual resource, can't be null
        strategy - actual IDefaultResourceDescriptionStrategy, can't be null
        cache - actual IResourceScopeCache, can't be null
    • Method Detail

      • isExportElementURI

        public boolean isExportElementURI​(org.eclipse.emf.common.util.URI targetURI)
        Checks that targetURI corresponding to the exporting module element
        Parameters:
        targetURI - checking uri
        Returns:
        true if targetURI corresponding to the exporting module element, false otherwise
      • getImportedNames

        public Iterable<org.eclipse.xtext.naming.QualifiedName> getImportedNames()
        Specified by:
        getImportedNames in interface org.eclipse.xtext.resource.IResourceDescription
        Overrides:
        getImportedNames in class org.eclipse.xtext.resource.impl.DefaultResourceDescription
      • getReferenceDescriptions

        public Iterable<org.eclipse.xtext.resource.IReferenceDescription> getReferenceDescriptions()
        Specified by:
        getReferenceDescriptions in interface org.eclipse.xtext.resource.IResourceDescription
        Overrides:
        getReferenceDescriptions in class org.eclipse.xtext.resource.impl.DefaultResourceDescription
      • getReferenceDescriptions

        public Iterable<org.eclipse.xtext.resource.IReferenceDescription> getReferenceDescriptions​(org.eclipse.xtext.util.CancelIndicator monitor)
        Computes and gets actual IReferenceDescriptions
        Parameters:
        monitor - CancelIndicator for canceling operation, can be null
        Returns:
        computed IReferenceDescriptions, never null
      • getLookUp

        protected org.eclipse.xtext.resource.impl.EObjectDescriptionLookUp getLookUp()
        Overrides:
        getLookUp in class org.eclipse.xtext.resource.impl.DefaultResourceDescription