Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 336196 - [Query2] In import the code completion should list all the packages
Summary: [Query2] In import the code completion should list all the packages
Status: NEW
Alias: None
Product: EMF
Classification: Modeling
Component: Query2 (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-03 03:49 EST by Ashwani Kr Sharma CLA
Modified: 2011-06-01 11:22 EDT (History)
1 user (show)

See Also:


Attachments
Code Completion Proposal For Import Statements (5.62 KB, patch)
2011-03-04 05:35 EST, Animesh Kumar CLA
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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