EOL polishing script setup [message #1071193] |
Fri, 19 July 2013 10:28  |
Eclipse User |
|
|
|
Hello everyone,
I created an editor with custom Java figures defined in the .emf file and it works pretty well. Now I want to customize the generated GMF graph with custom connection lines, but the polishing script I wrote has zero effect.
The .eol file is located in the model folder right next to the .ecore and .emf files. I right-click either the .emf or the .ecore file and generate the editor or GMF tool, graph and model. Nothing happens.
Then I tried this script from the tutorial and put it at the same location.
var frame = new Native("javax.swing.JFrame");
frame.setBounds(300,300,300,300);
frame.title = "Opened from EOL";
frame.visible = true;
The script is working when I start it from the application launcher but nothing happens during the editor generation.
What am I doing wrong?
|
|
|
|
Powered by
FUDForum. Page generated in 0.04078 seconds