Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013

ag.ion.bion.officelayer.util
Class ServiceInterfaceSupplier

java.lang.Object
  extended by ag.ion.bion.officelayer.util.ServiceInterfaceSupplier

public class ServiceInterfaceSupplier
extends java.lang.Object

Supplier for OpenOffice.org services.


Constructor Summary
ServiceInterfaceSupplier()
           
 
Method Summary
static com.sun.star.frame.XDesktop getXDesktop(com.sun.star.uno.XComponentContext componentContext)
          Returns the XDesktop interface from the OpenOffice.org desktop service.
static com.sun.star.frame.XDesktop getXDesktop(com.sun.star.lang.XMultiServiceFactory xMultiServiceFactory)
          Returns the XDesktop interface from the OpenOffice.org desktop service.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ServiceInterfaceSupplier

public ServiceInterfaceSupplier()
Method Detail

getXDesktop

public static com.sun.star.frame.XDesktop getXDesktop(com.sun.star.lang.XMultiServiceFactory xMultiServiceFactory)
                                               throws java.lang.Exception
Returns the XDesktop interface from the OpenOffice.org desktop service.

Parameters:
xMultiServiceFactory - factory in order to construct the service
Returns:
XDesktop interface from the OpenOffice.org desktop service
Throws:
java.lang.Exception - if any error occurs

getXDesktop

public static com.sun.star.frame.XDesktop getXDesktop(com.sun.star.uno.XComponentContext componentContext)
                                               throws java.lang.Exception
Returns the XDesktop interface from the OpenOffice.org desktop service.

Parameters:
componentContext - component context to be used
Returns:
XDesktop interface from the OpenOffice.org desktop service
Throws:
java.lang.Exception - if any error occurs

Elexis: Das führende OpenSource-Arztpraxisprogamm
im deutschsprachigen Raum
Java doc for Elexis version 2.1.7.dev vom 17.03.2013