|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectag.ion.bion.officelayer.internal.application.AbstractOfficeApplication
public abstract class AbstractOfficeApplication
Abstract OpenOffice.org application.
Field Summary |
---|
Fields inherited from interface ag.ion.bion.officelayer.application.IOfficeApplication |
---|
APPLICATION_HOME_KEY, APPLICATION_HOST_KEY, APPLICATION_PORT_KEY, APPLICATION_TYPE_KEY, LOCAL_APPLICATION, REMOTE_APPLICATION |
Constructor Summary | |
---|---|
AbstractOfficeApplication()
|
Method Summary | |
---|---|
void |
activate()
Activates office application. |
void |
activate(IOfficeProgressMonitor officeProgressMonitor)
Activates office application. |
void |
deactivate()
Deactivates the office application. |
void |
dispose()
Disposes all allocated resources. |
IDesktopService |
getDesktopService()
Returns desktop service of the application. |
IDocumentService |
getDocumentService()
Returns document service. |
IServiceProvider |
getServiceProvider()
Returns service provider. |
boolean |
isActive()
Returns information whether the office application is active or not. |
protected abstract void |
openConnection(IOfficeProgressMonitor officeProgressMonitor)
Opens connection to OpenOffice.org. |
protected void |
setOfficeApplicationConfiguration(IOfficeApplicationConfiguration officeApplicationConfiguration)
Sets office application configuration configuration. |
protected void |
setOfficeConnection(IOfficeConnection officeConnection)
Sets office connection. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface ag.ion.bion.officelayer.application.IOfficeApplication |
---|
getApplicationType, isConfigured, setConfiguration, setConfiguration |
Constructor Detail |
---|
public AbstractOfficeApplication()
Method Detail |
---|
public void activate(IOfficeProgressMonitor officeProgressMonitor) throws OfficeApplicationException
activate
in interface IOfficeApplication
officeProgressMonitor
- office progress monitor to be used
OfficeApplicationException
- if the office application can not be activatedpublic void activate() throws OfficeApplicationException
activate
in interface IOfficeApplication
OfficeApplicationException
- if the office application can not be activatedpublic void deactivate() throws OfficeApplicationException
deactivate
in interface IOfficeApplication
OfficeApplicationException
- if the office application can not be deactivatedpublic boolean isActive()
isActive
in interface IOfficeApplication
public IDocumentService getDocumentService() throws OfficeApplicationException
getDocumentService
in interface IOfficeApplication
OfficeApplicationException
- if the document service is not availablepublic IDesktopService getDesktopService() throws OfficeApplicationException
getDesktopService
in interface IOfficeApplication
OfficeApplicationException
- if the desktop service is not availablepublic void dispose()
dispose
in interface IDisposeable
public IServiceProvider getServiceProvider()
getServiceProvider
in interface IOfficeApplication
protected abstract void openConnection(IOfficeProgressMonitor officeProgressMonitor) throws OfficeApplicationException
officeProgressMonitor
- office progress monitor to be used (can be null)
OfficeApplicationException
- if the connection can not be establishedprotected void setOfficeApplicationConfiguration(IOfficeApplicationConfiguration officeApplicationConfiguration)
officeApplicationConfiguration
- office application configuration configurationprotected void setOfficeConnection(IOfficeConnection officeConnection)
officeConnection
- office connection
|
Elexis: Das führende OpenSource-Arztpraxisprogamm im deutschsprachigen Raum Java doc for Elexis version 2.1.7.dev vom 17.03.2013 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |