Exporting files to other formats [message #1755448] |
Fri, 03 March 2017 12:41 |
Miguel Conceição 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!
|
|
|
Powered by
FUDForum. Page generated in 0.03023 seconds