Re: [api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-29 Thread Paolo Mantovani
Hi, Carsten Driesner ha scritto: [...] Third (and last for now): com.sun.star.awt.UnoControlContainer and com.sun.star.awt.UnoControlContainerModel go beyond my understanding, although I've been using them so far this way - instantiate both at the global service manager - set the model at

Re: [api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-29 Thread Carsten Driesner
Paolo Mantovani schrieb: Hi, Carsten Driesner ha scritto: [...] Third (and last for now): com.sun.star.awt.UnoControlContainer and com.sun.star.awt.UnoControlContainerModel go beyond my understanding, although I've been using them so far this way - instantiate both at the global service

Re: [api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-29 Thread Frank Schönheit - Sun Microsystems Germany
Hi Carsten, Trying the same test with ordinary controls (controls that are listed in the dialog-model service manager) you will obtain a valid reference to the control-view in both cases (before and after the execute() call) Ok, something that I missed. Up to now I thought that controls are

Re: [api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-29 Thread Frank Schönheit - Sun Microsystems Germany
Hi Ariel, But when the control model is instantiated this way, there is no control at all: XControlContainer::getControl() at the UnoControlDialog returns null. Also strange that the model instantiated this way has properties it does not have when instantiated at the global service manager

Re: [api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-29 Thread Ariel Constenla-haile
Hi Carsten, Carsten Driesner escribió: Second, with the com.sun.star.frame.FrameControl I do not understand: 1. why isn't it in the toolkit module css.awt, instead of the css.frame module? although it is a *frame* control, it is a *control*. This feature is very old and was created for some

Re: [api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-29 Thread Paolo Mantovani
Hi Carsten, [...] Hi Paolo, I didn't catch that we talk about the UnoControlContainerModel as a normal control. It's simple, you cannot nest UnoControlContainerModel. Although you can add it them into a container model, they won't do anything useful. May be the creator of the toolkit

Re: [api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-29 Thread Ariel Constenla-haile
Hi all, Carsten Driesner escribió: Paolo Mantovani schrieb: Hi, Carsten Driesner ha scritto: [...] Third (and last for now): com.sun.star.awt.UnoControlContainer and com.sun.star.awt.UnoControlContainerModel go beyond my understanding, although I've been using them so far this way -

[api-dev] AWT: some questions concerning Toolkit inconsistencies

2008-02-27 Thread Ariel Constenla-haile
Hello people, concerning some comments I added to the issues http://www.openoffice.org/issues/show_bug.cgi?id=86414 http://www.openoffice.org/issues/show_bug.cgi?id=86415 http://www.openoffice.org/issues/show_bug.cgi?id=86416 http://www.openoffice.org/issues/show_bug.cgi?id=86417