|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
org.xj3d.ui.swt.view.BrowserView
public class BrowserView
An Eclipse plugin View of the Xj3D Browser.
| Field Summary | |
|---|---|
protected OGLStandardBrowserCore |
browserCore
The internal browser core |
protected LocationToolbar |
locToolbar
The toolbar holding location information |
protected OGLBrowserCanvas |
mainCanvas
The canvas used to display the world |
protected MessageBuffer |
messageBuffer
Area to push error messages to |
protected NavigationToolbar |
navToolbar
The toolbar holding navigation information |
protected StatusBar |
statusBar
The status bar |
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
BrowserView()
|
|
| Method Summary | |
|---|---|
void |
browserDisposed()
The browser has been disposed by the user calling the dispose method on the ExternalBrowser instance. |
void |
browserInitialized(VRMLScene scene)
Ignored. |
void |
browserShutdown()
Ignored. |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
This is a callback that will allow us to create the viewer and initialize it. |
void |
destroy()
Called to instruct the component instance to destroy itself and any used resources. |
BrowserCore |
getBrowserCore()
Get the core browser implementation. |
java.lang.Object |
getCanvas()
Get the SWT component holding this browser. |
ErrorReporter |
getErrorReporter()
Fetch the error handler so that application code can post messages too. |
int |
getRendererType()
Get the renderer type. |
void |
keyPressed(org.eclipse.swt.events.KeyEvent ke)
Notification that a key is pressed. |
void |
keyReleased(org.eclipse.swt.events.KeyEvent ke)
Notification that a key is released. |
void |
partActivated(org.eclipse.ui.IWorkbenchPartReference partRef)
Ignored. |
void |
partBroughtToTop(org.eclipse.ui.IWorkbenchPartReference partRef)
Ignored. |
void |
partClosed(org.eclipse.ui.IWorkbenchPartReference partRef)
Ignored. |
void |
partDeactivated(org.eclipse.ui.IWorkbenchPartReference partRef)
Ignored. |
void |
partHidden(org.eclipse.ui.IWorkbenchPartReference partRef)
Notification that the referenced part was hidden. |
void |
partInputChanged(org.eclipse.ui.IWorkbenchPartReference partRef)
Ignored. |
void |
partOpened(org.eclipse.ui.IWorkbenchPartReference partRef)
Ignored. |
void |
partVisible(org.eclipse.ui.IWorkbenchPartReference partRef)
Notification that the referenced part was made visible. |
void |
setFocus()
Passing the focus request to the viewer's control. |
void |
setMinimumFrameInterval(int millis,
boolean userSet)
Set the minimum frame interval time to limit the CPU resources taken up by the 3D renderer. |
void |
shellActivated(org.eclipse.swt.events.ShellEvent evt)
Ignored. |
void |
shellClosed(org.eclipse.swt.events.ShellEvent evt)
Ignored. |
void |
shellDeactivated(org.eclipse.swt.events.ShellEvent evt)
Ignored. |
void |
shellDeiconified(org.eclipse.swt.events.ShellEvent evt)
The shell has changed from a minimized to a normal state. |
void |
shellIconified(org.eclipse.swt.events.ShellEvent evt)
The shell has changed from a normal state to minimized. |
void |
start()
Called to instruct the component instance to start rendering now. |
void |
stop()
Called to instruct the component instance to stop and suspend its state. |
int |
supportedSpecificationVersion()
Get the spec version that is supported. |
void |
urlLoadFailed(java.lang.String msg)
Ignored. |
void |
widgetDisposed(org.eclipse.swt.events.DisposeEvent evt)
We're being disposed of. |
| Methods inherited from class org.eclipse.ui.part.ViewPart |
|---|
checkSite, getViewSite, init, init, saveState, setContentDescription, setInitializationData, setPartName |
| Methods inherited from class org.eclipse.ui.part.WorkbenchPart |
|---|
addPropertyListener, dispose, firePropertyChange, getAdapter, getConfigurationElement, getContentDescription, getDefaultImage, getOrientation, getPartName, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setSite, setTitle, setTitleImage, setTitleToolTip, showBusy |
| Methods inherited from class org.eclipse.core.commands.common.EventManager |
|---|
addListenerObject, clearListeners, getListeners, isListenerAttached, removeListenerObject |
| 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 |
| Field Detail |
|---|
protected NavigationToolbar navToolbar
protected LocationToolbar locToolbar
protected StatusBar statusBar
protected MessageBuffer messageBuffer
protected OGLBrowserCanvas mainCanvas
protected OGLStandardBrowserCore browserCore
| Constructor Detail |
|---|
public BrowserView()
| Method Detail |
|---|
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl in interface org.eclipse.ui.IWorkbenchPartcreatePartControl in class org.eclipse.ui.part.WorkbenchPartpublic void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartpublic void keyPressed(org.eclipse.swt.events.KeyEvent ke)
keyPressed in interface org.eclipse.swt.events.KeyListenerke - The event that caused this method to be calledpublic void keyReleased(org.eclipse.swt.events.KeyEvent ke)
keyReleased in interface org.eclipse.swt.events.KeyListenerke - The event that caused this method to be calledpublic void shellActivated(org.eclipse.swt.events.ShellEvent evt)
shellActivated in interface org.eclipse.swt.events.ShellListenerevt - The shell event that caused the method to be called.public void shellClosed(org.eclipse.swt.events.ShellEvent evt)
shellClosed in interface org.eclipse.swt.events.ShellListenerevt - The shell event that caused the method to be called.public void shellDeactivated(org.eclipse.swt.events.ShellEvent evt)
shellDeactivated in interface org.eclipse.swt.events.ShellListenerevt - The shell event that caused the method to be called.public void shellDeiconified(org.eclipse.swt.events.ShellEvent evt)
shellDeiconified in interface org.eclipse.swt.events.ShellListenerevt - The shell event that caused the method to be called.public void shellIconified(org.eclipse.swt.events.ShellEvent evt)
shellIconified in interface org.eclipse.swt.events.ShellListenerevt - The window event that caused the method to be called.public void widgetDisposed(org.eclipse.swt.events.DisposeEvent evt)
widgetDisposed in interface org.eclipse.swt.events.DisposeListenerpublic int supportedSpecificationVersion()
supportedSpecificationVersion in interface BrowserComponentpublic java.lang.Object getCanvas()
getCanvas in interface BrowserComponentpublic int getRendererType()
getRendererType in interface BrowserComponentpublic BrowserCore getBrowserCore()
getBrowserCore in interface BrowserComponentpublic ErrorReporter getErrorReporter()
getErrorReporter in interface BrowserComponent
public void setMinimumFrameInterval(int millis,
boolean userSet)
setMinimumFrameInterval in interface BrowserComponentmillis - The minimum time in milleseconds.userSet - true if this is an end-user set minimumpublic void start()
start in interface BrowserComponentpublic void stop()
stop in interface BrowserComponentpublic void destroy()
destroy in interface BrowserComponentpublic void browserShutdown()
browserShutdown in interface BrowserCoreListenerpublic void browserDisposed()
browserDisposed in interface BrowserCoreListenerpublic void urlLoadFailed(java.lang.String msg)
urlLoadFailed in interface BrowserCoreListenermsg - An error message to go with the failurepublic void browserInitialized(VRMLScene scene)
browserInitialized in interface BrowserCoreListenerscene - The new scene that has been loadedpublic void partActivated(org.eclipse.ui.IWorkbenchPartReference partRef)
partActivated in interface org.eclipse.ui.IPartListener2partRef - Reference object for the part that was activated.public void partBroughtToTop(org.eclipse.ui.IWorkbenchPartReference partRef)
partBroughtToTop in interface org.eclipse.ui.IPartListener2partRef - Reference object for the part that was brought to the top.public void partClosed(org.eclipse.ui.IWorkbenchPartReference partRef)
partClosed in interface org.eclipse.ui.IPartListener2partRef - Reference object for the part that was closed.public void partDeactivated(org.eclipse.ui.IWorkbenchPartReference partRef)
partDeactivated in interface org.eclipse.ui.IPartListener2partRef - Reference object for the part that was deactivated.public void partHidden(org.eclipse.ui.IWorkbenchPartReference partRef)
partHidden in interface org.eclipse.ui.IPartListener2partRef - Reference object for the part that was hidden.public void partInputChanged(org.eclipse.ui.IWorkbenchPartReference partRef)
partInputChanged in interface org.eclipse.ui.IPartListener2partRef - Reference object for the part that was hidden.public void partOpened(org.eclipse.ui.IWorkbenchPartReference partRef)
partOpened in interface org.eclipse.ui.IPartListener2partRef - Reference object for the part that was hidden.public void partVisible(org.eclipse.ui.IWorkbenchPartReference partRef)
partVisible in interface org.eclipse.ui.IPartListener2partRef - Reference object for the part that was made visible.
|
Xj3D 2.0 VRML/X3D Code API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||