package org.helioviewer.gl3d.gui;

import java.awt.event.ActionEvent;

import javax.swing.AbstractAction;

import org.helioviewer.base.logging.Log;
import org.helioviewer.gl3d.camera.GL3DCamera;
import org.helioviewer.jhv.display.Displayer;
import org.helioviewer.jhv.gui.IconBank;
import org.helioviewer.jhv.gui.IconBank.JHVIcon;

/**
 * Action that resets the view transformation of the current {@link GL3DCamera}
 * to its default settings.
 * 
 * @author Simon Spoerri (simon.spoerri@fhnw.ch)
 * 
 */
public class GL3DResetCameraAction extends AbstractAction {

    private static final long serialVersionUID = 1L;

    public GL3DResetCameraAction() {
        super("Reset Camera", IconBank.getIcon(JHVIcon.RESET));
        putValue(SHORT_DESCRIPTION, "Reset Camera Position to Default");
        // putValue(MNEMONIC_KEY, KeyEvent.VK_R);
        // putValue(ACCELERATOR_KEY, KeyStroke.getKeyStroke(KeyEvent.VK_COMMA,
        // KeyEvent.ALT_MASK));
    }

    @Override
    public void actionPerformed(ActionEvent e) {
        GL3DCameraSelectorModel.getInstance().getCurrentCamera().reset();
        Log.debug("Reset Camera");
        Displayer.getSingletonInstance().display();
    }
}

@@ -104,49 +104,8 @@
 n;%0A%0A
-import org.helioviewer.base.logging.Log;%0A
 impo
@@ -398,17 +398,16 @@
 ings.%0A *
- 
 %0A * @aut
@@ -450,17 +450,16 @@
 w.ch)%0A *
- 
 %0A */%0Apub
@@ -1053,43 +1053,8 @@
 ();%0A
-        Log.debug(%22Reset Camera%22);%0A
     

Remove log