java.lang.Objectorg.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
com.ibm.jdg2e.concurrency.view.JobsView
This sample view demonstrates how to exercise many of the functions
provided in org.eclipse.core.runtime.jobs. The view
contains UI components that can be used to configure, create, and then run
jobs.
A demonstration guide that will help you run all the possible job processing actions is provided in a readme.txt file in the project directory.
| Field Summary |
|---|
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
JobsView()
The constructor. |
|
| Method Summary | |
|---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
Creates the UI for the job demo view. |
void |
dispose()
Clear active listener. |
void |
selectionChanged(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
Capture selectoin from Navigator view for display and use later as the jobs scheduling rule. |
void |
setFocus()
Place focus on a specific UI control. |
| Methods inherited from class org.eclipse.ui.part.ViewPart |
|---|
getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPropertyListener, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Constructor Detail |
public JobsView()
| Method Detail |
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartIWorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)public void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartIWorkbenchPart.dispose()
public void selectionChanged(org.eclipse.ui.IWorkbenchPart part,
org.eclipse.jface.viewers.ISelection selection)
selectionChanged in interface org.eclipse.ui.ISelectionListenerISelectionListener.selectionChanged(org.eclipse.ui.IWorkbenchPart,
org.eclipse.jface.viewers.ISelection)public void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPart