Hi Carsten,

Thank you very much for answering me.

I tried to give up on docking support and I've chosen the solution with UNO
dialogs. My dialog with the tree control should be non-modal. If the current
document window is the parent of my window , my window is not modal . (the
user cannot change the focus window- document). If I set the parent to be
the desktop , the two windows are totally  independent. In this case I have
to handle manually every event like closing the window, resizing it etc (
when the user closes the document window I need my  small dialog to be
closed too). Is there any other alternative that allows the two windows to
be dependent, but also the focus to be changed?


Thank you,
Cristina

On Tue, Aug 4, 2009 at 11:19 AM, Carsten Driesner
<[email protected]>wrote:

> Cristina Scheau wrote:
>
>> Hi!
>>
>> I am working on an extension in Java that needs a docking window.  I've
>> found here an older thread
>>
>>
>> http://markmail.org/message/lx2zor3pqido2vwd#query:I%27m%20trying%20to%20create%20a%20docking%20window%20inside%20OpenOffice+page:1+mid:7s5omkyh3oqawgry+state:results
>>
>> Can someone give me details about when the docking windows will be
>> available
>> ? I need to add a Tree Control and some simple buttons. Can I use a
>> toolbar
>> for this? Is  there any other alternative ?  Please help me with some
>> tips.
>>
>>
> Hi Christina,
>
> Sorry for the late answer. Unfortunately there is no way for an extension
> developer to use a docking window. The framework team is working on a
> solution which also supports extensions. Currently you have to write your
> docking window code inside the OOo source code and in C++. Hopefully we have
> a solution available for OOo 3.3 but I cannot promise. A tree control can
> theoretically be used in toolbars but this wouldn't make sense due to the
> restricted size of docked toolbars. The only solution I have in mind is to
> drop the docking support and try to use floating windows, e.g. your own Java
> window or via UNO dialogs.
>
> Regards,
> Carsten
>
> --
> Carsten Driesner (cd) - Project Lead OpenOffice.org Framework
> Framework wiki: http://wiki.services.openoffice.org/wiki/Framework
> OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>
>

Reply via email to