Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » TMF (Xtext) » How to run Xtend2 from toolbar bottom?
How to run Xtend2 from toolbar bottom? [message #894184] Sat, 07 July 2012 08:58 Go to previous message
Andrea Margheri is currently offline Andrea Margheri
Messages: 20
Registered: July 2012
Junior Member
Hi,

I have an Xtext project fro my DSL and the code generator made with Xtend2. Usually code generation starts at the saving event, instead I want a toolbar bottom in my plugin from which I start the generation.

I made the bottom, but I don't know how get the Resource from active editor to start doGenerate(Resource, IFileSystemAccess).

Thanks,

Andrea
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Exception in the OutlinePage
Next Topic:using format effector character in a terminal rule
Goto Forum:
  


Current Time: Sat May 25 14:29:30 EDT 2013

Powered by FUDForum. Page generated in 0.01933 seconds