Author: dmaliarevich
Date: 2010-10-08 12:02:03 -0400 (Fri, 08 Oct 2010)
New Revision: 25652
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java
Log:
https://jira.jboss.org/browse/JBIDE-6690 , When XulRunner is not loaded VPE toolbar will
be disabled.
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java 2010-10-08
15:06:26 UTC (rev 25651)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/mozilla/MozillaEditor.java 2010-10-08
16:02:03 UTC (rev 25652)
@@ -633,6 +633,14 @@
xulRunnerEditor.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
} catch (Throwable t) {
+ /*
+ *
https://jira.jboss.org/browse/JBIDE-6690
+ * Disable VPE toolbar
+ */
+ verBar.setEnabled(false);
+ /*
+ * Show the exception
+ */
showXulRunnerException(cmpEd, t);
}