Re: [dev] Re: [dba-dev] OOo Base further development

Ocke Janssen <[email protected]> Tue, 18 Jan 2011 07:30:05 +0100
Newsgroups gmane.comp.openoffice.dba.user,gmane.comp.openoffice.devel.general
Message-ID <[email protected]>
On 17.01.2011 10:07, Andreas Säger wrote:
> Am 14.01.2011 10:15, Ocke Janssen wrote:
>>
>> PS: Somebody (volunteering) interested in developing Java for wizards in
>> Base (e.g. Form, Query, Table or Report)?
>
> Based on which API? You mean api.openoffice.org?
Only the sdb part of it. May be something from awt but only to access ui 
elements.

> No thanks! I'm done with it.
Sad. You could complete refactor it and remove all duplicate code (which 
hopefully is already removed) and give it your own touch. And by the way 
you don't have to cast java.lang.Object(s) anymore to the interface you 
need, a simple

XDialogProvider2 xDialogProvider = 
UnoRuntime.queryInterface(XDialogProvider2.class, obj);

is enough ;-)

A first shot could be to remove String concatenations and replace them 
with StringBuilder. Just an idea.

- oj
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [email protected]
> For additional commands, e-mail: [email protected]
>