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

Bug 150117

Summary: GMFMAP: List of available elements for "Domain meta information -> Element" should be restricted
Product: [Modeling] GMF-Tooling Reporter: Missing name <thomas.weiler>
Component: CoreAssignee: Alex Shatalin <shatalin>
Status: RESOLVED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ahunter.eclipse
Version: 2.0Keywords: plan
Target Milestone: 2.0Flags: richard.gronback: pmc_approved+
tikhomirov.artem: review+
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Missing name CLA 2006-07-10 05:12:29 EDT
In GMFMAP the list "Domain meta information -> Element" includes elements which can not be instantiated. For example when including the Ecore.ecore model one can choose EObject as the semantical element of a node. If you do so, you can create a node in the generated editor but you can not delete it.

So IMHO the list of available elements should be restricted to elements which can be instantiated. Furthermore corresponding rules should be added to the validation process.

See also Bug #149787
<https://bugs.eclipse.org/bugs/show_bug.cgi?id=149787>
Comment 1 Anthony Hunter CLA 2007-05-01 09:22:26 EDT
Since GMF 2.0 M6 was released April 5, 2007, doing a bulk move of all open Bugzillas currently on M6 to 2.0 M7. Owners will need to access if the issue really is targetted for 2.0 M7.
Comment 2 Alex Shatalin CLA 2007-06-09 12:16:27 EDT
-
Comment 3 Alex Shatalin CLA 2007-06-09 12:18:02 EDT
Only EClasses !isAbstract() && !isInterface() are returned by corresponding ItemProvider from now.
Comment 4 Richard Gronback CLA 2008-08-13 13:11:40 EDT
[target cleanup] 2.0 M7 was the original target milestone for this bug
Comment 5 Eclipse Webmaster CLA 2010-07-19 22:21:04 EDT
[GMF Restructure] Bug 319140 : product GMF and component
Generation was the original product and component for this bug