public void pan(boolean enabled) { if (enabled) { _plot.setMouseActions( PlotMouseActionList.getDefaultPanActions().getActions(), SWT.CURSOR_HAND); } else { _plot.setMouseActions(new IPlotMouseAction[0], SWT.CURSOR_ARROW); } }
public void zoomWindow(boolean enabled) { if (enabled) { _plot.setMouseActions( PlotMouseActionList.getDefaultZoomWindowActions().getActions(), SWT.CURSOR_CROSS); } else { _plot.setMouseActions(new IPlotMouseAction[0], SWT.CURSOR_ARROW); } }