Class CustomEObjectDescription

java.lang.Object
org.eclipse.xtext.resource.AbstractEObjectDescription
org.eclipse.xtext.resource.EObjectDescription
com._1c.g5.v8.dt.bsl.resource.CustomEObjectDescription
All Implemented Interfaces:
org.eclipse.xtext.resource.IEObjectDescription

public class CustomEObjectDescription extends org.eclipse.xtext.resource.EObjectDescription
Custom EObjectDescription implementation which fixes the normalization of URI to be workable while the context is being detached from the resource (the current strategy of BSL to handle the externalization of a context def)
  • Constructor Summary

    Constructors
    Constructor
    Description
    CustomEObjectDescription(org.eclipse.xtext.naming.QualifiedName qualifiedName, org.eclipse.emf.ecore.EObject element, Map<String,String> userData)
    Constructs an instance
  • Method Summary

    Modifier and Type
    Method
    Description
    protected org.eclipse.emf.common.util.URI
    normalize(org.eclipse.emf.ecore.EObject element, org.eclipse.emf.common.util.URI uri)
     

    Methods inherited from class org.eclipse.xtext.resource.EObjectDescription

    create, create, create, create, getEClass, getEObjectOrProxy, getEObjectURI, getName, getQualifiedName, getUserData, getUserDataKeys

    Methods inherited from class org.eclipse.xtext.resource.AbstractEObjectDescription

    toString

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • CustomEObjectDescription

      public CustomEObjectDescription(org.eclipse.xtext.naming.QualifiedName qualifiedName, org.eclipse.emf.ecore.EObject element, Map<String,String> userData)
      Constructs an instance
      Parameters:
      qualifiedName - The qualified name of an object. May not be null
      element - The corresponding element. May not be null
      userData - The custom user data. May not be null
  • Method Details

    • normalize

      protected org.eclipse.emf.common.util.URI normalize(org.eclipse.emf.ecore.EObject element, org.eclipse.emf.common.util.URI uri)
      Overrides:
      normalize in class org.eclipse.xtext.resource.EObjectDescription