summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpelder2006-09-11 13:00:13 (EDT)
committer pelder2006-09-11 13:00:13 (EDT)
commit932defde2fcc19eaae307f032bd708af80ea5936 (patch)
tree7a1a6e6db2c950c8fdcb3b4ea30a697d73b331f4
parent053b221f4c0921b298913eda2e900712440de24b (diff)
downloadorg.eclipse.jet-932defde2fcc19eaae307f032bd708af80ea5936.zip
org.eclipse.jet-932defde2fcc19eaae307f032bd708af80ea5936.tar.gz
org.eclipse.jet-932defde2fcc19eaae307f032bd708af80ea5936.tar.bz2
[156895] Generalize the parent of the wrapped node from EObject to Object.
-rw-r--r--plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EMFXMLNodeWrapper.java7
1 files changed, 3 insertions, 4 deletions
diff --git a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EMFXMLNodeWrapper.java b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EMFXMLNodeWrapper.java
index c198189..e7fde76 100644
--- a/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EMFXMLNodeWrapper.java
+++ b/plugins/org.eclipse.jet/src/org/eclipse/jet/internal/xpath/inspectors/EMFXMLNodeWrapper.java
@@ -17,7 +17,6 @@
package org.eclipse.jet.internal.xpath.inspectors;
-import org.eclipse.emf.ecore.EObject;
import org.eclipse.jet.xpath.inspector.INodeInspector;
import org.eclipse.jet.xpath.inspector.INodeInspector.NodeKind;
@@ -29,7 +28,7 @@ import org.eclipse.jet.xpath.inspector.INodeInspector.NodeKind;
public class EMFXMLNodeWrapper
{
- private final EObject parent;
+ private final Object parent;
private final String text;
@@ -41,7 +40,7 @@ public class EMFXMLNodeWrapper
* @param nodeKind TODO
*
*/
- public EMFXMLNodeWrapper(EObject parent, String text, INodeInspector.NodeKind nodeKind)
+ public EMFXMLNodeWrapper(Object parent, String text, INodeInspector.NodeKind nodeKind)
{
super();
this.parent = parent;
@@ -52,7 +51,7 @@ public class EMFXMLNodeWrapper
/**
* @return Returns the parent.
*/
- public final EObject getParent()
+ public final Object getParent()
{
return parent;
}