external repository and GMF [message #12927] |
Wed, 09 August 2006 13:11 |
Eclipse User |
|
|
|
Originally posted by: qbush.r.xxxxxxxxxxxx.com
Hello all,
I have a problem while trying to create a (set of) editor(s) with GMF.
I have to use an external repository that holds a current state of my
model.It's accessed with a CORBA interface and from the metamodel
description the java stubs for it are already generated(with another
external tool). Over the stubs, one generic(parametrized with metamodel
element) Wrapper sits as a "representant" of a model element underneath -
and it should be responsible for applying changes done by editor to the
model itself.
1) The problem is: how to add the listeners to the wrappers within the
GMF-generated EditParts(and other classes, like the Editor itself)?
Since there can yet be some heavy refactoring both of the model and
editor(s), I can't afford to modify them by hand on every rebuild of the
editor..(NOTE: please ignore the multi-editor case for the time being;))
There is another problem: since we've created the metamodel in Enterprise
Architect(not my field,frankly speaking..),
2) can anyone tell me, if it's possible to port the EA model to .ecore
or .xsd file, so that it can be used within GMF?
Thanks for any help,
Kuba
|
|
|
Powered by
FUDForum. Page generated in 0.03374 seconds