Revision 9237 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/ProjectExtension.java
ProjectExtension.java | ||
---|---|---|
302 | 302 |
PluginServices.getMDIManager().closeAllWindows(); |
303 | 303 |
p = ProjectFactory.createProject(); |
304 | 304 |
p.setName(PluginServices.getText(this, "untitled")); |
305 |
p.setModified(false);
|
|
305 |
p.setModified(true);
|
|
306 | 306 |
getProjectFrame().setProject(p); |
307 | 307 |
showProjectWindow(); |
308 | 308 |
PluginServices.getMainFrame().setTitle(PluginServices.getText(this, "sin_titulo")); |
... | ... | |
339 | 339 |
getProjectFrame().setProject(p); |
340 | 340 |
PluginServices.getMainFrame().setTitle(p.getName()); |
341 | 341 |
getProjectFrame().refreshControls(); |
342 |
p.setModified(true); |
|
342 | 343 |
p.restoreWindowProperties(); |
343 | 344 |
} |
344 | 345 |
} else if (actionCommand.equals("GUARDAR")) { |
... | ... | |
615 | 616 |
//NotificationManager.addInfo("Al leer el proyecto", e); |
616 | 617 |
} |
617 | 618 |
} catch (MarshalException e) { |
618 |
PluginServices.getLogger().error(PluginServices.getText(this, "formato_incorrecto"),e);
|
|
619 |
PluginServices.getLogger().error(PluginServices.getText(this, "formato_incorrecto"),e); |
|
619 | 620 |
JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(),PluginServices.getText(this, "formato_incorrecto")); |
620 | 621 |
//NotificationManager.addError("Al leer el proyecto", e); |
621 | 622 |
} catch (ValidationException e) { |
Also available in: Unified diff