Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » M2T (model-to-text transformation) » how to use jet2 in standalone eclipse app
how to use jet2 in standalone eclipse app [message #1114095] Sun, 22 September 2013 02:36 Go to next message
xiao yu zhou is currently offline xiao yu zhou
Messages: 20
Registered: August 2013
Junior Member
Hi gays
Now I want to use jet2 in my plugin,but I can not find any tutorial or any docs to instruct me to achieve this after searched the internet.
So anyone know where i can find help? I will very appreciate your help
Re: how to use jet2 in standalone eclipse app [message #1124458 is a reply to message #1114095] Thu, 03 October 2013 10:57 Go to previous messageGo to next message
Chris Gerken is currently offline Chris Gerken
Messages: 4
Registered: October 2013
Junior Member
This is the API call to apply a JET transform to a model:

IStatus status =
JET2Platform.runTransformOnString("xformId", model, aNullProgressMonitor());

where model is a String variable containing an XML document. There are other methods that can take other models. You'll need this, too:

import org.eclipse.jet.JET2Platform;
Re: how to use jet2 in standalone eclipse app [message #1161910 is a reply to message #1124458] Tue, 29 October 2013 23:40 Go to previous message
xiao yu zhou is currently offline xiao yu zhou
Messages: 20
Registered: August 2013
Junior Member
Thanks for your help,but i can not find the jet plugin in eclipse juno. i know that jet plugin can be found in indigo's install site,but i want to get a consistent plugin.
so can somebody tell me whether the jet plugin is left off or it is just contained in another plugin?
Previous Topic:Testing Acceleo generator modules
Next Topic:[Acceleo] Association
Goto Forum:
  


Current Time: Sat Apr 19 11:47:30 EDT 2014

Powered by FUDForum. Page generated in 0.01580 seconds