com.pvx.ooadide.views.rcp
Class RcpEmbedJavXView

java.lang.Object
  extended by org.eclipse.core.commands.common.EventManager
      extended by org.eclipse.ui.part.WorkbenchPart
          extended by org.eclipse.ui.part.ViewPart
              extended by 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


Field Summary
static java.lang.String argsStr
           
 org.eclipse.ui.IActionBars bars
           
static int height
           
static java.lang.String ID
           
static int instanceCtr
           
static java.lang.String SECND_ID_KEY
           
 org.eclipse.ui.IViewSite viewSite
           
static int width
           
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
RcpEmbedJavXView()
          The constructor.
 
Method Summary
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
          This is a callback that will allow us to create the viewer and initialize it.
 void dispose()
           
 void endJavXSession()
           
 org.eclipse.ui.IActionBars getActionBars()
           
 java.lang.String getActionText()
           
 java.lang.String getActionTip()
           
 java.lang.String getArgsStr()
           
 org.eclipse.swt.widgets.Composite getComposite()
           
 org.eclipse.swt.graphics.Color getCompositeColor()
           
 java.lang.String getID()
           
 org.eclipse.ui.IViewSite getIViewSite()
           
static java.lang.String getNextInstId()
           
 org.eclipse.swt.widgets.Composite getParent()
           
 RcpPluginSwingGUIManager getPluginGUI()
           
 void hideView(RcpEmbedJavXView targetView)
           
 void initializeHost()
           
 java.lang.String initStatusMessage()
           
 boolean isRunning()
           
 javxbaseui.GUIManagerI makeGUIManager(javxclientcontrol.PvxHost arg0)
           
 void notifyConnected()
           
 void runJavX()
           
 void setActionBars(org.eclipse.ui.IActionBars init_bars)
           
 void setActionText(java.lang.String actionText)
           
 void setActionTip(java.lang.String actionTip)
           
 void setArgsStr(java.lang.String argsStr)
           
 void setCompositeColor(org.eclipse.swt.graphics.Color compositeColor)
           
 void setFocus()
           
 void setJavXTabTitle(java.lang.String aTitle)
           
 void setPluginGUI(RcpPluginSwingGUIManager pluginGUI)
           
 void setViewSite(org.eclipse.ui.IViewSite site)
           
 boolean shouldAddToView()
           
 
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
 

Field Detail

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
Constructor Detail

RcpEmbedJavXView

public RcpEmbedJavXView()
The constructor.

Method Detail

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()