Main Page/Resources/Wires*/PluginTutorial

From Atenea

< Main Page | Resources | Wires*
Revision as of 10:41, 28 July 2010 by Fernando (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

In order to create a plugin with your wires specification.

The first step is create a new plugin proyect in which you have to put all the files necessaries for the execution as Models, Metamodels, etc... except the inputs models that we have to make a dialog to insert the path of this models.


In the run class of our plugin we need to put:

1.- the execution of the dialog to select the inputs and output files.

2.- a map with the inputs and output file.

3.- the name of our project

4.- the path of our wires model.


Image:wt1.jpg


In the Referenced Libraries of our plugin we need to include the Wires_1.1.0.jar file and in the plugin.xml -> Runtime include the classpath of this file.


Image:wt2.jpg


This is final result, one button tha execute a wires model with our inputs and output models.


Image:wt3.jpg

Personal tools