com.pvx.ooadide.views
Class EmbedJavXView
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
com.pvx.ooadide.views.EmbedJavXView
- All Implemented Interfaces:
- IEmbeddedJavXView, javxbaseui.AbstractGUIManagerFactory, 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.IWorkbenchPart3, org.eclipse.ui.part.IWorkbenchPartOrientation
- Direct Known Subclasses:
- AppsrvConfigView, WebcfgView, WinDefine
public class EmbedJavXView
- extends org.eclipse.ui.part.ViewPart
- implements IEmbeddedJavXView, javxbaseui.AbstractGUIManagerFactory
This sample class demonstrates how to plug-in a new
workbench view. The view shows data obtained from the
model. The sample creates a dummy model on the fly,
but a real implementation would connect to the model
available either in this or another plug-in (e.g. the workspace).
The view is connected to the model using a content provider.
The view uses a label provider to define how model
objects should be presented in the view. Each
view can present the same model objects using
different labels and icons, if needed. Alternatively,
a single label provider can be shared between views
in order to ensure that objects of the same type are
presented in the same way everywhere.
Field Summary |
org.eclipse.ui.IActionBars |
bars
|
org.eclipse.ui.IViewSite |
viewSite
|
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 |
addPartPropertyListener, addPropertyListener, dispose, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, getTitleToolTip, removePartPropertyListener, removePropertyListener, setPartProperty, 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 |
bars
public org.eclipse.ui.IActionBars bars
viewSite
public org.eclipse.ui.IViewSite viewSite
EmbedJavXView
public EmbedJavXView()
- The constructor.
endJavXSession
public void endJavXSession()
makeGUIManager
public javxbaseui.GUIManagerI makeGUIManager(javxclientcontrol.PvxHost arg0)
throws java.lang.Exception
- Specified by:
makeGUIManager
in interface javxbaseui.AbstractGUIManagerFactory
- Throws:
java.lang.Exception
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
setFocus
public void setFocus()
- Specified by:
setFocus
in interface org.eclipse.ui.IWorkbenchPart
- Specified by:
setFocus
in class org.eclipse.ui.part.WorkbenchPart
setActionText
public void setActionText(java.lang.String actionText)
getActionText
public java.lang.String getActionText()
setActionTip
public void setActionTip(java.lang.String actionTip)
getActionTip
public java.lang.String getActionTip()
setArgsStr
public void setArgsStr(java.lang.String argsStr)
getArgsStr
public java.lang.String getArgsStr()
- Specified by:
getArgsStr
in interface IEmbeddedJavXView
getActionBars
public org.eclipse.ui.IActionBars getActionBars()
- Specified by:
getActionBars
in interface IEmbeddedJavXView
setActionBars
public void setActionBars(org.eclipse.ui.IActionBars init_bars)
- Specified by:
setActionBars
in interface IEmbeddedJavXView
getIViewSite
public org.eclipse.ui.IViewSite getIViewSite()
- Specified by:
getIViewSite
in interface IEmbeddedJavXView
setViewSite
public void setViewSite(org.eclipse.ui.IViewSite site)
- Specified by:
setViewSite
in interface IEmbeddedJavXView
notifyConnected
public void notifyConnected()
- Specified by:
notifyConnected
in interface IEmbeddedJavXView