aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrock Janiczak2012-11-21 17:14:11 (EST)
committerCurtis Windatt2012-11-21 17:14:11 (EST)
commit2b72a7211397f4a124d65f5c2ef04c7bb9c473a4 (patch)
treed70a8802bd660fc9bbbe5e31dcb7cf880a86aaf3
parentde526943120915e44f4ea1792f6445ffd1ef0efa (diff)
downloadeclipse.jdt.debug-2b72a7211397f4a124d65f5c2ef04c7bb9c473a4.zip
eclipse.jdt.debug-2b72a7211397f4a124d65f5c2ef04c7bb9c473a4.tar.gz
eclipse.jdt.debug-2b72a7211397f4a124d65f5c2ef04c7bb9c473a4.tar.bz2
Bug 218940 - [patch] Add logical structure for XML DOM Nodesv20121121-221411
-rw-r--r--org.eclipse.jdt.debug/plugin.properties4
-rw-r--r--org.eclipse.jdt.debug/plugin.xml15
2 files changed, 17 insertions, 2 deletions
diff --git a/org.eclipse.jdt.debug/plugin.properties b/org.eclipse.jdt.debug/plugin.properties
index 221a8a7..2308236 100644
--- a/org.eclipse.jdt.debug/plugin.properties
+++ b/org.eclipse.jdt.debug/plugin.properties
@@ -1,5 +1,5 @@
###############################################################################
-# Copyright (c) 2000, 2009 IBM Corporation and others.
+# Copyright (c) 2000, 2012 IBM Corporation and others.
# All rights reserved. This program and the accompanying materials
# are made available under the terms of the Eclipse Public License v1.0
# which accompanies this distribution, and is available at
@@ -39,3 +39,5 @@ JavaMethodEntryBreakpoint.name = Java Method Entry Breakpoint
JavaStratumLineBreakpoint.name = Java Stratum Line Breakpoint
breakpointListeners.name = Java Breakpoint Listeners
+
+descriptionDomNode = XML DOM Element \ No newline at end of file
diff --git a/org.eclipse.jdt.debug/plugin.xml b/org.eclipse.jdt.debug/plugin.xml
index 08d8ad5..416b9e2 100644
--- a/org.eclipse.jdt.debug/plugin.xml
+++ b/org.eclipse.jdt.debug/plugin.xml
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<!--
- Copyright (c) 2005, 2010 IBM Corporation and others.
+ Copyright (c) 2005, 2012 IBM Corporation and others.
All rights reserved. This program and the accompanying materials
are made available under the terms of the Eclipse Public License v1.0
which accompanies this distribution, and is available at
@@ -311,6 +311,19 @@
value="return getValue();"
name="value"/>
</javaLogicalStructure>
+ <javaLogicalStructure
+ description="%descriptionDomNode"
+ subtypes="true"
+ type="org.w3c.dom.Node">
+ <variable
+ name="children"
+ value="org.w3c.dom.NodeList children = getChildNodes(); org.w3c.dom.Node[] nodeArray = new org.w3c.dom.Node[children.getLength()];for (int i = 0; i &lt; children.getLength(); i++) { nodeArray[i] = children.item(i); } return nodeArray;">
+ </variable>
+ <variable
+ name="attributes"
+ value="org.w3c.dom.NamedNodeMap attributes = getAttributes();if (attributes == null) return null; org.w3c.dom.Node[] nodes = new org.w3c.dom.Node[attributes.getLength()];for (int i = 0; i &lt; attributes.getLength(); i++) {nodes[i] = attributes.item(i);}return nodes;">
+ </variable>
+ </javaLogicalStructure>
</extension>
<extension