I have created an ATL plugin but I cannot figure out how to run it within Eclipse. I know there is a main method that can be called from the command line passing two arguments, but that is not what I mean. Since it is a plugin, I guess we should be able to do something like install it on Eclipse and, with a button, run the transformation on the specified file. Is this possible? What is the normal behavior of this generated transformation?
I suggest you to try to create a java interface to call yours atl plugin codes, or, I'm not sure about it, but I think you can create the atl plugin with an interface (java) using a wizard. After it, you can create an java runner file, a jar.
By "java interface", do you mean GUI? That would involve the creation of another plugin, if I'm not wrong. I was hoping that this creation of an ATL plugin already did that. Do you have any resources where I can check this GUI plugin creation for Eclipse?
Thanks Hugo, I'll take a look at it, but what I was interested in is having a GUI to launch the ATL transformation, or at least some kind of "wizard" that allows to select input files and where to save output files. I guess this is out of the topic of this forum.
Well, you can of course use the generated method to simply implement (using the appropriate interface) and declare (using the appropriate extension point) a callable action, with a button in the workbench for instance.
This works exactly the same way as any action provided by the Eclipse workbench.