Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Amalgam » Problems generating the diagram for the mindmap example.
Problems generating the diagram for the mindmap example. [message #562348] Wed, 08 April 2009 17:24
Toñi Reina is currently offline Toñi ReinaFriend
Messages: 209
Registered: July 2009
Senior Member
Hi all,

I have just found the Eclipse Amalgamation Project thanks to the book
"Eclipse Modeling Project: A Domain-Specific Language (DSL) Toolkit".
I'm trying to follow the examples in the book, but sometimes they are
hard to follow. So, although the book author recommends to write the
examples from scratch, I have downloaded the examples from the Eclipse
Amalgamation Project download area, in order to fill some of the gaps
and difficulties I have found while trying to follow the examples.

Firstly, I have started with the mindmap diagram editor, so I have
generated the model code and the diagram code. While generating the
diagram code, I have had some compilation errors. They were due to the
absence of the CircleDecoration class. Guided by the book, I have
created a new package named
org.eclipse.amalgam.examples.mindmap.diagram.figures and I have included
the CircleDecoration class by copying the source code from the book.

However, when I have generated the diagram from the source code
without any compilation errors, the editor doesn`t work as it is
supposed to do. For example, I'm not allowed to create any topic,
subtopic or relationship. Although I can select the different options
from the toolbox, when I'm going to add the element to the canvas, the
element is not created.

While reading the book, there are many methods that have to be
modified, and their annotations set to @generated NOT. I was wondering
if the wrong editor behavior can be caused by the fact of not having
into account these modifications of methods.

Best regards,
Previous Topic:Problems with connecting to amalgam cvs server
Next Topic:Problems generating the diagram for the mindmap example.
Goto Forum:

Current Time: Fri Nov 16 14:57:43 GMT 2018

Powered by FUDForum. Page generated in 0.02019 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top