Revision 6698

View differences:

org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster.tools/org.gvsig.raster.tools.app/org.gvsig.raster.tools.app.mainplugin/src/main/java/org/gvsig/raster/tools/app/mainplugin/AssignProjectionExtension.java
47 47

  
48 48
    @Override
49 49
    public void execute(String actionCommand) {
50
        ThreadSafeDialogsManager dlgManager = ToolsSwingLocator.getThreadSafeDialogsManager();
50
        ApplicationManager applicationManager = ApplicationLocator.getManager();
51 51
        I18nManager i18nManager = ToolsLocator.getI18nManager();
52 52
        if (StringUtils.equalsIgnoreCase(actionCommand, "assign-projection")) {
53 53
            IView view = getActiveView();
......
63 63
                if (prjFile.exists()) {
64 64
                    String message = "_the_content_of_the_file_XFILEX_will_be_replaced_do_you_want_to_continue";
65 65
                    int reply =
66
                        dlgManager.confirmDialog(
66
                        applicationManager.confirmDialog(
67 67
                            i18nManager.getTranslation(message, new String[] { prjFile.getAbsolutePath() }),
68 68
                            i18nManager.getTranslation("Assign_projection"),
69 69
                            JOptionPane.YES_NO_OPTION,
......
77 77
                } catch (IOException e) {
78 78
                    logger.warn("Can't save prj file.", e);
79 79
                    String message2 = "_cant_save_prj_file";
80
                    dlgManager.messageDialog(message2, "Assing_projection", JOptionPane.WARNING_MESSAGE);
80
                    applicationManager.messageDialog(message2, "Assing_projection", JOptionPane.WARNING_MESSAGE);
81 81
                }
82 82
            }
83 83
        }
org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster.tools/org.gvsig.raster.tools.app/org.gvsig.raster.tools.app.mainplugin/src/main/resources-plugin/i18n/text.properties
53 53
Zoom_To_Raster_Layer_Resolution=Zoom a la resoluci\u00f3n del raster
54 54
Assign_projection=Asignar projecci\u00f3n
55 55
_cant_save_prj_file=No ha sido posible guardar el archivo prj
56
_the_content_of_the_file_XFILEX_will_be_replaced_do_you_want_to_continue=El contenido del archivo {0} ser\u00e1 sustitu\u00eddo. \u00bfDesea continuar?
56
_the_content_of_the_file_XFILEX_will_be_replaced_do_you_want_to_continue=El contenido del archivo {0} ser\u00e1 sustitu\u00eddo. \u00bfDesea continuar?
57
Export_view_to_image=Exportar vista a archivo de imagen
58
_view_extent=Extensi\u00f3n de la vista
org.gvsig.raster/branches/org.gvsig.raster.2.4/org.gvsig.raster.tools/org.gvsig.raster.tools.app/org.gvsig.raster.tools.app.mainplugin/src/main/resources-plugin/i18n/text_en.properties
53 53
Zoom_To_Raster_Layer_Resolution=Zoom to raster layer resolution
54 54
Assign_projection=Assign projection
55 55
_cant_save_prj_file=Can't save prj file
56
_the_content_of_the_file_XFILEX_will_be_replaced_do_you_want_to_continue=The content of file {0} will be replaced. Do you want to continue?
56
_the_content_of_the_file_XFILEX_will_be_replaced_do_you_want_to_continue=The content of file {0} will be replaced. Do you want to continue?
57
Export_view_to_image=Export view to image file
58
_view_extent=View Extent

Also available in: Unified diff