use of org.eclipse.tracecompass.internal.tmf.ui.views.xychart.LockRangeDialog in project tracecompass by tracecompass.
the class TmfChartView method createClampAction.
private IAction createClampAction() {
Action action = new Action(Messages.TmfChartView_LockYAxis, IAction.AS_PUSH_BUTTON) {
@Override
public void run() {
LockRangeDialog rangeDialog = new LockRangeDialog(getSite().getShell(), getChartViewer());
rangeDialog.open();
}
};
action.setChecked(false);
return action;
}
Aggregations