Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 319490 - [Eugenia] Problems in the generated editor. The Folder item (in the tutorial) is not generated correctly
Summary: [Eugenia] Problems in the generated editor. The Folder item (in the tutorial)...
Status: CLOSED FIXED
Alias: None
Product: Epsilon
Classification: Modeling
Component: Core (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Dimitris Kolovos CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-11 10:18 EDT by Toñi Reina CLA
Modified: 2012-02-06 10:59 EST (History)
0 users

See Also:


Attachments
Screenshot of the problem in the generated editor (153.88 KB, image/pjpeg)
2010-07-11 10:18 EDT, Toñi Reina CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
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.