Package br.com.visualmidia.persistence.remove

Examples of br.com.visualmidia.persistence.remove.RemoveCity


            public void handleEvent(Event arg0) {
                MessageBox confirmDeleteMsgBox = new MessageBox(getShell(),SWT.YES | SWT.NO | SWT.ICON_QUESTION);
                confirmDeleteMsgBox.setText("Alert do Gerente Digital.");
                confirmDeleteMsgBox.setMessage("Tem certeza que deseja excluir este item?");
                if(confirmDeleteMsgBox.open()== SWT.YES){
                    system.execute(new RemoveCity(citiesTable.getSelection()[0].getText(0), citiesTable.getSelection()[0].getText(1)));
                    citiesTable.remove(citiesTable.getSelectionIndex());
                }
            }
        });
    }
View Full Code Here

TOP

Related Classes of br.com.visualmidia.persistence.remove.RemoveCity

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.