https://issues.apache.org/ooo/show_bug.cgi?id=121744

            Bug ID: 121744
        Issue Type: DEFECT
           Summary: [AWT] Enhance the css.aw.Toolkit implementation
    Classification: Code
           Product: api
           Version: AOO 3.4.1
          Hardware: All
                OS: All
            Status: CONFIRMED
          Severity: normal
          Priority: P3
         Component: code
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected]

The following enhancements could be applied to the css.awt.Toolkit API:

* as per bug 121578 converting to new style service will make it easier to use:

XToolkit xToolkit = Toolkit.create( xContext );


* as per bug 121606 implementing multiple inheritance avoids all the interface
querying. Currently the service is defined as implementing 4 interfaces:

XToolkit
XDataTransferProviderAccess     
XSystemChildFactory     
XMessageBoxFactory

TODO: XExtendedToolkit (used in the java accessibility bridge) and XReschedule
(almost unused) are deprecated.

* remove methods that have no implementation:

XToolkit.getDesktopWindow()
XToolkit.getWorkArea()

see
http://svn.apache.org/viewvc/openoffice/trunk/main/toolkit/source/awt/vclxtoolkit.cxx?revision=1425608&view=markup#l619


This missing functionality could be implemented by moving the
DisplayAccess/Info component from VCL (it isn't a good idea to implement UNO
services directly in VCL, as the toolkit service provides VCL initialization
that might be needed in some contexts), see
http://svn.apache.org/viewvc/openoffice/trunk/main/vcl/source/components/display.cxx?revision=1413471&view=markup

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.

Reply via email to