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

Bug 319490

Summary: [Eugenia] Problems in the generated editor. The Folder item (in the tutorial) is not generated correctly
Product: [Modeling] Epsilon Reporter: Toñi Reina <reinaqu>
Component: CoreAssignee: Dimitris Kolovos <dkolovos>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Attachments:
Description Flags
Screenshot of the problem in the generated editor none

Description Toñi Reina CLA 2010-07-11 10:18:50 EDT
Created attachment 173974 [details]
Screenshot of the problem in the generated editor

I followed the tutorial from
http://www.eclipse.org/gmt/epsilon/doc/articles/eugenia-gmf-tutorial/
and the corresponding screencast from
http://www.eclipse.org/gmt/epsilon/cinema/Eugenia.htm.

I have had problems with the annotations which do not have properties,
so I solved the problems creating the foo property, as it is written in
the tutorial(I've read in a previous post that this problem is due to
the emfatic version), so I have written the annotations @gmf(foo="bar"),
and @gmf.diagram(foo="bar"), and @gmf.compartment(foo="bar").

However, when I follow the whole process to generate the editor, and I
test the generated editor, the Folder item is disabled. That is, I can
not create any folder, and as you can see in the image file I have
attached, there is no icon associated to the Folder.

I also have tried to change the Folder annotation to set the default
values of the properties:

class Folder extends File {
@gmf.compartment(layout="free",collapsible="true")
val File[*] contents;
}

But the problems remains the same, that is, I can not create folders.
Comment 1 Dimitris Kolovos CLA 2010-07-15 18:12:02 EDT
This has been fixed in the SVN and in the latest interim version.
Comment 2 Dimitris Kolovos CLA 2010-11-25 08:17:27 EST
Fixed in 0.9.0.