All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.jsoar.debugger.stopcommand.StopCommandAction Maven / Gradle / Ivy

package org.jsoar.debugger.stopcommand;

import java.awt.event.ActionEvent;

import org.jsoar.debugger.actions.AbstractDebuggerAction;
import org.jsoar.debugger.actions.ActionManager;

@SuppressWarnings("serial")
public class StopCommandAction extends AbstractDebuggerAction
{

    public StopCommandAction(ActionManager manager)
    {
        super(manager, "Stop Command");
    }

    /* (non-Javadoc)
     * @see org.jsoar.debugger.actions.AbstractDebuggerAction#update()
     */
    @Override
    public void update()
    {
    }

    /* (non-Javadoc)
     * @see java.awt.event.ActionListener#actionPerformed(java.awt.event.ActionEvent)
     */
    @Override
    public void actionPerformed(ActionEvent e)
    {
        getApplication().addStopCommandView();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy