Package com._1c.g5.v8.dt.bsl.resource
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
ConstructorsConstructorDescriptionCustomEObjectDescription(org.eclipse.xtext.naming.QualifiedName qualifiedName, org.eclipse.emf.ecore.EObject element, Map<String, String> userData) Constructs an instance -
Method Summary
Modifier and TypeMethodDescriptionprotected org.eclipse.emf.common.util.URInormalize(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, getUserDataKeysMethods inherited from class org.eclipse.xtext.resource.AbstractEObjectDescription
toString
-
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 benullelement- The corresponding element. May not benulluserData- The custom user data. May not benull
-
-
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:
normalizein classorg.eclipse.xtext.resource.EObjectDescription
-