Пример #1
0
 private void openMenuActionPerformed(java.awt.event.ActionEvent evt) {
   ViewPersistance v = new ViewPersistance(envC);
   if (v.callLoad()) {
     updateProjectList();
     updateProjectTree(null);
     updateInfoPanel();
   }
 }
Пример #2
0
 private void saveMenuActionPerformed(java.awt.event.ActionEvent evt) {
   if (envC.getLastFileName() == null) {
     ViewPersistance v = new ViewPersistance(envC);
     v.callSave();
   } else {
     try {
       envC.saveFile(envC.getLastFileName());
     } catch (IOException e) {
       JOptionPane.showMessageDialog(this, "Erreur lors de l'écriture sur le disque!");
     }
   }
 }
Пример #3
0
 private void saveAsMenuActionPerformed(java.awt.event.ActionEvent evt) {
   ViewPersistance v = new ViewPersistance(envC);
   v.callSave();
 }