Revision 41350 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/project/documents/gui/ProjectWindow.java
ProjectWindow.java | ||
---|---|---|
76 | 76 |
import org.gvsig.tools.observer.Observer; |
77 | 77 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
78 | 78 |
import org.gvsig.tools.swing.api.usability.UsabilitySwingManager; |
79 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager; |
|
79 | 80 |
import org.gvsig.utils.DefaultListModel; |
80 | 81 |
|
81 | 82 |
/** |
... | ... | |
1000 | 1001 |
btnEditar.addActionListener(new java.awt.event.ActionListener() { |
1001 | 1002 |
|
1002 | 1003 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
1003 |
ProjectProperties dlg = new ProjectProperties(project); |
|
1004 |
PluginServices.getMDIManager().addWindow(dlg); |
|
1004 |
I18nManager i18nManager = ToolsLocator.getI18nManager(); |
|
1005 |
WindowManager winmgr = ToolsSwingLocator.getWindowManager(); |
|
1006 |
winmgr.showWindow( |
|
1007 |
new ProjectProperties(project), |
|
1008 |
i18nManager.getTranslation("Propiedades del proyecto"), |
|
1009 |
WindowManager.MODE.WINDOW |
|
1010 |
); |
|
1005 | 1011 |
refreshProperties(); |
1006 | 1012 |
} |
1007 | 1013 |
}); |
Also available in: Unified diff