Home
last modified time | relevance | path

Searched refs:xml_node (Results 1 – 5 of 5) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DPasteAction.java82 Node xml_node = mUiNode.getUiChildren().get(0).getXmlNode(); in run()
84 if (xml_node instanceof IndexedRegion) { in run()
85 IndexedRegion region = (IndexedRegion) xml_node; in run()
93 Node xml_node = mUiNode.getXmlNode(); in run()
94 if (xml_node instanceof NodeContainer) { in run()
95 NodeContainer container = (NodeContainer) xml_node; in run()
111 Node xml_node = mUiNode.getXmlNode(); in run()
112 if (xml_node instanceof IndexedRegion) { in run()
113 IndexedRegion region = (IndexedRegion) xml_node; in run()
DCopyCutAction.java122 Node xml_node = uiNode.getXmlNode(); in run() local
123 if (xml_node == null) { in run()
127 String data = getXmlTextFromEditor(xml_node); in run()
133 data = getXmlTextFromSerialization(xml_node); in run()
163 private String getXmlTextFromEditor(Node xml_node) { in getXmlTextFromEditor() argument
168 if (xml_node instanceof NodeContainer) { in getXmlTextFromEditor()
170 data = ((NodeContainer) xml_node).getSource(); in getXmlTextFromEditor()
171 } else if (xml_node instanceof IndexedRegion && sse_doc != null) { in getXmlTextFromEditor()
173 IndexedRegion region = (IndexedRegion) xml_node; in getXmlTextFromEditor()
196 private String getXmlTextFromSerialization(Node xml_node) throws IOException { in getXmlTextFromSerialization() argument
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/
DApplicationToggle.java246 private Node validateNode(Node root_node, Node xml_node) { in validateNode() argument
247 if (root_node == xml_node) { in validateNode()
248 return xml_node; in validateNode()
252 if (root_node == xml_node || validateNode(node, xml_node) != null) { in validateNode()
253 return xml_node; in validateNode()
267 Node xml_node = getUiElementNode().getXmlNode(); in removeApplicationNode() local
268 if (xml_node == null) { in removeApplicationNode()
273 mUndoXmlDocument = xml_node.getOwnerDocument(); in removeApplicationNode()
274 mUndoXmlParent = xml_node.getParentNode(); in removeApplicationNode()
275 mUndoXmlNextNode = xml_node.getNextSibling(); in removeApplicationNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiDocumentNode.java95 public boolean loadFromXmlNode(Node xml_node) { in loadFromXmlNode() argument
96 boolean structure_changed = (getXmlDocument() != xml_node); in loadFromXmlNode()
97 setXmlDocument((Document) xml_node); in loadFromXmlNode()
98 structure_changed |= super.loadFromXmlNode(xml_node); in loadFromXmlNode()
DUiTextValueNode.java54 Node xml_node = parent.getXmlNode(); in updateValue() local
55 if (xml_node != null) { in updateValue()
56 for (Node xml_child = xml_node.getFirstChild(); in updateValue()