public class CSVPlotEditor
extends org.eclipse.ui.part.EditorPart
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ID
The ID for this editor.
|
Constructor and Description |
---|
CSVPlotEditor()
The constructor
|
Modifier and Type | Method and Description |
---|---|
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
This operation sets up the Composite that contains the VisIt canvas and
create the VisIt widget.
|
void |
doSave(org.eclipse.core.runtime.IProgressMonitor monitor) |
void |
doSaveAs() |
org.eclipse.swt.widgets.Canvas |
getPlotCanvas()
Gets the canvas used to render the CSV plot.
|
void |
init(org.eclipse.ui.IEditorSite site,
org.eclipse.ui.IEditorInput input) |
boolean |
isDirty() |
boolean |
isSaveAsAllowed() |
void |
refresh()
This operation refreshes the VisIt view.
|
void |
removeSeries(ISeries series)
Removes the selected series from this editor.
|
void |
setFocus() |
void |
showPlotProvider(PlotProvider displayPlotProvider)
This function sets up the SWT XYGraph
|
getEditorInput, getEditorSite, getTitleToolTip, isSaveOnCloseNeeded, setInitializationData
addPartPropertyListener, addPropertyListener, dispose, getAdapter, getContentDescription, getOrientation, getPartName, getPartProperties, getPartProperty, getSite, getTitle, getTitleImage, removePartPropertyListener, removePropertyListener, setPartProperty, showBusy
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
public static final java.lang.String ID
public void createPartControl(org.eclipse.swt.widgets.Composite parent)
createPartControl
in interface org.eclipse.ui.IWorkbenchPart
createPartControl
in class org.eclipse.ui.part.WorkbenchPart
parent
- The parent Composite to create the Control in.public void doSave(org.eclipse.core.runtime.IProgressMonitor monitor)
doSave
in interface org.eclipse.ui.ISaveablePart
doSave
in class org.eclipse.ui.part.EditorPart
public void doSaveAs()
doSaveAs
in interface org.eclipse.ui.ISaveablePart
doSaveAs
in class org.eclipse.ui.part.EditorPart
public org.eclipse.swt.widgets.Canvas getPlotCanvas()
public void init(org.eclipse.ui.IEditorSite site, org.eclipse.ui.IEditorInput input) throws org.eclipse.ui.PartInitException
init
in interface org.eclipse.ui.IEditorPart
init
in class org.eclipse.ui.part.EditorPart
org.eclipse.ui.PartInitException
public boolean isDirty()
isDirty
in interface org.eclipse.ui.ISaveablePart
isDirty
in class org.eclipse.ui.part.EditorPart
public boolean isSaveAsAllowed()
isSaveAsAllowed
in interface org.eclipse.ui.ISaveablePart
isSaveAsAllowed
in class org.eclipse.ui.part.EditorPart
public void refresh()
public void removeSeries(ISeries series)
series
- public void setFocus()
setFocus
in interface org.eclipse.ui.IWorkbenchPart
setFocus
in class org.eclipse.ui.part.WorkbenchPart
public void showPlotProvider(PlotProvider displayPlotProvider)
displayPlotProvider
- The PlotProvider containing the information to create the plot