[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.amalgam] Re: Problems generating the diagram for the mindmap example.

Hi,

Just to be sure, you're using the "ganymede" version of the DSL Tookit and
examples, right? 
http://download.eclipse.org/modeling/amalgam/dsltk/downloads/drops/I20081128
-0606/index.php

In the runtime instance, there are likely errors in the error log to help
identify the source of the problem.  I suspect that something is amiss in
your mapping model.

One more tip is to look in CVS.  The solutions to the example projects are
found there, while the .dsl projects themselves are able to be extracted
from /Examples in the New dialog, or from the Welcome page.

Best,
Rich


On 4/8/09 1:24 PM, in article grimkf$lg1$1@xxxxxxxxxxxxxxxxx, "Toñi Reina
Quintero" <reinaqu@xxxxxxxxx> wrote:

> 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,
>      Toñi

-- 
Thanks,
Rich