edu.wpi.ebob.views
Class ObjBenchView
java.lang.Object
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
edu.wpi.ebob.views.ObjBenchView
- All Implemented Interfaces:
- org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IPersistable, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2, org.eclipse.ui.part.IWorkbenchPartOrientation
public class ObjBenchView
- extends org.eclipse.ui.part.ViewPart
The main view for the Object Bench.
- Author:
- Liam Morley
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
Methods inherited from class org.eclipse.ui.part.ViewPart |
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName |
Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
addPropertyListener, 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 |
Methods inherited from interface org.eclipse.ui.IWorkbenchPart |
addPropertyListener, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
container
private InstanceContainer container
- the container for the gui objects
addInstanceAction
private org.eclipse.jface.action.Action addInstanceAction
- action for adding a new instance
removeInstanceAction
private RemoveInstanceAction removeInstanceAction
- action for removing an instance
cmListener
private IClassManagerListener cmListener
clearBenchAction
private org.eclipse.jface.action.Action clearBenchAction
ObjBenchView
public ObjBenchView()
contributeToActionBars
private void contributeToActionBars()
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.
- Specified by:
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
- Specified by:
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
fillLocalPullDown
private void fillLocalPullDown(org.eclipse.jface.action.IMenuManager manager)
fillLocalToolBar
private void fillLocalToolBar(org.eclipse.jface.action.IToolBarManager manager)
hookContextMenu
private void hookContextMenu()
makeActions
private void makeActions()
setFocus
public void setFocus()
- Passing the focus request to the viewer's control.
- Specified by:
setFocus
in interface org.eclipse.ui.IWorkbenchPart
- Specified by:
setFocus
in class org.eclipse.ui.part.WorkbenchPart
dispose
public void dispose()
- Cleans things up properly.
- Specified by:
dispose
in interface org.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in class org.eclipse.ui.part.WorkbenchPart
- See Also:
IWorkbenchPart.dispose()