Search in sources :

Example 1 with InterpolatingLookupPaintScaleSetupDialog

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());
    }
}
Also used : InterpolatingLookupPaintScaleSetupDialog(net.sf.mzmine.util.interpolatinglookuppaintscale.InterpolatingLookupPaintScaleSetupDialog) AxesSetupDialog(net.sf.mzmine.util.dialogs.AxesSetupDialog)

Aggregations

AxesSetupDialog (net.sf.mzmine.util.dialogs.AxesSetupDialog)1 InterpolatingLookupPaintScaleSetupDialog (net.sf.mzmine.util.interpolatinglookuppaintscale.InterpolatingLookupPaintScaleSetupDialog)1