As my Plugin modifies a diagram rather drastically, I found it useful
to disable saving while and after certain operations are performed. In
particular, it is necessary to prevent the user from accidentally
overwriting the original diagram.
To accomplish this, I modified the Save-Plugin (file.js), to accept an
Oryx-Event to disable/enable Save and Save as... .If these Events are
never given, the functionality of the plugin remains unchanged.
In particular I added an enabling condition for the buttons, two
attributes and a method listening to the event.
Attached is a patch for file.js containing the changes.
Original issue reported on code.google.com by falko.ko...@googlemail.com on 9 Sep 2010 at 12:57
Original issue reported on code.google.com by
falko.ko...@googlemail.com
on 9 Sep 2010 at 12:57Attachments: