Revision 38771

View differences:

branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/extension/ProjectExtension.java
277 277
     * @see com.iver.mdiApp.plugins.IExtension#updateUI(java.lang.String)
278 278
     */
279 279
    public void execute(String actionCommand) {
280
        if (actionCommand.equals("NUEVO")) {
280
        if (actionCommand.equals("application-project-new")) {
281 281
            if (!askSave()) {
282 282
                return;
283 283
            }
......
291 291
            PluginServices.getMainFrame().setTitle(
292 292
                PluginServices.getText(this, "sin_titulo"));
293 293
        } else
294
            if (actionCommand.equals("ABRIR")) {
294
            if (actionCommand.equals("application-project-open")) {
295 295
                if (!askSave()) {
296 296
                    return;
297 297
                }
......
325 325
                    // p.restoreWindowProperties();
326 326
                }
327 327
            } else
328
                if (actionCommand.equals("GUARDAR")) {
328
                if (actionCommand.equals("application-project-save")) {
329 329
                    guardar();
330 330
                } else
331
                    if (actionCommand.equals("GUARDAR_COMO")) {
331
                    if (actionCommand.equals("application-project-save-as")) {
332 332
                        guardarDialogo();
333 333
                    } else
334
                        if (actionCommand.equals("SALIR")) {
334
                        if (actionCommand.equals("application-exit")) {
335 335
                            Launcher.closeApplication();
336 336
                        }
337 337
    }

Also available in: Unified diff