Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF » Editor for Model Query(Text editor with code completion needed)
Editor for Model Query [message #670487] Sat, 14 May 2011 11:57 Go to next message
Thomas  is currently offline Thomas Friend
Messages: 1
Registered: May 2011
Junior Member
Hi,

I just read through some material concerning EMF Model Query. Since I found the provided features quite interesting I was looking for a text-based editor in order to write queries (if possible with code completion for query language and model elements).

Unfortunately I was not able to figure out if such an editor is available and able to handle arbitrary emf models. Did I just miss this?

In case nothing similar is available I would probably start to develop an editor on my own, since I have some experience with emf but not with textual based editor I would be happy if somebody could provide me some hints how to accomplish this task.

Thanks!
Re: Editor for Model Query [message #670959 is a reply to message #670487] Mon, 16 May 2011 11:29 Go to previous message
saurav sarkar is currently offline saurav sarkarFriend
Messages: 428
Registered: July 2009
Senior Member
Hi Thomas,

Did you mean Model Query or Model Query2.Model Query2 already comes with a XText based editor.This editor contains all the editor like functionalities like code completion, formatting etc.

Let me know if you need any more details.

cheers,
Saurav


Re: Editor for Model Query [message #686749 is a reply to message #670487] Sat, 14 May 2011 12:09 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 7655
Registered: July 2009
Senior Member
Hi Thomas

Perhaps you want to use OCL directly without the extra query wrapper.

The OCL Examples and Editors provide editors for OCL embedded with in
Ecore (the OCLinEcore editor)
or complementary documents (the CompleteOCL editor). There is a Console
in which you can experiment with
queries. The support for these Xtext editors in Helios is useful but
limited. It is much more comprehensive
in Indigo; RC1 imminent.

Regards

Ed Willink

On 14/05/2011 12:57, Thomas wrote:
> Hi,
>
> I just read through some material concerning EMF Model
> Query. Since I found the provided features quite
> interesting I was looking for a text-based editor in order
> to write queries (if possible with code completion for
> query language and model elements).
> Unfortunately I was not able to figure out if such an editor
> is available and able to handle arbitrary emf models. Did I
> just miss this?
>
> In case nothing similar is available I would probably start
> to develop an editor on my own, since I have some
> experience with emf but not with textual based editor I
> would be happy if somebody could provide me some hints how
> to accomplish this task.
>
> Thanks!
Previous Topic:(no subject)
Next Topic:(no subject)
Goto Forum:
  


Current Time: Fri Apr 26 01:34:21 GMT 2024

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

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

Back to the top