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

ag.ion.noa4e.ui.operations
Class ActivateOfficeApplicationOperation

java.lang.Object
  extended by ag.ion.noa4e.ui.operations.ActivateOfficeApplicationOperation
All Implemented Interfaces:
org.eclipse.jface.operation.IRunnableWithProgress

public class ActivateOfficeApplicationOperation
extends java.lang.Object
implements org.eclipse.jface.operation.IRunnableWithProgress

Operation in order to activate OpenOffice.org application.


Constructor Summary
ActivateOfficeApplicationOperation(IOfficeApplication officeApplication)
          Constructs new StartOfficeApplicationOperation.
 
Method Summary
 OfficeApplicationException getOfficeApplicationException()
          Returns OfficeApplicationException exception.
 void run(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
          Runs this operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ActivateOfficeApplicationOperation

public ActivateOfficeApplicationOperation(IOfficeApplication officeApplication)
Constructs new StartOfficeApplicationOperation.

Parameters:
officeApplication - office application to be started
Method Detail

getOfficeApplicationException

public OfficeApplicationException getOfficeApplicationException()
Returns OfficeApplicationException exception. Returns null if no exception was thrown.

Returns:
OfficeApplicationException - returns null if no exception was thrown

run

public void run(org.eclipse.core.runtime.IProgressMonitor progressMonitor)
         throws java.lang.reflect.InvocationTargetException,
                java.lang.InterruptedException
Runs this operation. Progress should be reported to the given progress monitor. This method is usually invoked by an IRunnableContext's run method, which supplies the progress monitor. A request to cancel the operation should be honored and acknowledged by throwing InterruptedException.

Specified by:
run in interface org.eclipse.jface.operation.IRunnableWithProgress
Parameters:
progressMonitor - the progress monitor to use to display progress and receive requests for cancelation
Throws:
java.lang.reflect.InvocationTargetException - if the run method must propagate a checked exception, it should wrap it inside an InvocationTargetException; runtime exceptions are automatically wrapped in an InvocationTargetException by the calling context
java.lang.InterruptedException - if the operation detects a request to cancel, using IProgressMonitor.isCanceled(), it should exit by throwing InterruptedException

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