[Esbox-commits] r864 - trunk/common/org.maemo.esbox.launch/src/org/maemo/esbox/launch/ui
lwang at garage.maemo.org
lwang at garage.maemo.org
Sun Oct 12 08:07:19 EEST 2008
Author: lwang
Date: 2008-10-12 08:07:18 +0300 (Sun, 12 Oct 2008)
New Revision: 864
Modified:
trunk/common/org.maemo.esbox.launch/src/org/maemo/esbox/launch/ui/ESboxDownloadTab.java
Log:
Make sure a message from child UI page is displayed in the launch configuration dialog.
Modified: trunk/common/org.maemo.esbox.launch/src/org/maemo/esbox/launch/ui/ESboxDownloadTab.java
===================================================================
--- trunk/common/org.maemo.esbox.launch/src/org/maemo/esbox/launch/ui/ESboxDownloadTab.java 2008-10-11 00:00:29 UTC (rev 863)
+++ trunk/common/org.maemo.esbox.launch/src/org/maemo/esbox/launch/ui/ESboxDownloadTab.java 2008-10-12 05:07:18 UTC (rev 864)
@@ -263,6 +263,14 @@
return page.getErrorMessage();
}
+ public String getMessage() {
+ ILaunchProtocolPage page = getDynamicPage();
+ if ( (super.getMessage() != null) || (page == null)) {
+ return super.getMessage();
+ }
+ return page.getMessage();
+ }
+
/* (non-Javadoc)
* @see org.eclipse.debug.ui.AbstractLaunchConfigurationTab#getImage()
*/
More information about the Esbox-commits
mailing list