package ex.app.main;

/**
 * This command opens the edit menu. This menu provides options for changing the list of number kept
 * by the application.
 **/

import ex.core.IntegerManager;
import ex.app.edit.EditMenu;
import pt.tecnico.po.ui.Command;
import pt.tecnico.po.ui.DialogException;
import pt.tecnico.po.ui.Input;

public class ShowEditMenu extends Command<IntegerManager> {        
    //Constructor
    public ShowEditMenu(IntegerManager ent) {
        super("Abrir Menu Edição", ent);
    }

    protected void execute() { // executed when this option is selected
        EditMenu menu = new EditMenu(_receiver);
        menu.open();
    }
}