public class ParaViewPlotComposite extends ConnectionPlotComposite<IParaViewWebClient> implements IPlotListener
ParaViewPlot
.Constructor and Description |
---|
ParaViewPlotComposite(org.eclipse.swt.widgets.Composite parent,
int style)
The default constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
plotUpdated(IPlot plot,
java.lang.String key,
java.lang.String value)
Notifies the listener that the plot has been updated along with state
information that the listener may be able to use.
|
boolean |
setConnectionPlot(ConnectionPlot<IParaViewWebClient> plot)
Sets the current plot associated with this plot composite.
|
connectionStateChanged, setPlot
refresh
changed, computeSize, drawBackground, getBackgroundMode, getChildren, getLayout, getLayoutDeferred, getTabList, isLayoutDeferred, layout, layout, layout, layout, layout, setBackgroundMode, setFocus, setLayout, setLayoutDeferred, setTabList
computeTrim, getClientArea, getHorizontalBar, getScrollbarsMode, getVerticalBar
addControlListener, addDragDetectListener, addFocusListener, addGestureListener, addHelpListener, addKeyListener, addMenuDetectListener, addMouseListener, addMouseMoveListener, addMouseTrackListener, addMouseWheelListener, addPaintListener, addTouchListener, addTraverseListener, computeSize, dragDetect, dragDetect, forceFocus, getAccessible, getBackground, getBackgroundImage, getBorderWidth, getBounds, getCursor, getDragDetect, getEnabled, getFont, getForeground, getLayoutData, getLocation, getMenu, getMonitor, getOrientation, getParent, getRegion, getShell, getSize, getTextDirection, getToolTipText, getTouchEnabled, getVisible, internal_dispose_GC, internal_new_GC, isEnabled, isFocusControl, isReparentable, isVisible, moveAbove, moveBelow, pack, pack, print, redraw, redraw, removeControlListener, removeDragDetectListener, removeFocusListener, removeGestureListener, removeHelpListener, removeKeyListener, removeMenuDetectListener, removeMouseListener, removeMouseMoveListener, removeMouseTrackListener, removeMouseWheelListener, removePaintListener, removeTouchListener, removeTraverseListener, requestLayout, setBackground, setBackgroundImage, setBounds, setBounds, setCapture, setCursor, setDragDetect, setEnabled, setFont, setForeground, setLayoutData, setLocation, setLocation, setMenu, setOrientation, setParent, setRedraw, setRegion, setSize, setSize, setTextDirection, setToolTipText, setTouchEnabled, setVisible, toControl, toControl, toDisplay, toDisplay, traverse, traverse, traverse, update
public ParaViewPlotComposite(org.eclipse.swt.widgets.Composite parent, int style)
parent
- a widget which will be the parent of the new instance (cannot
be null)style
- the style of widget to constructpublic void plotUpdated(IPlot plot, java.lang.String key, java.lang.String value)
IPlotListener
plotUpdated
in interface IPlotListener
plot
- The plot that was updated.key
- The key for the update event that occurred.value
- An associated value for the update event that occurred.public boolean setConnectionPlot(ConnectionPlot<IParaViewWebClient> plot)
ConnectionPlotComposite
Note: This method will not refresh the composite
automatically. If the plot changes, the calling code should call
PlotComposite.refresh()
afterward.
setConnectionPlot
in class ConnectionPlotComposite<IParaViewWebClient>
plot
- The new plot shown in this composite, or null
to clear
it.