| Summary: | [Query2] In import the code completion should list all the packages | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Modeling] EMF | Reporter: | Ashwani Kr Sharma <ashw.kumar> | ||||
| Component: | Query2 | Assignee: | 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
Ashwani Kr Sharma
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.
patch submitted |