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

Bug 75994

Summary: Refresh in the genmodel editor doesn't update the view
Product: [Modeling] EMF Reporter: Aaron Digulla <digulla>
Component: EditAssignee: Dave Steinberg <davidms>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3    
Version: 2.0.1   
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:

Description Aaron Digulla CLA 2004-10-09 15:57:35 EDT
When I select refresh in the genmodel editor, the new classes only show up 
until after I did close and open the file.
Comment 1 Ed Merks CLA 2004-10-10 08:32:04 EDT
More details are required when opening a bug.
Comment 2 Aaron Digulla CLA 2006-02-10 13:30:32 EST
1. Open any EMF model (*.ecore) in the ECore model editor
2. Open the matching genmodel (*.genmodel) 
3. Add a new EAttribute to any EObject
4. Save
5. Switch to the genmodel Editor
6. Generate some code (any menu item will do)

Bug: The new attribute won't be there.

You have to close and reopen the genmodel editor to "refresh" it.

Selecting "Refresh" from the menu also has no effect (and adds to the confusion)
Comment 3 Ed Merks CLA 2006-02-10 14:19:39 EST
Please try with a recent build.

*** This bug has been marked as a duplicate of 124933 ***
Comment 4 Aaron Digulla CLA 2006-02-10 14:41:37 EST
Works! Thanks!
Comment 5 Aaron Digulla CLA 2006-02-26 05:13:43 EST
Forgot to close the bug.