Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 341236

Summary: [M2x IDE Integration] Externalize used Xtend/Xpand constants & add the getUnderlyingFile(String qualifiedName) method to org.eclipse.sphinx.emf.mwe.resources.IScopingResourceLoader
Product: [Automotive] Sphinx Reporter: Idrissa Dieng <idydieng>
Component: CoreAssignee: Stephan Eberle <stephaneberle9>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3    
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: All   
OS: All   
Whiteboard:
Attachments:
Description Flags
Add getUnderlyingFile(String) method for getting underlying file from the given qualified name idydieng: iplog+

Description Idrissa Dieng CLA 2011-03-29 10:35:15 EDT
Build Identifier: 20110218-0911

Add the org.eclipse.sphinx.emf.mwe.IXtendXpandConstants interface that allows externalizing used Xtend/Xpand constants, and add the IFile getUnderlyingFile(String qualifiedName) method to org.eclipse.sphinx.emf.mwe.resources.IScopingResourceLoader for getting the underlying file from the given qualified name.

Please refer to attach file.

Reproducible: Always
Comment 1 Idrissa Dieng CLA 2011-03-29 10:38:22 EDT
Created attachment 192095 [details]
Add getUnderlyingFile(String) method for getting underlying file from the given qualified name
Comment 2 Stephan Eberle CLA 2011-03-29 10:48:36 EDT
Fixed by applying proposed patch.

Additionally renamed IScopingResourceLoadergetDefinitionName#getDefinitionName(IFile templateFile, String templateName) to IScopingResourceLoader#getQualifiedName(IFile underlyingFile, String statementName) to indicate that it is applicable to any of Xtend/Xpand/Check but not only to Xpand.
Comment 3 Balazs Grill CLA 2021-07-14 02:14:13 EDT
Mass-closing Resolved tickets