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

org.jsoar.debugger.actions.ExitAction Maven / Gradle / Ivy

/*
 * Copyright (c) 2008  Dave Ray 
 *
 * Created on Oct 25, 2008
 */
package org.jsoar.debugger.actions;

import java.awt.event.ActionEvent;

/**
 * @author ray
 */
public class ExitAction extends AbstractDebuggerAction
{
    private static final long serialVersionUID = -7639843952865259437L;

    public ExitAction(ActionManager manager)
    {
        super(manager, "Exit");
    }

    /* (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 arg0)
    {
        getApplication().exit();
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy