HomeSort by relevance Sort by last modified time
    Searched refs:UiElementNode (Results 1 - 25 of 87) sorted by null

1 2 3 4

  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
UiModelTreeContentProvider.java 20 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
29 * where elements are expected to be instances of {@link UiElementNode}.
37 private final UiElementNode mUiRootNode;
39 public UiModelTreeContentProvider(UiElementNode uiRootNode,
50 if (parentElement instanceof UiElementNode) {
51 UiElementNode node = (UiElementNode) parentElement;
62 if (element instanceof UiElementNode) {
63 UiElementNode node = (UiElementNode) element
    [all...]
UiActions.java 24 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
46 abstract protected UiElementNode getRootNode();
57 abstract protected void selectUiNode(UiElementNode uiNode);
67 public void doAdd(UiElementNode uiNode, Shell shell) {
77 public void doAdd(UiElementNode uiNode,
81 UiElementNode rootNode = getRootNode();
101 * {@link UiElementNode}, and then select it.
115 * @return The new {@link UiElementNode} or null.
117 public UiElementNode addElement(UiElementNode uiParent
    [all...]
UiModelTreeLabelProvider.java 22 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
30 * where elements are expected to derive from {@link UiElementNode} or
46 UiElementNode node = null;
50 } else if (element instanceof UiElementNode) {
51 node = (UiElementNode) element;
70 * Uses UiElementNode.shortDescription for the label for this tree item.
77 } else if (element instanceof UiElementNode) {
78 UiElementNode node = (UiElementNode) element;
CopyCutAction.java 21 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
51 private List<UiElementNode> mUiNodes;
64 UiElementNode selected, boolean performCut) {
76 List<UiElementNode> selected, boolean performCut) {
118 ArrayList<UiElementNode> nodesToCut = mPerformCut ? new ArrayList<UiElementNode>() : null;
120 for (UiElementNode uiNode : mUiNodes) {
155 for (UiElementNode uiNode : nodesToCut) {
212 private static ArrayList<UiElementNode> toList(UiElementNode selected)
    [all...]
NewItemSelectionDialog.java 23 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
58 private UiElementNode mSelectedUiNode;
61 private UiElementNode mChosenRootNode;
62 private UiElementNode mLocalRootNode;
68 * by {@link #getLastUsedXmlName(UiElementNode)}, called from the constructor. */
74 * in the constructor and set by {@link #setInitialSelection(UiElementNode)}. */
88 UiElementNode ui_node,
89 UiElementNode root_node) {
100 UiElementNode parent = ui_node.getUiParent();
158 private String getLeafFileName(UiElementNode ui_node)
    [all...]
UiTreeBlock.java 27 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
77 * a specific set of {@link UiElementNode}.
94 /** The root {@link UiElementNode} which contains all the elements that are to be
96 private UiElementNode mUiRootNode;
144 * @param uiRootNode The root {@link UiElementNode} which contains all the elements that are
158 UiElementNode uiRootNode,
187 * Returns the {@link UiElementNode} for the current model.
191 * {@link #changeRootAndDescriptors(UiElementNode, ElementDescriptor[], boolean)}.
193 public UiElementNode getRootNode() {
277 public void uiElementNodeUpdated(UiElementNode ui_node, UiUpdateState state)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
UiDocumentNode.java 34 public class UiDocumentNode extends UiElementNode {
74 protected void setUiParent(UiElementNode parent) {
144 public static List<UiElementNode> getAllElements(UiDocumentNode document) {
145 List<UiElementNode> elements = new ArrayList<UiElementNode>(64);
146 for (UiElementNode child : document.getUiChildren()) {
152 private static void addElements(UiElementNode node, List<UiElementNode> elements) {
155 for (UiElementNode child : node.getUiChildren()) {
IUiUpdateListener.java 39 * Indicates that an UiElementNode has been updated.
41 * This happens when an {@link UiElementNode} is refreshed to match the
44 * @param ui_node The {@link UiElementNode} being updated.
46 public void uiElementNodeUpdated(UiElementNode ui_node, UiUpdateState state);
UiAttributeNode.java 39 private UiElementNode mUiParent;
44 * and the corresponding runtime {@link UiElementNode} parent. */
45 public UiAttributeNode(AttributeDescriptor attributeDescriptor, UiElementNode uiParent) {
55 /** Returns the {@link UiElementNode} that owns this {@link UiAttributeNode} */
56 public final UiElementNode getUiParent() {
UiElementNode.java 84 * The structure of a given {@link UiElementNode} is declared by a corresponding
91 public class UiElementNode implements IPropertySource {
102 private UiElementNode mUiParent;
114 private ArrayList<UiElementNode> mUiChildren;
116 * The list is always defined and never null. Unlike the UiElementNode children list, this
124 private List<UiElementNode> mReadOnlyUiChildren;
139 * Creates a new {@link UiElementNode} described by a given {@link ElementDescriptor}.
143 public UiElementNode(ElementDescriptor elementDescriptor) {
159 * Clears the {@link UiElementNode} by resetting the children list and
163 * The parent {@link UiElementNode} node is not reset so that it's positio
    [all...]
UiTextValueNode.java 31 public UiTextValueNode(TextValueDescriptor attributeDescriptor, UiElementNode uiParent) {
52 UiElementNode parent = getUiParent();
84 UiElementNode parent = getUiParent();
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DocumentDescriptor.java 20 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
51 * @return A new {@link UiElementNode} linked to this descriptor.
54 public UiElementNode createUiNode() {
SeparatorAttributeDescriptor.java 20 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
42 public UiAttributeNode createUiNode(UiElementNode uiParent) {
TextValueDescriptor.java 20 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
47 public UiAttributeNode createUiNode(UiElementNode uiParent) {
EnumAttributeDescriptor.java 21 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
39 public UiAttributeNode createUiNode(UiElementNode uiParent) {
XmlnsAttributeDescriptor.java 23 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
74 public UiAttributeNode createUiNode(UiElementNode uiParent) {
AttributeDescriptor.java 23 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
110 * @param uiParent The {@link UiElementNode} parent of this UI attribute.
114 public abstract UiAttributeNode createUiNode(UiElementNode uiParent);
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
LayoutMetadataTest.java 29 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
49 Pair<IDocument, UiElementNode> pair = getNode("metadata.xml", "listView1");
50 UiElementNode uiNode = pair.getSecond();
75 private Pair<IDocument, UiElementNode> getNode(String filename, String targetId)
83 UiElementNode root = xmlEditor.getUiRootNode();
85 UiElementNode node = findById(root, targetId);
87 Pair<IDocument, UiElementNode> pair = Pair.<IDocument, UiElementNode>of(document, node);
91 private static UiElementNode findById(UiElementNode node, String targetId)
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/
UiElementNodeTest.java 23 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
40 private UiElementNode ui;
63 ui = new UiElementNode(mManifestDesc);
128 * UiElementNode.loadFrom should be used to populate an empty ui node from an
144 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator();
145 UiElementNode application = ui_child_it.next();
166 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator();
167 UiElementNode application = ui_child_it.next();
174 UiElementNode first_permission = ui_child_it.next();
211 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator()
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/descriptors/
PackageAttributeDescriptor.java 23 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
38 public UiAttributeNode createUiNode(UiElementNode uiParent) {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/values/descriptors/
ColorValueDescriptor.java 21 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
38 public UiAttributeNode createUiNode(UiElementNode uiParent) {
ItemElementDescriptor.java 21 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
52 public UiElementNode createUiNode() {
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
UiElementPullParser.java 44 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
64 * {@link ILayoutPullParser} implementation on top of {@link UiElementNode}.
68 * This pull parser generates {@link ViewInfo}s which key is a {@link UiElementNode}.
75 private final ArrayList<UiElementNode> mNodeStack = new ArrayList<UiElementNode>();
76 private UiElementNode mRoot;
100 private final Set<UiElementNode> mExplodeNodes;
107 * @param top The {@link UiElementNode} for the root node.
118 public UiElementPullParser(UiElementNode top, boolean explodeRendering,
119 Set<UiElementNode> explodeNodes
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
UiElementPart.java 25 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
35 * Generic page's section part that displays all attributes of a given {@link UiElementNode}.
38 * It is linked to a specific {@link UiElementNode} and automatically displays all of its
47 /** The {@link UiElementNode} manipulated by this SectionPart. It can be null. */
48 private UiElementNode mUiElementNode;
53 UiElementNode uiElementNode, String sectionTitle, String sectionDescription,
57 mUiElementNode = uiElementNode;
60 if (uiElementNode == null) {
76 * Returns the {@link UiElementNode} associated with this part
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/
CommonXmlDelegate.java 22 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode;
51 private UiElementNode mUiRootNode;
102 public UiElementNode getUiRootNode() {
106 protected void setUiRootNode(UiElementNode uiRootNode) {

Completed in 477 milliseconds

1 2 3 4