Package com.lightcrafts.model

Examples of com.lightcrafts.model.RawAdjustmentOperation


    }

    protected void operationChanged(Operation operation) {
        super.operationChanged(operation);

        final RawAdjustmentOperation raw = (RawAdjustmentOperation) operation;

//        JButton auto =
//           new CoolButton();
//        auto.setText(LOCALE.get("AutoButtonText"));
//        auto.addActionListener(
//        auto.addActionListener(
//            new ActionListener() {
//                public void actionPerformed(ActionEvent e) {
//                    Map<String, Double> sliders = raw.getAuto();
//                    for (String key : sliders.keySet()) {
//                        double value = sliders.get(key);
//                        slewSlider(key, value);
//                    }
//                    if (! undoSupport.isRestoring()) {
//                        undoSupport.postEdit(
//                            LOCALE.get("RawAutoEditName")
//                        );
//                    }
//                }
//            }
//        );

        JButton asShot = new CoolButton();
        asShot.setText(LOCALE.get("AsShotButtonText"));
        asShot.addActionListener(
            new ActionListener() {
                public void actionPerformed(ActionEvent e) {
                    Map<String, Double> sliders = raw.getAsShot();
                    for (String key : sliders.keySet()) {
                        double value = sliders.get(key);
                        slewSlider(key, value);
                    }
                    if (! undoSupport.isRestoring()) {
View Full Code Here

TOP

Related Classes of com.lightcrafts.model.RawAdjustmentOperation

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.