com.opnworks.timesheet.client.views
Class TimesheetView
java.lang.Object
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
com.opnworks.timesheet.client.views.TimesheetView
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2
- public class TimesheetView
- extends org.eclipse.ui.part.ViewPart
- Author:
- Mirasol OpnWorks
|
Field Summary |
static java.lang.String |
ID
Description of the Field |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
| Methods inherited from class org.eclipse.ui.part.ViewPart |
getViewSite, init, init, saveState, setInitializationData |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, dispose, getAdapter, getContentDescription, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, showBusy |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
addPropertyListener, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
ID
public static java.lang.String ID
- Description of the Field
TimesheetView
public TimesheetView()
- The constructor.
setFocus
public void setFocus()
- Passing the focus request to the viewer's control.
setTimesheet
public void setTimesheet(Timesheet newTimesheet)
- Parameters:
newTimesheet - The new Timesheet value
getTimesheet
public Timesheet getTimesheet()
- Returns:
getColumnNames
public java.util.List getColumnNames()
- Returns:
- The ColumnNames value
getChoices
public java.lang.String[] getChoices(java.lang.String property)
- Parameters:
property -
- Returns:
getTableViewer
public org.eclipse.jface.viewers.TableViewer getTableViewer()
- Returns:
createPartControl
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
- This is a callback that will allow us to create the viewer and initialize
it.
- Parameters:
parent - Description of Parameter
addWidgets
public void addWidgets(org.eclipse.swt.widgets.Composite composite)
- This is a callback that will allow us to create the viewer and initialize
it.
- Parameters:
composite - The feature to be added to the Widgets attribute
getInstance
public static TimesheetView getInstance()
- Gets the Instance attribute of the TimesheetView class
- Returns:
- The Instance value