[JET] relating GMF to JET [message #496464] |
Tue, 10 November 2009 08:43  |
Samira  Messages: 10 Registered: November 2009 |
Junior Member |
|
|
Hi every one,
I'm new to eclipse development and i have a problem ..
task:
i need to call JET transformation from an editor plugin created by GMF
my status:
- I've created the GMF plugin & its working
- I've created a jet project using the same .ecore & .xmi generated by the editor, and its working !
the problem:
i need to relate the plugin with the jet project!
as i've manually entered the .ecore & .xmi as an input.
but the jet is not actually related to the plugin
also i don't know how to the jet project as a plugin!
HELP!!
[Updated on: Tue, 10 November 2009 08:58] Report message to a moderator
|
|
|
|
|
|
|
Re: [JET] relating GMF to JET [message #498121 is a reply to message #498115] |
Sat, 14 November 2009 17:43   |
Samira  Messages: 10 Registered: November 2009 |
Junior Member |
|
|
while debugging , i guess i found a problem..
inside the method JET2Platform.processResults(final String id, final ContextLogEntry contextLog)
the line:
String projectName = bundleManager.getProjectForId(id);
returns a null string!
i don't know why knowing that i'm sure i typed the id right "m2t.editor.trial1" as the name of the jet project
[Updated on: Sat, 14 November 2009 17:43] Report message to a moderator
|
|
|
|
|
Re: [JET] relating GMF to JET [message #656764 is a reply to message #498160] |
Mon, 28 February 2011 13:55  |
Priyanshu  Messages: 2 Registered: February 2011 |
Junior Member |
|
|
hey samira...I am struggling with the same situation.I have created a project that contains wizards and from those wizards I am fetching user input and I have put the values in a model.Now I want to create some files when I click the finish button in the wizard. For that I have created a JET.I want to invoke the JET inside the performFinish method of the wizard Page.I have used the runResourceOnTransform method but can u plz tell me how to pass the input model, I mean the xml file dynamically. see when I press the finish button the JET has to be invoked, so that the relevant files are generated. I have maintained two text boxes "project name" and "package name" in the wizard page. the problem that I am facing is i am unable to populate the xml file with the project name and package name, which I have to feed to the JET transformation upon clicking the finish button. Plz help me out
[Updated on: Mon, 28 February 2011 14:09] Report message to a moderator
|
|
|
Powered by
FUDForum. Page generated in 0.23771 seconds