Différences
Ci-dessous, les différences entre deux révisions de la page.
| Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
| etudiants:2014:bertrand:scrumtool3 [2014/05/28 11:25] – jordi | etudiants:2014:bertrand:scrumtool3 [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1 | ||
|---|---|---|---|
| Ligne 133: | Ligne 133: | ||
| } | } | ||
| } | } | ||
| + | } | ||
| + | }); | ||
| + | </ | ||
| + | |||
| + | === 3.3 Ccollaborator - Delete Collaborator === | ||
| + | |||
| + | <sxh php; | ||
| + | view.getTltmDelCollaborator().addSelectionListener(new SelectionListener() { | ||
| + | |||
| + | @Override | ||
| + | public void widgetSelected(SelectionEvent arg0) { | ||
| + | |||
| + | MessageBox messageBoxCollaborator = new MessageBox(view.getShell(), | ||
| + | messageBoxCollaborator.setText(" | ||
| + | messageBoxCollaborator.setMessage(" | ||
| + | int responseCollaborator = messageBoxCollaborator.open(); | ||
| + | if (responseCollaborator == SWT.YES) { | ||
| + | DAO.SQLCollaborator(collaboratorActif, | ||
| + | view.getTableViewerCollaborators().remove(collaboratorActif); | ||
| + | view.getGrpCollaborators().setVisible(false); | ||
| + | } | ||
| + | |||
| } | } | ||
| }); | }); | ||
| </ | </ | ||