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 only 
> created on demand. Looks like getControl() is also a trigger for 
> on-demand creation.

To my knowledge, they're created when the dialog (not the dialog model)
is instantiated. From then on, the control list is kept consistent with
the control model list, since the dialog is a listener to the dialog
model's "model container" facet.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Base                       http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

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

Reply via email to