Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » external repository and GMF
external repository and GMF [message #12927] Wed, 09 August 2006 13:11
Eclipse UserFriend
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
Previous Topic:Remove events are ignored
Next Topic:AbstractBorderItemEditPart
Goto Forum:
  


Current Time: Fri Nov 08 21:54:30 GMT 2024

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

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

Back to the top