etudiants:2014:bertrand:scrumtool6

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
etudiants:2014:bertrand:scrumtool6 [2014/06/03 00:40] jordietudiants:2014:bertrand:scrumtool6 [2019/08/31 14:21] (Version actuelle) – modification externe 127.0.0.1
Ligne 23: Ligne 23:
 === 3.1 CeditCollaboratorsProduct - Add collaborator=== === 3.1 CeditCollaboratorsProduct - Add collaborator===
  
-<sxh php;title:CeditCollaboratorsProduct /add collaborator>+<sxh php;title:CeditCollaboratorsProduct / Add collaborator>
 view.getBtnEditCollaborator().addSelectionListener(new SelectionListener() { view.getBtnEditCollaborator().addSelectionListener(new SelectionListener() {
  
Ligne 51: Ligne 51:
 === 3.2 CeditCollaboratorsProduct - Remove collaborator === === 3.2 CeditCollaboratorsProduct - Remove collaborator ===
  
-<sxh php;title:CeditCollaboratorsProduct /Remove collaborator>+<sxh php;title:CeditCollaboratorsProduct / Remove collaborator>
 view.getBtnEditCollaborator().addSelectionListener(new SelectionListener() { view.getBtnEditCollaborator().addSelectionListener(new SelectionListener() {
  
Ligne 75: Ligne 75:
  }  }
 }); });
 +</sxh>
 +
 +=== 3.3 - CeditCollaboratorsProduct - Edit role ===
 +
 +<sxh php;title:CeditCollaboratorsProduct / Edit role>
 +view.getBtnSaveEditRole().addSelectionListener(new SelectionListener() {
 +
 + @Override
 + public void widgetSelected(SelectionEvent arg0) {
 +
 + PlayroleId id = new PlayroleId(playroleActif.getCollaborator().getId(), roleEditActif.getId(), product.getId());
 + Playrole pl = new Playrole(id, roleEditActif, product, playroleActif.getCollaborator());
 +
 + DAO.delPlayrole(playroleActif);
 + DAO.addPlayrole(pl);
 +
 + view.getSashForm_1().setWeights(new int[] { 1, 0 });
 + view.getBtnEditRole().setEnabled(false);
 + view.getBtnEditCollaborator().setEnabled(false);
 + view.getTableViewerRemoveCollaborator().remove(playroleActif);
 + view.getTableViewerRemoveCollaborator().add(pl);
 +
 + Utils.MsgBox(view.getShell(), "Role edit successfully", "information");
 + }
 + });
 </sxh> </sxh>
  • etudiants/2014/bertrand/scrumtool6.1401748809.txt.gz
  • Dernière modification : il y a 6 ans
  • (modification externe)