Package org.eclipse.ease.ui.tools
Class AbstractWorkbenchRunnable
java.lang.Object
org.eclipse.ease.ui.tools.AbstractWorkbenchRunnable
- All Implemented Interfaces:
Runnable,IWindowListener
Helper class to run a job when the workbench window is started. If the workbench is not ready yet, execution will be delayed until the workbench is ready.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidlaunch()Launches the run() method as soon as the workbench is ready.voidwindowActivated(IWorkbenchWindow window) voidwindowClosed(IWorkbenchWindow window) voidwindowDeactivated(IWorkbenchWindow window) voidwindowOpened(IWorkbenchWindow window)
-
Constructor Details
-
AbstractWorkbenchRunnable
public AbstractWorkbenchRunnable()
-
-
Method Details
-
launch
public void launch()Launches the run() method as soon as the workbench is ready. Execution will always be moved to the UI thread and is done asynchronously. This call simply registers the execution task and returns immediately. -
windowActivated
- Specified by:
windowActivatedin interfaceIWindowListener
-
windowDeactivated
- Specified by:
windowDeactivatedin interfaceIWindowListener
-
windowClosed
- Specified by:
windowClosedin interfaceIWindowListener
-
windowOpened
- Specified by:
windowOpenedin interfaceIWindowListener
-