Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext Editor as a standalone application?
Xtext Editor as a standalone application? [message #62450] Wed, 22 July 2009 11:42 Go to next message
Eclipse UserFriend
Originally posted by: ilyas.keser.gmail.com

Hi @all,

is it possible to use the generated DSL editor as a standalone
application (without Eclipse)?

Thanks,
ILyas
Re: Xtext Editor as a standalone application? [message #62505 is a reply to message #62450] Wed, 22 July 2009 12:42 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: oba.informatik.uni-kiel.de

Hi Ilyas,

you could use the message with the subject "[XText] a standalone Java
application that parses text to model"

Good luck
mN

Ilyas Keser wrote:
> Hi @all,
>
> is it possible to use the generated DSL editor as a standalone
> application (without Eclipse)?
>
> Thanks,
> ILyas
Re: Xtext Editor as a standalone application? [message #62845 is a reply to message #62505] Wed, 22 July 2009 16:47 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ilyas.keser.gmail.com

Hi mN,

thanks for your reply.

If I understood the example correctly, one can parse with XtextResource
a resource and get the parse result. OK, but XtextResource doesn't offer
methods to run/start the editor? Any ideas?

ILyas

myName schrieb:
> Hi Ilyas,
>
> you could use the message with the subject "[XText] a standalone Java
> application that parses text to model"
>
> Good luck
> mN
>
> Ilyas Keser wrote:
>> Hi @all,
>>
>> is it possible to use the generated DSL editor as a standalone
>> application (without Eclipse)?
>>
>> Thanks,
>> ILyas
Re: Xtext Editor as a standalone application? [message #62883 is a reply to message #62450] Wed, 22 July 2009 19:50 Go to previous messageGo to next message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Ilyas,

Xtext creates Eclipse plugins. What do you mean with "editor without
Eclipse"? You may want to use the runtime part in standalone mode and
create all the ui infrastructure yourself. It is easier to provide a
minimal Eclipse distro (with Eclipse - whatever that means) that
contains the editor plugin.

Regards,
Sebastian

--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com

Am 22.07.2009 13:42 Uhr, schrieb Ilyas Keser:
> Hi @all,
>
> is it possible to use the generated DSL editor as a standalone
> application (without Eclipse)?
>
> Thanks,
> ILyas
Re: Xtext Editor as a standalone application? [message #62934 is a reply to message #62883] Thu, 23 July 2009 15:17 Go to previous messageGo to next message
Jos Warmer is currently offline Jos WarmerFriend
Messages: 66
Registered: July 2009
Member
Sebastian,

I remember that the GMF generator somewhere has en option to generate a
standalone editor. The result is a downsized Eclipse application with
only the GMF plugin available. People using this standalone version can
only create and edit model files of this DSL and nothing else.

This is useful if your DSL is used by non programmers and you don't want
to expose all of Eclipse to them, but a sim0plified environment instead.

Jos

Sebastian Zarnekow wrote:

> Hi Ilyas,

> Xtext creates Eclipse plugins. What do you mean with "editor without
> Eclipse"? You may want to use the runtime part in standalone mode and
> create all the ui infrastructure yourself. It is easier to provide a
> minimal Eclipse distro (with Eclipse - whatever that means) that
> contains the editor plugin.

> Regards,
> Sebastian
Re: Xtext Editor as a standalone application? [message #62956 is a reply to message #62934] Fri, 24 July 2009 08:46 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: ilyas.keser.gmail.com

Hi Sebastian & Jos,

thanks for your answers. My question was about an application which only
shows the generated Xtext editor. You can then give this tool to users
of your DSL (yes, non programmers) to provide a nice editor for model
editing.

If I use a minimal Eclipse distro is it possible to show only the editor
and hide everything else? With "everything else" I mean other views and
windows of Eclipse like Project Explorer or Console...

Regards,
ILyas



Jos Warmer schrieb:
> Sebastian,
>
> I remember that the GMF generator somewhere has en option to generate a
> standalone editor. The result is a downsized Eclipse application with
> only the GMF plugin available. People using this standalone version can
> only create and edit model files of this DSL and nothing else.
>
> This is useful if your DSL is used by non programmers and you don't want
> to expose all of Eclipse to them, but a sim0plified environment instead.
>
> Jos
>
> Sebastian Zarnekow wrote:
>
>> Hi Ilyas,
>
>> Xtext creates Eclipse plugins. What do you mean with "editor without
>> Eclipse"? You may want to use the runtime part in standalone mode and
>> create all the ui infrastructure yourself. It is easier to provide a
>> minimal Eclipse distro (with Eclipse - whatever that means) that
>> contains the editor plugin.
>
>> Regards,
>> Sebastian
>
>
>
Re: Xtext Editor as a standalone application? [message #62960 is a reply to message #62956] Fri, 24 July 2009 08:52 Go to previous message
Sebastian Zarnekow is currently offline Sebastian ZarnekowFriend
Messages: 3118
Registered: July 2009
Senior Member
Hi Ilyas,

yes thats possible. You can remove almost anything from Eclipse (with
respect to the dependencies of the Editor).
There are various tutorials about pde development and product packaging
out there - I think google will be your friend :-).

Regards,
Sebastian
--
Need professional support for Eclipse Modeling?
Go visit: http://xtext.itemis.com


Am 24.07.2009 10:46 Uhr, schrieb Ilyas Keser:
> Hi Sebastian & Jos,
>
> thanks for your answers. My question was about an application which only
> shows the generated Xtext editor. You can then give this tool to users
> of your DSL (yes, non programmers) to provide a nice editor for model
> editing.
>
> If I use a minimal Eclipse distro is it possible to show only the editor
> and hide everything else? With "everything else" I mean other views and
> windows of Eclipse like Project Explorer or Console...
>
> Regards,
> ILyas
>
>
>
> Jos Warmer schrieb:
>> Sebastian,
>>
>> I remember that the GMF generator somewhere has en option to generate
>> a standalone editor. The result is a downsized Eclipse application
>> with only the GMF plugin available. People using this standalone
>> version can only create and edit model files of this DSL and nothing
>> else.
>>
>> This is useful if your DSL is used by non programmers and you don't
>> want to expose all of Eclipse to them, but a sim0plified environment
>> instead.
>>
>> Jos
>>
>> Sebastian Zarnekow wrote:
>>
>>> Hi Ilyas,
>>
>>> Xtext creates Eclipse plugins. What do you mean with "editor without
>>> Eclipse"? You may want to use the runtime part in standalone mode and
>>> create all the ui infrastructure yourself. It is easier to provide a
>>> minimal Eclipse distro (with Eclipse - whatever that means) that
>>> contains the editor plugin.
>>
>>> Regards,
>>> Sebastian
>>
>>
>>
Previous Topic:[Xtext] static initializer size problem in generated parser code
Next Topic:XtextResource to XMI
Goto Forum:
  


Current Time: Sun Dec 22 05:55:16 GMT 2024

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

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

Back to the top