Author: mareshkau
Date: 2008-10-16 13:02:09 -0400 (Thu, 16 Oct 2008)
New Revision: 10897
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java
Log:
JBIDE-2674, reporting about org.jboss.tools.vpe not founded error was added to
JSPMultiPageEditor.java
Modified:
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java
===================================================================
---
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java 2008-10-16
16:58:29 UTC (rev 10896)
+++
trunk/jst/plugins/org.jboss.tools.jst.jsp/src/org/jboss/tools/jst/jsp/jspeditor/JSPMultiPageEditor.java 2008-10-16
17:02:09 UTC (rev 10897)
@@ -144,6 +144,9 @@
Class cls = b
.loadClass("org.jboss.tools.vpe.editor.VpeEditorPartFactory");
//$NON-NLS-1$
visualEditorFactory = (IVisualEditorFactory) cls.newInstance();
+ } else {
+ JspEditorPlugin.getPluginLog().logError("Plugin org.jboss.tools.vpe not
available," + //$NON-NLS-1$
+ " visual page editor will be not available"); //$NON-NLS-1$
}
} catch (Exception e) {
JspEditorPlugin.getPluginLog().logError("Error in loading visual editor
factory", e); //$NON-NLS-1$
Show replies by date