import javax.swing.JFrame;
import javax.swing.JMenu;
import javax.swing.JMenuBar;
+import javax.swing.JOptionPane;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
import javax.swing.JToolBar;
project.addPropertyChangeListener(this);
if (switchToProject) {
projectPane.setSelectedIndex(newTabIndex);
+ while (project.getBasePath().length() == 0) {
+ JOptionPane.showMessageDialog(this, I18n.get("mainWindow.information.changeProjectBasePath.message"), I18n.get("mainWindow.information.changeProjectBasePath.title"), JOptionPane.INFORMATION_MESSAGE);
+ projectPanel.changeBasePath();
+ }
}
}
swingInterface.getQuitAction().updateI18n();
swingInterface.getAddNodeAction().updateI18n();
swingInterface.getAddProjectAction().updateI18n();
- swingInterface.getCloneProjectAction().updateI18n();
- swingInterface.getDeleteProjectAction().updateI18n();
swingInterface.getHelpAboutAction().updateI18n();
jSiteMenu.updateI18n();
nodeMenu.updateI18n();
swingInterface.getNodeEditAction(node).updateI18n();
swingInterface.getNodeDeleteAction(node).updateI18n();
}
+ for (Project project: swingInterface.getProjects()) {
+ swingInterface.getCloneProjectAction(project).updateI18n();
+ swingInterface.getDeleteProjectAction(project).updateI18n();
+ }
for (I18nAction languageAction: swingInterface.getLanguageActions()) {
languageAction.updateI18n();
}