Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 369315 - Validation to check for colliding, duplicate, and unused imports.
Summary: Validation to check for colliding, duplicate, and unused imports.
Status: CLOSED FIXED
Alias: None
Product: EMF
Classification: Modeling
Component: Xcore (show other bugs)
Version: 1.0   Edit
Hardware: PC Windows 7
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Ed Merks CLA
QA Contact: Ed Merks CLA
URL:
Whiteboard:
Keywords:
: 369232 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-21 10:03 EST by Ed Merks CLA
Modified: 2012-03-31 14:23 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ed Merks CLA 2012-01-21 10:03:51 EST
Fix Xcore.xtext to ensure that annotations use a qualified name not just a name to refer to an annotation directive and make the reference to annotation directives proxy resolving.
Enhance Xcore.ecore so that both annotation and import directive have a getPackage container feature.
Improve formatting of auto-formatted files.
Support quick fixes to remove bad imports.
Use proper line delimiters for content assist.
Comment 1 Ed Merks CLA 2012-01-21 11:57:27 EST
Modify grammar for XReference to avoid problems with serializer:

  https://bugs.eclipse.org/bugs/show_bug.cgi?id=369175
Comment 2 Ed Merks CLA 2012-01-21 12:05:38 EST
Add processing for Ecore annotations, particularly for the package nsURI.
Comment 3 Ed Merks CLA 2012-01-22 10:27:24 EST
Add guards for nonexistent projects during GenModel initialization.
Add specialized Xcore support for hover help, including support for images.
Ensure that Xcore has an EMF plugin.
Add support for implicit imports for Ecore, GenModel, and ExtendedMetaData annotations; this includes XcoreLang.xcore to define the annotation directives.
Make sure the mapper properly returns an EEnumLiteral for an XEnumLiteral.
Comment 4 Ed Merks CLA 2012-01-23 06:24:11 EST
Provide improved support for hover and outline labels.

Need a specialized GenModelHoverProvider in addition to XcoreHoverProvider to deal with GenModel instances contained in *.genmodel resource as well as those contained in *.xcore resources.

Support item providers for Xcore for standard icon for standard EMF.Edit support;
use an underlay style similar to what's done for GenModel so that mostly Ecore's icons are reused. Ensure that they are reused for hover and labels.

Support converting EMF.Edit images to HMTL, including support for composed imagines.
Comment 5 Ed Merks CLA 2012-01-26 05:08:07 EST
Ready for a build.
Comment 6 Ed Merks CLA 2012-01-26 05:10:04 EST
Support organize imports.
Reuse that capability for quick fixes.
Produce warnings for wildcard imports, which are to be discouraged.
Comment 7 Ed Merks CLA 2012-01-26 05:11:36 EST
*** Bug 369232 has been marked as a duplicate of this bug. ***
Comment 8 Ed Merks CLA 2012-03-31 14:23:56 EDT
The changes are available in the M6 build.