com.pvx.ooadide.views.rcp
Class RcpEmbedJavXView
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
com.pvx.ooadide.views.rcp.RcpEmbedJavXView
- 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:
- RcpProgramView
public class RcpEmbedJavXView
- extends org.eclipse.ui.part.ViewPart
- implements IEmbeddedJavXView, javxbaseui.AbstractGUIManagerFactory
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, 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, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
getAdapter |
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
argsStr
public static java.lang.String argsStr
bars
public org.eclipse.ui.IActionBars bars
viewSite
public org.eclipse.ui.IViewSite viewSite
width
public static int width
height
public static int height
instanceCtr
public static int instanceCtr
SECND_ID_KEY
public static java.lang.String SECND_ID_KEY
RcpEmbedJavXView
public RcpEmbedJavXView()
- The constructor.
getNextInstId
public static java.lang.String getNextInstId()
getID
public java.lang.String getID()
dispose
public void dispose()
- Specified by:
dispose
in interface org.eclipse.ui.IWorkbenchPart
- Overrides:
dispose
in class org.eclipse.ui.part.WorkbenchPart
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
runJavX
public void runJavX()
notifyConnected
public void notifyConnected()
- Specified by:
notifyConnected
in interface IEmbeddedJavXView
shouldAddToView
public boolean shouldAddToView()
hideView
public void hideView(RcpEmbedJavXView targetView)
initializeHost
public void initializeHost()
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
setJavXTabTitle
public void setJavXTabTitle(java.lang.String aTitle)
initStatusMessage
public java.lang.String initStatusMessage()
getComposite
public org.eclipse.swt.widgets.Composite getComposite()
getParent
public org.eclipse.swt.widgets.Composite getParent()
setPluginGUI
public void setPluginGUI(RcpPluginSwingGUIManager pluginGUI)
getPluginGUI
public RcpPluginSwingGUIManager getPluginGUI()
isRunning
public boolean isRunning()
setCompositeColor
public void setCompositeColor(org.eclipse.swt.graphics.Color compositeColor)
getCompositeColor
public org.eclipse.swt.graphics.Color getCompositeColor()