java.lang.Objectorg.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
com.ibm.jdg2e.view.extras.CalculatorView
A simple barely-functional calculator to demonstrate reusing views in different contexts. It handles the basics only and probably has bugs. Don't use for anything where accurasy matters.
| Field Summary |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
| Constructor Summary | |
CalculatorView()
|
|
| Method Summary | |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
|
void |
setFocus()
|
| 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, dispose, 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, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
| Constructor Detail |
public CalculatorView()
| Method Detail |
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
public void setFocus()