Revision 38806 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/imp/DefaultAppgvSIGManager.java

View differences:

DefaultAppgvSIGManager.java
464 464
	}
465 465

  
466 466
	public String translate(String message, String... args) {
467
		String msg = message;
468
		if (msg == null) {
469
			return "";
470
		}
471
		msg = org.gvsig.i18n.Messages.getText(msg, args);
472
		if (msg == null) {
473
			msg = "_" + message.replace("_", " ");
474
		}
475
		return msg;
467
		return org.gvsig.i18n.Messages.translate(message, args);
476 468
	}
477 469
	
478 470
	public Component getRootComponent() {
479 471
		return (Component) PluginServices.getMainFrame();
480 472
	}
473

  
474
	public void refreshMenusAndToolBars() {
475
		PluginServices.getMainFrame().refreshControls();
476
	}
481 477
}

Also available in: Unified diff