com.opnworks.timesheet.client.views
Class WebBrowserView

java.lang.Object
  extended byorg.eclipse.ui.part.WorkbenchPart
      extended byorg.eclipse.ui.part.ViewPart
          extended bycom.opnworks.timesheet.client.views.WebBrowserView
All Implemented Interfaces:
org.eclipse.core.runtime.IAdaptable, org.eclipse.core.runtime.IExecutableExtension, org.eclipse.ui.IViewPart, org.eclipse.ui.IWorkbenchPart, org.eclipse.ui.IWorkbenchPart2

public class WebBrowserView
extends org.eclipse.ui.part.ViewPart

Ole uses org.eclipse.swt to demonstrate Win32 OLE / ActiveX integration.

Author:
Mirasol OpnWorks
See Also:
ViewPart

Field Summary
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Constructor Summary
WebBrowserView()
          Constructs the OLE browser view.
 
Method Summary
 void createPartControl(org.eclipse.swt.widgets.Composite parent)
          Creates the example.
 void dispose()
          Cleanup
 void setFocus()
          Called when we must grab focus.
 void setText(java.lang.String content)
           
 void show(java.lang.String content)
          Show content in Browser
 
Methods inherited from class org.eclipse.ui.part.ViewPart
getViewSite, init, init, saveState, setInitializationData
 
Methods inherited from class org.eclipse.ui.part.WorkbenchPart
addPropertyListener, getAdapter, getContentDescription, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, 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
 

Constructor Detail

WebBrowserView

public WebBrowserView()
Constructs the OLE browser view.

Method Detail

setFocus

public void setFocus()
Called when we must grab focus.

See Also:
WorkbenchPart.setFocus()

setText

public void setText(java.lang.String content)
Parameters:
content -

createPartControl

public void createPartControl(org.eclipse.swt.widgets.Composite parent)
Creates the example.

Parameters:
parent - Description of Parameter
See Also:
WorkbenchPart.createPartControl(org.eclipse.swt.widgets.Composite)

dispose

public void dispose()
Cleanup


show

public void show(java.lang.String content)
Show content in Browser

Parameters:
content - Description of Parameter