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

Bug 360973

Summary: Need mechanism for unsupported stereotypes
Product: z_Archived Reporter: Scott Greer <greer>
Component: EDTAssignee: Project Inbox <edt.javascriptgen-inbox>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: hjiyong, jinfahua, mheitz, smythew, svihovec, tww
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on: 370555    
Bug Blocks:    

Description Scott Greer CLA 2011-10-14 10:01:58 EDT
See https://bugs.eclipse.org/bugs/show_bug.cgi?id=360792 for the motivation;  there will always be certain part types / stereotypes that are meaningless for a given generator, e.g., RUIHandler for Java gen, Entity for JS gen.  We need a mechanism by which generators can detect these parts and provide some sort of informational message while generating nothing for that part.
Comment 1 Brian Svihovec CLA 2011-12-16 11:22:05 EST
This falls into the category of providing generator validation.
Comment 2 Matt Heitz CLA 2012-12-20 12:15:25 EST
This issue is addressed by the validation that was added recently.  Generators can now tell the compiler "I don't support that" and the user will see an error in their source code.
Comment 3 Matt Heitz CLA 2013-01-03 10:44:10 EST
Moving old fixed bugs from the RESOLVED state to CLOSED.