public interface IPlot extends IVizCanvas
ISeries
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
DEFAULT_CATEGORY
The default category for all plots
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
createAdditionalPage(org.eclipse.ui.part.MultiPageEditorPart parent,
org.eclipse.ui.IFileEditorInput file,
int pageNum)
Directs the service to draw one of its additional pages and add it to the
MultiPageEditorPart.
|
java.util.List<java.lang.String> |
getCategories()
Gets all of the categories currently associated with this plot.
|
java.util.ArrayList<org.eclipse.jface.action.Action> |
getCustomActions()
Get the list of Actions available to this plot.
|
java.util.List<ISeries> |
getDependentSeries(java.lang.String category)
Gets all of the dependent series specified for this IPlot, as a list, for
the specified category.
|
ISeries |
getIndependentSeries()
Gets the independent series for the plot.
|
int |
getNumAdditionalPages()
Gets the number of pages this service will display in the plot editor in
addition to the main canvas.
|
java.lang.String |
getPlotTitle()
Gets the title of the plot to be displayed in whatever visualization
service is rendering this plot
|
void |
save(org.eclipse.core.runtime.IProgressMonitor monitor)
Save the contents of the plot to the source file.
|
void |
saveAs()
Open a dialog to save the plot's contents.
|
void |
setIndependentSeries(ISeries series)
Sets the series that will be on the independent axis for this plot.
|
void |
setPlotTitle(java.lang.String title)
Sets the title of the plot to the specified string.
|
draw, getDataSource, getNumberOfAxes, getProperties, getRenderElementHolder, getSourceHost, isSourceRemote, redraw, setProperties
static final java.lang.String DEFAULT_CATEGORY
java.lang.String createAdditionalPage(org.eclipse.ui.part.MultiPageEditorPart parent, org.eclipse.ui.IFileEditorInput file, int pageNum)
parent
- The part which the page will be added to.file
- The file to use as input for the page.pageNum
- The id of the page to be drawn.java.util.List<java.lang.String> getCategories()
java.util.ArrayList<org.eclipse.jface.action.Action> getCustomActions()
java.util.List<ISeries> getDependentSeries(java.lang.String category)
ISeries getIndependentSeries()
int getNumAdditionalPages()
java.lang.String getPlotTitle()
void save(org.eclipse.core.runtime.IProgressMonitor monitor)
monitor
- The monitor for the save action's progress.void saveAs()
void setIndependentSeries(ISeries series)
series
- The independent series, used to plot the other independent
seriesvoid setPlotTitle(java.lang.String title)
title
- The new title for this plot