Author: vrubezhny
Date: 2007-10-23 07:35:22 -0400 (Tue, 23 Oct 2007)
New Revision: 4445
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/META-INF/MANIFEST.MF
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/HibConfig3CompoundEditor.java
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/Hibernate3CompoundEditor.java
Log:
http://jira.jboss.org/jira/browse/JBIDE-1124 hibernate tools code completion are no longer
available in hbm.xml editing
The org.hibernate.eclipse.mapper dependency is excluded from
org.jboss.tools.hibernate.xml.ui.
This also fixes the build issue described in letter:
-----Original Message-----
From: jbosstools-dev-bounces(a)lists.jboss.org
[mailto:jbosstools-dev-bounces@lists.jboss.org]On Behalf Of Denis
Golovin
Sent: Tuesday, October 23, 2007 2:17 AM
To: Max Rydahl Andersen; JBoss Tools Dev
Subject: [jbosstools-dev]
http://jira.jboss.org/jira/browse/JBIDE-498
Max,
we have to decide what component will contain hbm.xml editor. Now I have
problem to build RHDS ether it just my local config problem or something
has not been updated in CVN.
Here is an error during richfaces component buld where hbm.xml editor
was included. It requires org.hibernate.eclipse.mapper, that is not
included into richfaces component.
...
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/META-INF/MANIFEST.MF
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/META-INF/MANIFEST.MF 2007-10-23
11:22:42 UTC (rev 4444)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/META-INF/MANIFEST.MF 2007-10-23
11:35:22 UTC (rev 4445)
@@ -25,7 +25,6 @@
org.jboss.tools.common.model,
org.jboss.tools.common.model.ui,
org.jboss.tools.hibernate.xml,
- org.hibernate.eclipse.mapper,
org.eclipse.wst.xml.ui
Bundle-Version: 2.0.0
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/HibConfig3CompoundEditor.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/HibConfig3CompoundEditor.java 2007-10-23
11:22:42 UTC (rev 4444)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/HibConfig3CompoundEditor.java 2007-10-23
11:35:22 UTC (rev 4445)
@@ -10,7 +10,6 @@
******************************************************************************/
package org.jboss.tools.hibernate.ui.xml.editor;
-import org.hibernate.eclipse.mapper.editors.CFGXMLStructuredTextViewerConfiguration;
import org.jboss.tools.common.editor.TreeFormPage;
import org.jboss.tools.common.model.ui.editor.EditorDescriptor;
import org.jboss.tools.common.model.ui.editors.multipage.DefaultMultipageEditor;
@@ -97,8 +96,7 @@
}
protected XMLTextEditorComponent createTextEditorComponent() {
- final CFGXMLStructuredTextViewerConfiguration svc = new
CFGXMLStructuredTextViewerConfiguration();
- return new XMLTextEditorComponent(svc);
+ return new XMLTextEditorComponent(false);
}
}
Modified:
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/Hibernate3CompoundEditor.java
===================================================================
---
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/Hibernate3CompoundEditor.java 2007-10-23
11:22:42 UTC (rev 4444)
+++
trunk/hibernatetools/plugins/org.jboss.tools.hibernate.xml.ui/src/org/jboss/tools/hibernate/ui/xml/editor/Hibernate3CompoundEditor.java 2007-10-23
11:35:22 UTC (rev 4445)
@@ -14,7 +14,6 @@
import org.eclipse.ui.editors.text.TextEditor;
import org.eclipse.wst.sse.ui.StructuredTextViewerConfiguration;
import org.eclipse.wst.xml.ui.StructuredTextViewerConfigurationXML;
-import org.hibernate.eclipse.mapper.editors.HBMXMLStructuredTextViewerConfiguration;
import org.jboss.tools.common.editor.TreeFormPage;
import org.jboss.tools.common.model.ui.editor.EditorDescriptor;
import org.jboss.tools.common.model.ui.editors.multipage.DefaultMultipageEditor;
@@ -45,8 +44,7 @@
}
protected XMLTextEditorComponent createTextEditorComponent() {
- final HBMXMLStructuredTextViewerConfiguration svc = new
HBMXMLStructuredTextViewerConfiguration();
- return new XMLTextEditorComponent(svc);
+ return new XMLTextEditorComponent(false);
}
}
\ No newline at end of file