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

Bug 336196

Summary: [Query2] In import the code completion should list all the packages
Product: [Modeling] EMF Reporter: Ashwani Kr Sharma <ashw.kumar>
Component: Query2Assignee: Project Inbox <emf.query2-inbox>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P3 CC: ahunter.eclipse
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard:
Attachments:
Description Flags
Code Completion Proposal For Import Statements none

Description Ashwani Kr Sharma CLA 2011-02-03 03:49:38 EST
Build Identifier: 

In Query Editor for EMF Query2:
In import the code completion should list all the packages


Reproducible: Always

Steps to Reproduce:
.
Comment 1 Animesh Kumar CLA 2011-03-04 05:35:08 EST
Created attachment 190366 [details]
Code Completion Proposal For Import Statements

The QueryProposalProvider class in the org.eclipse.emf.query2.stringsyntax.ui plugin is the one responsible for the Code Completion Proposals in the Query Editor. To allow code completion for import statements, the corresponding method which deals with code completion of import uris (completeImport_ImpURI() in this case) should be overriden. Populate the nsURIs of all the registered packages for display string as well as the proposals in the CompletionProposal.
Comment 2 Ashwani Kr Sharma CLA 2011-04-13 00:59:35 EDT
patch submitted