private void variationMenuActionPerformed(java.awt.event.ActionEvent evt) {

    int index = jList1.getSelectedIndex();
    if (index >= 0) {
      new ViewProjectVariation("group", envC.getControlProjects().get(index));
    }
  }
  private void ressourceMenuActionPerformed(java.awt.event.ActionEvent evt) {

    int index = jList1.getSelectedIndex();
    if (index >= 0) {
      new ViewAllRessource(envC.getControlProjects().get(index));
    }
  }
 private void alertMenuActionPerformed(java.awt.event.ActionEvent evt) {
   int index = jList1.getSelectedIndex();
   if (index >= 0)
     new ViewAlertProject(
         envC.getControlProjects().get(index),
         ((double) Environment.getMinLimit()) / 100.0,
         ((double) Environment.getMaxLimit()) / 100.0);
 }
 private void consoMenuActionPerformed(java.awt.event.ActionEvent evt) {
   int index = jList1.getSelectedIndex();
   if (index >= 0) {
     ControlConsolidation controler =
         new ControlConsolidation(envC.getControlProjects().get(index));
     new ViewConsolidation(controler);
   }
 }
  private void importPSIMenuActionPerformed(java.awt.event.ActionEvent evt) {

    int index = jList1.getSelectedIndex();
    if (index >= 0) {
      try {
        new ControlParser(envC.getControlProjects().get(index).getProject());
      } catch (ParserConfigurationException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      } catch (SAXException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      } catch (IOException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      } catch (Exception e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
      }
      updateProjectList();
      updateProjectTree(envC.getControlProjects().get(index));
      updateInfoPanel();
    }
  }
 private void showSelectedProject(javax.swing.event.ListSelectionEvent evt) {
   int index = jList1.getSelectedIndex();
   if (index >= 0) {
     updateProjectTree(envC.getControlProjects().get(index));
   }
 }