fable.framework.ui.views
Class chiPlotView
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.ui.part.WorkbenchPart
org.eclipse.ui.part.ViewPart
fable.framework.ui.views.chiPlotView
- All Implemented Interfaces:
- 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
public class chiPlotView
- extends org.eclipse.ui.part.ViewPart
Nested Class Summary |
class |
chiPlotView.SceneGrip
Implements a scene grip, capable of rotating and moving a GL scene with
the help of the mouse and keyboard. |
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
PROP_TITLE |
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 |
openFile(java.lang.String filename2)
|
void |
plot(float[] listdots,
int _width,
int _height,
float _minimum,
float _maximum,
float _mean,
java.lang.String _fileName)
|
void |
scaleImage()
|
void |
setFocus()
Passing the focus request to the viewer's control. |
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 |
console
public FableMessageConsole console
- Display an image as a 3d relief plot using opengl as an eclipse view. The
data to display are updated by calling the setData() method.
ID
public static final java.lang.String ID
- See Also:
- Constant Field Values
thisView
public static chiPlotView thisView
context
public static org.lwjgl.opengl.GLContext context
chiPlotView
public chiPlotView()
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
plot
public void plot(float[] listdots,
int _width,
int _height,
float _minimum,
float _maximum,
float _mean,
java.lang.String _fileName)
- Parameters:
listdots
- _width
- _height
- _minimum
- _maximum
- _mean
- _fileName
-
scaleImage
public void scaleImage()
setFocus
public void setFocus()
- Passing the focus request to the viewer's control.
- Specified by:
setFocus
in interface org.eclipse.ui.IWorkbenchPart
- Specified by:
setFocus
in class org.eclipse.ui.part.WorkbenchPart
openFile
public void openFile(java.lang.String filename2)