private void openMenuActionPerformed(java.awt.event.ActionEvent evt) { ViewPersistance v = new ViewPersistance(envC); if (v.callLoad()) { updateProjectList(); updateProjectTree(null); updateInfoPanel(); } }
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!"); } } }
private void saveAsMenuActionPerformed(java.awt.event.ActionEvent evt) { ViewPersistance v = new ViewPersistance(envC); v.callSave(); }