Hi Johan
My name is Stathis Alexopoulos, and i found your plugin very usefull to me.
Unfortunatelly, when i am developing thinks i am pressing the save key more
frequently than
enter key, so i was needed an easier save procedure for your plugin.
I downloaded your code and i made the following changes.
1. SaveScriptAction renamed to SaveAsScriptAction.
2. SaveScriptAction replicated and changed the behavior of actionperformed
to avooid the display of SaveDialog when
SAVE_SCRIPT_FILE_PATH_KEY is not null.
3. In properties file added accelator key for SaveScripAction.
4. The rest of source was slightly modified to allow the new feature. (added
to menu, in initialization procedure..)
I am satisfied from the changes and now i am using them in my installation
and some guys in my company appreciated it also.
I think that it would be interested also for many users of your plugin.
If you want to add these changes, either i can send you my source code or i
can apply them to CVS.
By the way i left the copyright untouched, and the new class has the same
copyright info with previous classes naming
you as author.
I hope that i am not bother you in any way, and i will be happy if you apply
the new feature to your plugin.
Thanks in advance
Stathis Alexopoulos
|