|
||||||||||
| 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
fable.imageviewer.views.HeaderPlotView
public class HeaderPlotView
This class plots header keys of selected samples in navigator. For each sample, a several plots can be done. X and Y are selected in combos. X and Y combos are loaded with current sample and its keys.
| Field Summary | |
|---|---|
static java.lang.String |
ID
|
org.eclipse.swt.widgets.Button |
plotDiff
|
org.eclipse.swt.widgets.Button |
removeDataViewY1
|
org.eclipse.swt.widgets.Button |
removeDataViewY2
|
org.eclipse.swt.widgets.Button |
resetButton
|
static HeaderPlotView |
view
|
| Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
|---|
PROP_TITLE |
| Constructor Summary | |
|---|---|
HeaderPlotView()
|
|
| Method Summary | |
|---|---|
void |
addDataView(Sample sample,
org.eclipse.swt.widgets.Combo jlcombo,
fr.esrf.tangoatk.widget.util.chart.JLAxis axis)
|
void |
clearAllPlots()
Clear all plots |
java.lang.String[] |
clickOnChart(fr.esrf.tangoatk.widget.util.chart.JLChartEvent e)
Customize chart tooltip with labels. |
void |
createChart()
Create the JLChart and initialise it with default settings e.g. |
void |
createPartControl(org.eclipse.swt.widgets.Composite parent)
|
void |
dispose()
|
fr.esrf.tangoatk.widget.util.chart.JLChart |
getChart()
|
javax.swing.JApplet |
getChartContainer()
|
void |
plotHeaderValues(java.lang.String key,
Sample s)
sample should have fabio files |
void |
populateListsKeys()
Set x and y list keys with values to plot |
void |
propertyChange(org.eclipse.jface.util.PropertyChangeEvent evt)
|
void |
removeDataViews(Sample s)
|
void |
repaint()
|
void |
setData(Sample sample,
fr.esrf.tangoatk.widget.util.chart.JLDataView dataview)
Set values of headers for x and y label to dataview |
void |
setFocus()
|
void |
setSxAxisLabel(java.lang.String sxAxisLabel)
Set x axis label |
void |
setSyAxisLabel(java.lang.String syAxisLabel)
Set y axis label |
| 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, 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, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener |
| Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
|---|
getAdapter |
| Field Detail |
|---|
public static HeaderPlotView view
public static final java.lang.String ID
public org.eclipse.swt.widgets.Button plotDiff
public org.eclipse.swt.widgets.Button resetButton
public org.eclipse.swt.widgets.Button removeDataViewY1
public org.eclipse.swt.widgets.Button removeDataViewY2
| Constructor Detail |
|---|
public HeaderPlotView()
| 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 createChart()
public void setFocus()
setFocus in interface org.eclipse.ui.IWorkbenchPartsetFocus in class org.eclipse.ui.part.WorkbenchPartpublic void dispose()
dispose in interface org.eclipse.ui.IWorkbenchPartdispose in class org.eclipse.ui.part.WorkbenchPart
public void setData(Sample sample,
fr.esrf.tangoatk.widget.util.chart.JLDataView dataview)
dataview - public void setSyAxisLabel(java.lang.String syAxisLabel)
syAxisLabel - public void setSxAxisLabel(java.lang.String sxAxisLabel)
sxAxisLabel - public void populateListsKeys()
colandValues - public void clearAllPlots()
public void addDataView(Sample sample,
org.eclipse.swt.widgets.Combo jlcombo,
fr.esrf.tangoatk.widget.util.chart.JLAxis axis)
public void removeDataViews(Sample s)
s - remove all dataviews for this sample (Y1 and Y2 axis)public void repaint()
public fr.esrf.tangoatk.widget.util.chart.JLChart getChart()
public javax.swing.JApplet getChartContainer()
public void plotHeaderValues(java.lang.String key,
Sample s)
throws SampleException
key - s -
SampleExceptionpublic java.lang.String[] clickOnChart(fr.esrf.tangoatk.widget.util.chart.JLChartEvent e)
clickOnChart in interface fr.esrf.tangoatk.widget.util.chart.IJLChartListenerpublic void propertyChange(org.eclipse.jface.util.PropertyChangeEvent evt)
propertyChange in interface org.eclipse.jface.util.IPropertyChangeListener
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||