@Override
public void actionPerformed(ActionEvent e) {
if (JOptionPane.showConfirmDialog(null, "Deseja realmente remover a coluna?", "Remover coluna", JOptionPane.OK_CANCEL_OPTION) == 0) {
try {
Command removerColuna = new RemoverColunaArvoreCommand(view, "Removendo coluna...");
removerColuna.execute();
} catch (Exception ex) {
ErrorInfo info = new ErrorInfo("Erro", ex.getMessage(), null, "category", ex, Level.SEVERE, null);
JXErrorPane.showDialog(view, info);
}
}