JBoss Tools SVN: r13612 - trunk/as/docs/reference/en/images/runtimes_servers.
by jbosstools-commits@lists.jboss.org
Author: ochikvina
Date: 2009-02-13 09:21:40 -0500 (Fri, 13 Feb 2009)
New Revision: 13612
Modified:
trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_2.png
trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_3.png
trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_4.png
trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_6.png
Log:
https://jira.jboss.org/jira/browse/JBDS-616 - updating the screens;
Modified: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_2.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_3.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_4.png
===================================================================
(Binary files differ)
Modified: trunk/as/docs/reference/en/images/runtimes_servers/runtimes_servers_6.png
===================================================================
(Binary files differ)
17 years, 2 months
JBoss Tools SVN: r13610 - trunk/jsf/docs/userguide/en/modules.
by jbosstools-commits@lists.jboss.org
Author: msorokin
Date: 2009-02-13 09:15:42 -0500 (Fri, 13 Feb 2009)
New Revision: 13610
Modified:
trunk/jsf/docs/userguide/en/modules/editors.xml
Log:
https://jira.jboss.org/jira/browse/JBDS-599
added inline graphics
Modified: trunk/jsf/docs/userguide/en/modules/editors.xml
===================================================================
--- trunk/jsf/docs/userguide/en/modules/editors.xml 2009-02-13 14:14:09 UTC (rev 13609)
+++ trunk/jsf/docs/userguide/en/modules/editors.xml 2009-02-13 14:15:42 UTC (rev 13610)
@@ -897,7 +897,13 @@
<para>Code folding can be enabled by
right-clicking on the left margin on the Source part of Visual
Page Editor, selecting <property>Folding</property> and checking the <property>Enable Folding</property> checkbox or using the <emphasis><property>Ctrl+Numpad_Divide</property></emphasis> shortcut.</para>
- <para>When the code folding is enabled a minus sing will
+ <para>When the code folding is enabled a minus sing (
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="images/visual_page/visual_page_23c.png"/>
+ </imageobject>
+ </inlinemediaobject>
+ ) will
appear on the left margin of the editor next to each opening block tag. </para>
<figure>
@@ -911,9 +917,24 @@
<para>Click the minus sign to collapse a block tag.</para>
- <para>When the minus sing is clicked on the appropriate tag collapses and a plus sing is displayed on the left margin as well as
- a gray rectangle two dots appears after opening and closing tags. </para>
+ <para>When the minus sing is clicked on the appropriate tag collapses and a plus sing (
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="images/visual_page/visual_page_23d.png"/>
+ </imageobject>
+ </inlinemediaobject>
+ ) is displayed on the left margin as well as
+ a gray rectangle two dots
+ (
+ <inlinemediaobject>
+ <imageobject>
+ <imagedata fileref="images/visual_page/visual_page_23e.png"/>
+ </imageobject>
+ </inlinemediaobject>
+ )
+ appears after opening and closing tags. </para>
+
<figure>
<title>Collapsed Code</title>
<mediaobject>
17 years, 2 months
JBoss Tools SVN: r13609 - trunk/jsf/docs/userguide/en/images/visual_page.
by jbosstools-commits@lists.jboss.org
Author: msorokin
Date: 2009-02-13 09:14:09 -0500 (Fri, 13 Feb 2009)
New Revision: 13609
Added:
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23c.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23d.png
trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23e.png
Log:
inline images
Added: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23c.png
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23c.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23d.png
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23d.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
Added: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23e.png
===================================================================
(Binary files differ)
Property changes on: trunk/jsf/docs/userguide/en/images/visual_page/visual_page_23e.png
___________________________________________________________________
Name: svn:mime-type
+ application/octet-stream
17 years, 2 months
JBoss Tools SVN: r13608 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2009-02-13 08:16:21 -0500 (Fri, 13 Feb 2009)
New Revision: 13608
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3650
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java 2009-02-13 07:05:15 UTC (rev 13607)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java 2009-02-13 13:16:21 UTC (rev 13608)
@@ -15,7 +15,6 @@
import org.eclipse.swt.graphics.Point;
import org.eclipse.wst.sse.core.StructuredModelManager;
import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
-import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
import org.eclipse.wst.sse.ui.StructuredTextEditor;
import org.eclipse.wst.xml.core.internal.document.NodeImpl;
import org.jboss.tools.vpe.editor.context.VpePageContext;
@@ -254,7 +253,6 @@
final public void refreshVisualSelection() {
IStructuredModel model = null;
-
try {
// checks for null, for case when we close editor and background
// update job is running
@@ -368,9 +366,9 @@
- NodesManagingUtil.getStartOffsetNode(targetSourceNode);
int length = visualNode.getNodeValue().length();
- if (focusOffcetReferenceToSourceNode > length
- || anchorOffcetReferenceToSourceNode > length)
- return;
+// if (focusOffcetReferenceToSourceNode > length
+// || anchorOffcetReferenceToSourceNode > length)
+// return;
NodeImpl sourceTextImpl = (NodeImpl) targetSourceNode;
int visualNodeFocusOffcet = TextUtil.visualPosition(
sourceTextImpl.getValueSource(),
@@ -379,7 +377,9 @@
int visualNodeAnchorOffcet = TextUtil.visualPosition(
sourceTextImpl.getValueSource(),
anchorOffcetReferenceToSourceNode);
-
+ if (visualNodeFocusOffcet > length
+ || visualNodeAnchorOffcet > length)
+ return;
nsISelection selection = selectionController.getSelection(
nsISelectionController.SELECTION_NORMAL);
17 years, 2 months
JBoss Tools SVN: r13607 - trunk/esb/plugins/org.jboss.tools.esb.project.core/META-INF.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-02-13 02:05:15 -0500 (Fri, 13 Feb 2009)
New Revision: 13607
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/META-INF/MANIFEST.MF
Log:
exporting the new util package
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/META-INF/MANIFEST.MF
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/META-INF/MANIFEST.MF 2009-02-13 06:59:03 UTC (rev 13606)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/META-INF/MANIFEST.MF 2009-02-13 07:05:15 UTC (rev 13607)
@@ -34,5 +34,6 @@
Export-Package: org.jboss.tools.esb.core,
org.jboss.tools.esb.core.facet,
org.jboss.tools.esb.core.messages,
- org.jboss.tools.esb.core.runtime
+ org.jboss.tools.esb.core.runtime,
+ org.jboss.tools.esb.core.utils
17 years, 2 months
JBoss Tools SVN: r13606 - in trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core: module and 1 other directories.
by jbosstools-commits@lists.jboss.org
Author: dennyxu
Date: 2009-02-13 01:59:03 -0500 (Fri, 13 Feb 2009)
New Revision: 13606
Added:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/utils/
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/utils/JBossESBProjectUtil.java
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/module/JBossESBModuleArtifactAdapter.java
Log:
move some utility methods into an utility class
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/module/JBossESBModuleArtifactAdapter.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/module/JBossESBModuleArtifactAdapter.java 2009-02-13 04:48:51 UTC (rev 13605)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/module/JBossESBModuleArtifactAdapter.java 2009-02-13 06:59:03 UTC (rev 13606)
@@ -28,6 +28,7 @@
import org.eclipse.wst.server.core.model.ModuleArtifactAdapterDelegate;
import org.eclipse.wst.server.core.util.WebResource;
import org.jboss.tools.esb.core.ESBProjectConstant;
+import org.jboss.tools.esb.core.utils.JBossESBProjectUtil;
public class JBossESBModuleArtifactAdapter extends
ModuleArtifactAdapterDelegate {
@@ -50,12 +51,12 @@
if (resource instanceof IProject) {
IProject project = (IProject) resource;
- if (isESBProject(project))
+ if (JBossESBProjectUtil.isESBProject(project))
return new WebResource(getModule(project), new Path("")); //$NON-NLS-1$
return null;
}
IProject project = ProjectUtilities.getProject(resource);
- if (project != null && !isESBProject(project))
+ if (project != null && !JBossESBProjectUtil.isESBProject(project))
return null;
IVirtualComponent comp = ComponentCore.createComponent(project);
@@ -74,28 +75,11 @@
}
protected static IModule getModule(IProject project) {
- if (isESBProject(project))
+ if (JBossESBProjectUtil.isESBProject(project))
return ServerUtil.getModule(project);
return null;
}
- protected static boolean isESBProject(IProject project) {
- return isProjectOfType(project, ESBProjectConstant.ESB_PROJECT_FACET);
- }
-
- protected static boolean isProjectOfType(IProject project, String typeID) {
- IFacetedProject facetedProject = null;
- try {
- facetedProject = ProjectFacetsManager.create(project);
- } catch (CoreException e) {
- return false;
- }
- if (facetedProject != null && ProjectFacetsManager.isProjectFacetDefined(typeID)) {
- IProjectFacet projectFacet = ProjectFacetsManager.getProjectFacet(typeID);
- return projectFacet != null && facetedProject.hasProjectFacet(projectFacet);
- }
- return false;
- }
}
Added: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/utils/JBossESBProjectUtil.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/utils/JBossESBProjectUtil.java (rev 0)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/utils/JBossESBProjectUtil.java 2009-02-13 06:59:03 UTC (rev 13606)
@@ -0,0 +1,30 @@
+package org.jboss.tools.esb.core.utils;
+
+import org.eclipse.core.resources.IProject;
+import org.eclipse.core.runtime.CoreException;
+import org.eclipse.wst.common.project.facet.core.IFacetedProject;
+import org.eclipse.wst.common.project.facet.core.IProjectFacet;
+import org.eclipse.wst.common.project.facet.core.ProjectFacetsManager;
+import org.jboss.tools.esb.core.ESBProjectConstant;
+
+public class JBossESBProjectUtil {
+
+ public static boolean isESBProject(IProject project) {
+ return isProjectOfType(project, ESBProjectConstant.ESB_PROJECT_FACET);
+ }
+
+ public static boolean isProjectOfType(IProject project, String typeID) {
+ IFacetedProject facetedProject = null;
+ try {
+ facetedProject = ProjectFacetsManager.create(project);
+ } catch (CoreException e) {
+ return false;
+ }
+
+ if (facetedProject != null && ProjectFacetsManager.isProjectFacetDefined(typeID)) {
+ IProjectFacet projectFacet = ProjectFacetsManager.getProjectFacet(typeID);
+ return projectFacet != null && facetedProject.hasProjectFacet(projectFacet);
+ }
+ return false;
+ }
+}
17 years, 2 months
JBoss Tools SVN: r13605 - trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath.
by jbosstools-commits@lists.jboss.org
Author: rob.stryker(a)jboss.com
Date: 2009-02-12 23:48:51 -0500 (Thu, 12 Feb 2009)
New Revision: 13605
Modified:
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/AbstractClasspathContainer.java
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/AbstractClasspathContainerInitializer.java
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/ClasspathDecorations.java
trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/ClasspathDecorationsManager.java
Log:
Ensuring these classes are properly marked as deprecated and will be refactored later.
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/AbstractClasspathContainer.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/AbstractClasspathContainer.java 2009-02-12 18:22:49 UTC (rev 13604)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/AbstractClasspathContainer.java 2009-02-13 04:48:51 UTC (rev 13605)
@@ -9,6 +9,9 @@
* Red Hat, Inc. - initial API and implementation
******************************************************************************/
+/*
+ *
+ */
package org.jboss.tools.esb.core.runtime.classpath;
import java.io.File;
@@ -31,10 +34,14 @@
import org.eclipse.jdt.core.JavaCore;
import org.jboss.tools.esb.core.ESBProjectCorePlugin;
+/*
+ * Things in this package are duplicate code from as.classpath.core
+ * and must be refactored out after 3.0 GA release.
+ */
/**
*
* @author Rob Stryker <rob.stryker(a)redhat.com>
- *
+ * @deprecated
*/
public abstract class AbstractClasspathContainer implements IClasspathContainer {
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/AbstractClasspathContainerInitializer.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/AbstractClasspathContainerInitializer.java 2009-02-12 18:22:49 UTC (rev 13604)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/AbstractClasspathContainerInitializer.java 2009-02-13 04:48:51 UTC (rev 13605)
@@ -20,11 +20,16 @@
import org.eclipse.jdt.core.IJavaProject;
import org.eclipse.jdt.core.JavaCore;
+/*
+ * Things in this package are duplicate code from as.classpath.core
+ * and must be refactored out after 3.0 GA release.
+ */
/**
*
* @author Rob Stryker <rob.stryker(a)redhat.com>
- *
+ * @deprecated
*/
+
public abstract class AbstractClasspathContainerInitializer extends
ClasspathContainerInitializer {
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/ClasspathDecorations.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/ClasspathDecorations.java 2009-02-12 18:22:49 UTC (rev 13604)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/ClasspathDecorations.java 2009-02-13 04:48:51 UTC (rev 13605)
@@ -17,8 +17,14 @@
import org.eclipse.jdt.core.IClasspathAttribute;
import org.eclipse.jdt.core.JavaCore;
+/*
+ * Things in this package are duplicate code from as.classpath.core
+ * and must be refactored out after 3.0 GA release.
+ */
/**
- * @author <a href="mailto:kosta@bea.com">Konstantin Komissarchik</a>
+ *
+ * @author Rob Stryker <rob.stryker(a)redhat.com>
+ * @deprecated
*/
public final class ClasspathDecorations {
Modified: trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/ClasspathDecorationsManager.java
===================================================================
--- trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/ClasspathDecorationsManager.java 2009-02-12 18:22:49 UTC (rev 13604)
+++ trunk/esb/plugins/org.jboss.tools.esb.project.core/src/org/jboss/tools/esb/core/runtime/classpath/ClasspathDecorationsManager.java 2009-02-13 04:48:51 UTC (rev 13605)
@@ -33,8 +33,12 @@
/**
* @author <a href="mailto:kosta@bea.com">Konstantin Komissarchik</a>
+ * @deprecated
*/
-
+/*
+ * Things in this package are duplicate code from as.classpath.core
+ * and must be refactored out after 3.0 GA release.
+ */
public final class ClasspathDecorationsManager {
private static final String CLASSPATH_PREFERENCES = "classpathPreferences"; //$NON-NLS-1$
private static final String SEPARATOR = System
17 years, 2 months
JBoss Tools SVN: r13604 - trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2009-02-12 13:22:49 -0500 (Thu, 12 Feb 2009)
New Revision: 13604
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3650
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java 2009-02-12 16:56:51 UTC (rev 13603)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java 2009-02-12 18:22:49 UTC (rev 13604)
@@ -210,10 +210,10 @@
// converts to source selection
if ((sourceNode != null) && (sourceNode.getNodeValue() != null)) {
//fix for JBIDE-3650
- NodeImpl textImpl = (NodeImpl) sourceNode;
- sourceRange.x = TextUtil.sourcePosition(textImpl.getSource(),
+ NodeImpl nodeImpl = (NodeImpl) sourceNode;
+ sourceRange.x = TextUtil.sourcePosition(nodeImpl.getValueSource(),
focusedNode.getNodeValue(), selection.getFocusOffset());
- sourceRange.y = TextUtil.sourcePosition(textImpl.getSource(),
+ sourceRange.y = TextUtil.sourcePosition(nodeImpl.getValueSource(),
focusedNode.getNodeValue(), selection.getAnchorOffset())
- sourceRange.x;
}
17 years, 2 months
JBoss Tools SVN: r13603 - in trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor: util and 1 other directory.
by jbosstools-commits@lists.jboss.org
Author: mareshkau
Date: 2009-02-12 11:56:51 -0500 (Thu, 12 Feb 2009)
New Revision: 13603
Modified:
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java
trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java
Log:
https://jira.jboss.org/jira/browse/JBIDE-3650
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java 2009-02-12 16:56:12 UTC (rev 13602)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/template/SelectionManager.java 2009-02-12 16:56:51 UTC (rev 13603)
@@ -17,7 +17,7 @@
import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
import org.eclipse.wst.sse.ui.StructuredTextEditor;
-import org.eclipse.wst.xml.core.internal.document.TextImpl;
+import org.eclipse.wst.xml.core.internal.document.NodeImpl;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.mapping.NodeData;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
@@ -371,7 +371,7 @@
if (focusOffcetReferenceToSourceNode > length
|| anchorOffcetReferenceToSourceNode > length)
return;
- TextImpl sourceTextImpl = (TextImpl) targetSourceNode;
+ NodeImpl sourceTextImpl = (NodeImpl) targetSourceNode;
int visualNodeFocusOffcet = TextUtil.visualPosition(
sourceTextImpl.getValueSource(),
focusOffcetReferenceToSourceNode);
Modified: trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java
===================================================================
--- trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java 2009-02-12 16:56:12 UTC (rev 13602)
+++ trunk/vpe/plugins/org.jboss.tools.vpe/src/org/jboss/tools/vpe/editor/util/SelectionUtil.java 2009-02-12 16:56:51 UTC (rev 13603)
@@ -18,7 +18,7 @@
import org.eclipse.wst.sse.core.internal.provisional.IStructuredModel;
import org.eclipse.wst.sse.core.internal.provisional.IndexedRegion;
import org.eclipse.wst.sse.ui.StructuredTextEditor;
-import org.eclipse.wst.xml.core.internal.document.TextImpl;
+import org.eclipse.wst.xml.core.internal.document.NodeImpl;
import org.jboss.tools.vpe.editor.context.VpePageContext;
import org.jboss.tools.vpe.editor.mapping.VpeDomMapping;
import org.jboss.tools.vpe.editor.mapping.VpeNodeMapping;
@@ -210,7 +210,7 @@
// converts to source selection
if ((sourceNode != null) && (sourceNode.getNodeValue() != null)) {
//fix for JBIDE-3650
- TextImpl textImpl = (TextImpl) sourceNode;
+ NodeImpl textImpl = (NodeImpl) sourceNode;
sourceRange.x = TextUtil.sourcePosition(textImpl.getSource(),
focusedNode.getNodeValue(), selection.getFocusOffset());
sourceRange.y = TextUtil.sourcePosition(textImpl.getSource(),
17 years, 2 months