Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » Xtext project in pure e4 applciation
Xtext project in pure e4 applciation [message #1706227] Tue, 25 August 2015 07:12 Go to next message
Mihael Schmidt is currently offline Mihael SchmidtFriend
Messages: 81
Registered: August 2010
Member
Hi,

I am using Xtext to create a parser and AST for a programming language and have a pure Eclipse e4 RCP application.

My question: What is a normal/easy way to get that into my application. How would I call the parser to create a model?

Pure e4 application = no org.eclipse.ui.plugin.AbstractUIPlugin

Thanx for any input.

Best Regards

Mihael
Re: Xtext project in pure e4 applciation [message #1706231 is a reply to message #1706227] Tue, 25 August 2015 07:34 Go to previous messageGo to next message
Stefan Oehme is currently offline Stefan OehmeFriend
Messages: 159
Registered: April 2010
Location: Kiel
Senior Member

Hi Mihael,

you can follow this guide on parsing in a standalone Java application.

You can also use the injector to get hold of any other services you might need, e.g. the IResourceValidator.

Cheers,
Stefan
Re: Xtext project in pure e4 applciation [message #1706233 is a reply to message #1706231] Tue, 25 August 2015 07:50 Go to previous message
Mihael Schmidt is currently offline Mihael SchmidtFriend
Messages: 81
Registered: August 2010
Member
Thanks. I will give it a try.

Best Regards

Mihael
Previous Topic:Which ANTLR version does Xtext currently use?
Next Topic:Problem with cross reference
Goto Forum:
  


Current Time: Tue Sep 24 00:43:51 GMT 2024

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

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

Back to the top