[allfeatures] new/cws ab76 : Direct singleton support in Basic

[email protected] Fri, 5 Mar 2010 12:10:47 +0100 (MET)
Newsgroups gmane.comp.openoffice.announce.features
Message-ID <25710728.61267787447216.JavaMail.root@so-web4>
------=_Part_170_29215666.1267787447215
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit



       Product: Application Framework
          Type: new
         Title: Direct singleton support in Basic
     Posted by: [email protected]
      Affected: basic
         TaskId: i107070
<http://www.openoffice.org/issues/show_bug.cgi?id=107070>
Effective from: cws ab76
           CWS:
<http://eis.services.openoffice.org/EIS2/cws.ShowCWS?Path=DEV300/ab76>
    CWS status: ready for QA


*Flags*
-------
API/ BASIC [x]
Configuration [ ]
File format change [ ]
Help/ Guide [x]
Performance test [ ]
Translation [ ]
UI relevant [ ]


*Description*
-------------
OOo Basic now supports direct creation of Singleton instances
using a corresponding get method. Instead of

oContext = ....
oA = oContext.getValueByName("/singletons/my.own.special.TestSingleton")

now the following code can be used:

oA = my.own.special.TestSingleton.get() 
or
oA = my.own.special.TestSingleton.get(oContext) 

This is available only for singletons defined in IDL.


No specification as this is a non UI feature



Send feedback to [email protected]



------=_Part_170_29215666.1267787447215
Content-Type: text/plain; charset=us-ascii

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
------=_Part_170_29215666.1267787447215--