net.sf.jbatchengine.monitor.views
Class BatchMonitorView
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
net.sf.jbatchengine.monitor.views.BatchMonitorView
- All Implemented Interfaces:
- IAdaptable, IExecutableExtension, IPersistable, IViewPart, IWorkbenchPart, IWorkbenchPart2, IWorkbenchPartOrientation
public class BatchMonitorView
- extends ViewPart
The Monitor View
- Version:
- $Revision: 1.1 $, $Date: 2006/10/20 11:30:57 $
- Author:
- $Author: simas_ch $
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, dispose, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, 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 |
ID
public static final String ID
- See Also:
- Constant Field Values
viewer
private TableViewer viewer
table
private Table table
refresh
private Action refresh
cancel
private Action cancel
filterStatusAction
private Action filterStatusAction
statusFilter
private ViewerFilter statusFilter
columnNames
private final String[] columnNames
columnWidths
private final int[] columnWidths
columnId
private TableColumn columnId
columnTyp
private TableColumn columnTyp
columnName
private TableColumn columnName
columnParam
private TableColumn columnParam
columnQueue
private TableColumn columnQueue
columnCreatedAt
private TableColumn columnCreatedAt
columnCreatedUser
private TableColumn columnCreatedUser
columnStartedAt
private TableColumn columnStartedAt
columnEndedAt
private TableColumn columnEndedAt
columnStatus
private TableColumn columnStatus
BatchMonitorView
public BatchMonitorView()
- The constructor.
createPartControl
public void createPartControl(Composite parent)
- This is a callback that will allow us to create the viewer and initialize it.
- Specified by:
createPartControl
in interface IWorkbenchPart
- Specified by:
createPartControl
in class WorkbenchPart
hookContextMenu
private void hookContextMenu()
contributeToActionBars
private void contributeToActionBars()
fillLocalPullDown
private void fillLocalPullDown(IMenuManager manager)
fillContextMenu
private void fillContextMenu(IMenuManager manager)
fillLocalToolBar
private void fillLocalToolBar(IToolBarManager manager)
makeActions
private void makeActions()
updateStatusFilter
protected void updateStatusFilter()
setFocus
public void setFocus()
- Passing the focus request to the viewer's control.
- Specified by:
setFocus
in interface IWorkbenchPart
- Specified by:
setFocus
in class WorkbenchPart
createTableViewer
private void createTableViewer()
- Create the TableViewer
createTable
private void createTable(Composite parent)
- Create the Table
- Parameters:
parent
-