}
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()) {