Problem with Plugin-Specific Dialog During Save

This is using V9 on OS X Tiger. My URI handler plugin puts up a dialog on save to capture information needed to commit the file back to the repository. If I do File->Save or click the save button, then I get the usual "save in progress" dialog with my dialog above it. However, if I do "ctrl+s" to save then sometimes my dialog comes up under the progress dialog and I can't figure out any way to bring it to the front. I tried doing this: CommitDialog.toFront(); CommitDialog.setVisible(true); But it appeared to have no effect; Is there a solution to this? Thanks, Eliot -- W. Eliot Kimber Senior Solutions Architect Really Strategies, Inc. "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com Sent using the Microsoft Entourage 2004 for Mac Test Drive.

Hello, In case of Ctrl + S the progress dialog is displayed from a background thread and the exact display moment cannot be controlled. A solution will be to bypass the progress dialog in case of the operations of a custom protocol and keep it only for the built-in ones (HTTP, HTTPS, FTP, etc). This allows you to control the display of your own progress dialog if such a dialog is needed for a custom protocol. Regards, Sorin Eliot Kimber wrote:
This is using V9 on OS X Tiger.
My URI handler plugin puts up a dialog on save to capture information needed to commit the file back to the repository.
If I do File->Save or click the save button, then I get the usual "save in progress" dialog with my dialog above it. However, if I do "ctrl+s" to save then sometimes my dialog comes up under the progress dialog and I can't figure out any way to bring it to the front.
I tried doing this:
CommitDialog.toFront(); CommitDialog.setVisible(true);
But it appeared to have no effect;
Is there a solution to this?
Thanks,
Eliot

Sorin Ristache wrote:
Hello,
In case of Ctrl + S the progress dialog is displayed from a background thread and the exact display moment cannot be controlled. A solution will be to bypass the progress dialog in case of the operations of a custom protocol and keep it only for the built-in ones (HTTP, HTTPS, FTP, etc). This allows you to control the display of your own progress dialog if such a dialog is needed for a custom protocol.
I just had this problem happen using the save button so I think I'll need this fix before I can release my plugin. Cheers, Eliot -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com

With the following jar file copied in [oXygen-install-folder]/lib oXygen does not display the progress dialog for custom protocols: http://www.oxygenxml.com/update/eliot/oxygen.jar The new build number is 2007110811. Regards, Sorin Eliot Kimber wrote:
I just had this problem happen using the save button so I think I'll need this fix before I can release my plugin.
Cheers,
Eliot

Sorin Ristache wrote:
With the following jar file copied in [oXygen-install-folder]/lib oXygen does not display the progress dialog for custom protocols:
Cool, that seems to fix it (at least for V9). Is there a comparable fix for V8.2? Thanks, Eliot -- Eliot Kimber Senior Solutions Architect "Bringing Strategy, Content, and Technology Together" Main: 610.631.6770 www.reallysi.com www.rsuitecms.com
participants (2)
-
Eliot Kimber
-
Sorin Ristache