[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Newsgroup Home]
|
[news.eclipse.tools.emf] Re: Simple newbie question: Backreferences?
|
- From: Michael Lehmeier <m_lehmeier@xxxxxx>
- Date: Wed, 30 Jan 2008 14:00:56 +0100
- Newsgroups: eclipse.tools.emf
- Organization: EclipseCorner
- User-agent: slrn/0.9.8.1pl1 (Debian)
On 2008-01-30, Ed Merks <merks@xxxxxxxxxx> wrote:
> Michael,
>
> Michael Lehmeier wrote:
>> Then I transformed it into an ecore file, fixed it, made a genmodel and
>> then an editor.
>>
> What was broken?
When I generate an ecore metamodel from a km3 file, the ecore model still
lacks a nsURI and a nsPrefix for all packages.
Also, in the PrimitiveTypes package, you have to assign Instance Type
Names for each primitive to avoid NullpointerExceptions when I generate
an EMF model from it.
Apparently all of this has to be done manually every time you import a
metamodel from km3.
This was pretty nasty at the beginning since this problem isn't
mentioned anywhere in tutorials.
Besides that, it seems that I have now solved my problem.
I didn't use the library-book-writer tutorial but a family2persons ATL
tutorial to get into it.
That tutorial gave me a bit of a false impression about what the words
container or contained meant. In retrospect, I guess I should have known.
You didn't answer my question directly, but I paid more attention to
that detail.
Thank you for your help.
--
Lehmeier Michael (Nightshade Dragon UDIC)
8:00 - 12:00 : Frohlocken!
12:00 - 20:00 : Hosianna singen!