Package presenter.command

Examples of presenter.command.RemoverArvoresCommand


    public void removeArvore() {
        if (JOptionPane.showConfirmDialog(null, "Deseja realmente remover "
                + "a(s) árvore(s): " + Arrays.toString(view.getArvoresSelecionadas().toArray())
                + " ?", "Remover árvore(s)", JOptionPane.OK_CANCEL_OPTION) == 0) {
            try {
                Command removerArvores = new RemoverArvoresCommand(view, "Removendo árvores...");
                removerArvores.execute();
            } catch (Exception e) {
                System.err.println("Erro ao atualizar " + e.getMessage());
            }
        }
    }
View Full Code Here

TOP

Related Classes of presenter.command.RemoverArvoresCommand

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.