Revision 46630 trunk/org.gvsig.desktop/org.gvsig.desktop.plugin/org.gvsig.app/org.gvsig.app.mainplugin/src/main/java/org/gvsig/app/extension/copytable/CopyTableExtension.java
CopyTableExtension.java | ||
---|---|---|
6 | 6 |
import javax.swing.SwingUtilities; |
7 | 7 |
import org.gvsig.andami.plugins.Extension; |
8 | 8 |
import org.gvsig.app.ApplicationLocator; |
9 |
import org.gvsig.tools.ToolsLocator; |
|
9 | 10 |
import org.gvsig.tools.dispose.DisposeUtils; |
11 |
import org.gvsig.tools.i18n.I18nManager; |
|
10 | 12 |
import org.gvsig.tools.swing.api.ToolsSwingLocator; |
11 | 13 |
import org.gvsig.tools.swing.api.windowmanager.Dialog; |
12 | 14 |
import org.gvsig.tools.swing.api.windowmanager.WindowManager; |
... | ... | |
87 | 89 |
private void doCopyTable2() { |
88 | 90 |
WindowManager_v2 windowManager = (WindowManager_v2) ToolsSwingLocator.getWindowManager(); |
89 | 91 |
CopyTable2Panel panel = new CopyTable2Panel(); |
92 |
I18nManager i18n = ToolsLocator.getI18nManager(); |
|
90 | 93 |
Dialog dialog = windowManager.createDialog( |
91 | 94 |
panel, |
92 |
"Copy data (Experimental)",
|
|
95 |
i18n.getTranslation("_Copy_table"),
|
|
93 | 96 |
"Copia datos de una tabla a otra", |
94 | 97 |
WindowManager_v2.BUTTONS_OK_CANCEL |
95 | 98 |
); |
Also available in: Unified diff