Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Understanding CDO
[CDO] Xtext Integration [message #961529 is a reply to message #961506] Sun, 28 October 2012 10:56 Go to previous message
Eike Stepper is currently offline Eike StepperFriend
Messages: 6682
Registered: July 2009
Senior Member
Hi Christophe,

That sounds and looks very interesting! I'm not an Xtext Xpert ( :P ), yet, to be fully able to judge your approach. But
I've heard the question for Xtext/CDO integration many times already. Funny, just the other day a friend from the UBS
told me about an approach that sounded similar to me. I've CC'ed Robert because he may be interested in adding a
cooment, too.

Am I right that you're remaining questions mostly address the Xtext team? I've renamed this thread and CC'ed Sven as well.

If you think the Xtext-related issues have been clarified sufficiently I'd be happy to review a reusable solution from a
CDO perspective ;-)

Cheers
/Eike

----
http://www.esc-net.de
http://thegordian.blogspot.com
http://twitter.com/eikestepper



Am 28.10.2012 11:31, schrieb Christophe Bouhier:
> Hi Guido,
> Actually this is also the way I work with xtext and CDO, simply serialize it as a String in a CDOObject In my case, I
> have opted to store each DSL line in a list of strings. When I edit the DSL, notifications are used to write the DSL
> in strings out to CDO.
>
> The real interesting challenge, I found is to reference (CDO) model objects from the DSL. For this I needed to create
> a custom implementation of an xtext ScopeProvider. I managed to get it work, even updating IResourceDescriptions when
> CDO invalidations occur. In user experience this means, that I can be editing a DSL, and mean while in an other editor
> add objects which are persisted to CDO. While this happens the xtext ScopeProvider is updated and the user can pick
> added objects from Content assist... It's really sweet. I made an ill-attempt to blog about it here:
>
> http://modelmoo.blogspot.nl/
>
>
> Perhaps it would be useful to others. Cheers Christophe Bouhier
>
>
>


Previous Topic:User control in CDO
Next Topic:[CDO] Starting sequence of IAppExtensions
Goto Forum:
  


Current Time: Sat Apr 27 03:59:22 GMT 2024

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

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

Back to the top