Author: mareshkau
Date: 2008-07-31 06:37:35 -0400 (Thu, 31 Jul 2008)
New Revision: 9447
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/ElService.java
Log:
JBIDE-2584
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2008-07-31
10:03:11 UTC (rev 9446)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/VpeEditorPart.java 2008-07-31
10:37:35 UTC (rev 9447)
@@ -747,7 +747,7 @@
try {
visualEditor.getController().init(sourceEditor, visualEditor);
} catch (Exception e) {
- VpePlugin.reportProblem(e);
+ VpePlugin.getDefault().logError(e);
}
}
});
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/ElService.java
===================================================================
---
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/ElService.java 2008-07-31
10:03:11 UTC (rev 9446)
+++
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/ElService.java 2008-07-31
10:37:35 UTC (rev 9447)
@@ -148,7 +148,7 @@
final Node node = sourceNode.getChildNodes().item(i);
if (node.getNodeType() == Node.ELEMENT_NODE) {
- if((rst = findInResourcesBundle(pageContext, (Element) node))){
+ if((rst = findInResourcesBundle(pageContext, node))){
break;
}