Skip to main content

Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Exporting files to other formats(Using Xtext framework)
Exporting files to other formats [message #1755448] Fri, 03 March 2017 12:41
Miguel Conceição is currently offline Miguel ConceiçãoFriend
Messages: 2
Registered: March 2017
Junior Member
Hi there!

I wasn't sure if I should place this in TMF(Xtext) or here, but I figured the question is more related to RCP than Xtext...

Let's say I have a grammar, MyDSL, created for an Xtext framework project and run said project as an Eclipse Application. Then, I create a file, test.mydsl with a some content, something simple like:

"Glossary systemglossary

term term 1 {
name term_name

My question is, using Eclipse for RCP developers, how can I export test.mydsl to an Excel file? More precisely, I'm kind of at a loss as to how I should create a window to select a file in the workspace (test.mydsl, in this case) and use it as a source for exporting. The conversion aspect I'm hoping I can deal with...

I'm using Apache POI for handling Excel files and I'm trying to implement this function in a command handler for a toolbar menu option (should be irrelevant).

Thanks for the help!
Previous Topic:upgrade preference at product update
Next UTF-8 encoding
Goto Forum:

Current Time: Fri Nov 27 04:21:13 GMT 2020

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

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

Back to the top