Hello Fabio!
1. Add a Tab in the SettingsDialog or ProjectSettingsDialog (because this
dialogs don't has a reload tabs method)
If GUI.getInstance().addSettingsTab(yourTabClass); doesn't work it is a bug. Is
this what you are saying? You shouldn't have to bother with reload or updates
or whatever, it should have been taken care of by the call.
2. Add popupActions to FigNodeModelElement with actions for script module.
I feel the need for a new kind of register... Where shall we put it?
/Linus
________________________________
From: Fabio Ospitia Trujillo [mailto:[EMAIL PROTECTED]
Sent: den 20 december 2006 23:35
To: [email protected]
Subject: [argouml-dev] Script Feature
Hi
I am do a module to add script feature to argouml, and must execute of the
follow way.
- When the module is enabled by argouml this added a tab into the
SettingsDialog or ProjectSettingsDialog with the module properties and the name
of "Scripts".
- By now the PNUTS script (https://pnuts.dev.java.net) is supported, but could
handled others. (Grovy, JRuby).
- The module search into the scripts directories, with the follow structure.
../scripts/pnuts/AndromdaValueObjectToEntity/script.pnuts
../scripts/pnuts/AndromdaEntitytToService/script.pnuts
../scripts/groby/VerifyModel/script.grovy
....
- The module load this scripts and can be executed from the popup menu when is
selected a UML diagram
But, there are two things that i can't do into the module without modify the
argouml code.
1. Add a Tab in the SettingsDialog or ProjectSettingsDialog (because this
dialogs don't has a reload tabs method)
2. Add popupActions to FigNodeModelElement with actions for script module.
There are some way for do it?
Thanks
-Fabio
--
Fabio Ospitia Trujillo
Movil: +34 676 628 890
Madrid - EspaƱa