Type info
Title using JavaInteractionHandler in sfxOfficeDispatch::dispatch
Posted by [EMAIL PROTECTED]
Affected .,
Effective from cws jl22


Summary

SfxOfficeDispatch::dispatch uses JavaInteractionHandler


Description
In sfx2 the functions:

SfxOfficeDispatch::dispatch
SfxOfficeDispatch::dispatchWithNotification

set a CurrentContext that provides a JavaInteractionHandler. The
implementation can be found in svtools/source/java.

This makes it possible that message boxes, such as "Java is disabled"
pop up only one time, when a user triggers some UI action that
requires Java. This is noticeable if one switches off the use of a
JRE in tools->options->Java and the chooses tools->Macros->Organize->..

In case some UI action still causes the JRE dialogs to pop up several
times and the respective application does not use sfx2 then one should
implement this in the respective dispatch functions



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to