use of net.sf.mzmine.util.interpolatinglookuppaintscale.InterpolatingLookupPaintScaleSetupDialog in project mzmine2 by mzmine.
the class RTMZAnalyzerWindow method actionPerformed.
public void actionPerformed(ActionEvent event) {
String command = event.getActionCommand();
if (command.equals("SETUP_AXES")) {
AxesSetupDialog dialog = new AxesSetupDialog(this, plot.getChart().getXYPlot());
dialog.setVisible(true);
}
if (command.equals("SETUP_COLORS")) {
InterpolatingLookupPaintScaleSetupDialog colorDialog = new InterpolatingLookupPaintScaleSetupDialog(this, plot.getPaintScale());
colorDialog.setVisible(true);
if (colorDialog.getExitCode() == ExitCode.OK)
plot.setPaintScale(colorDialog.getPaintScale());
}
}
Aggregations