/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/ |
D | UiModelTreeContentProvider.java | 20 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 37 private final UiElementNode mUiRootNode; 39 public UiModelTreeContentProvider(UiElementNode uiRootNode, in UiModelTreeContentProvider() 50 if (parentElement instanceof UiElementNode) { in getChildren() 51 UiElementNode node = (UiElementNode) parentElement; in getChildren() 62 if (element instanceof UiElementNode) { in getParent() 63 UiElementNode node = (UiElementNode) element; in getParent() 73 if (element instanceof UiElementNode) { in hasChildren() 74 UiElementNode node = (UiElementNode) element; in hasChildren() 92 ArrayList<UiElementNode> roots = new ArrayList<UiElementNode>(); in getElements() [all …]
|
D | UiActions.java | 24 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 46 abstract protected UiElementNode getRootNode(); in getRootNode() 57 abstract protected void selectUiNode(UiElementNode uiNode); in selectUiNode() 67 public void doAdd(UiElementNode uiNode, Shell shell) { in doAdd() 77 public void doAdd(UiElementNode uiNode, in doAdd() 81 UiElementNode rootNode = getRootNode(); in doAdd() 117 public UiElementNode addElement(UiElementNode uiParent, in addElement() 118 UiElementNode uiSibling, in addElement() 128 UiElementNode uiNew = addNewTreeElement(uiParent, uiSibling, descriptor, updateLayout); in addElement() 141 public void doRemove(final List<UiElementNode> nodes, Shell shell) { in doRemove() [all …]
|
D | UiModelTreeLabelProvider.java | 22 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 46 UiElementNode node = null; in getImage() 50 } else if (element instanceof UiElementNode) { in getImage() 51 node = (UiElementNode) element; in getImage() 77 } else if (element instanceof UiElementNode) { in getText() 78 UiElementNode node = (UiElementNode) element; in getText()
|
D | UiTreeBlock.java | 27 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 96 private UiElementNode mUiRootNode; 158 UiElementNode uiRootNode, in UiTreeBlock() 193 public UiElementNode getRootNode() { in getRootNode() 277 public void uiElementNodeUpdated(UiElementNode ui_node, UiUpdateState state) { in createTreeViewer() 284 public void uiElementNodeUpdated(UiElementNode ui_node, UiUpdateState state) { in createTreeViewer() 345 UiElementNode node = mUiRootNode.getUiParent() != null ? in createTreeViewer() 382 public void changeRootAndDescriptors(UiElementNode uiRootNode, in changeRootAndDescriptors() 384 UiElementNode node; in changeRootAndDescriptors() 497 ArrayList<UiElementNode> selected = filterSelection((ITreeSelection) selection); in createTreeContextMenu() [all …]
|
D | CopyCutAction.java | 21 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 51 private List<UiElementNode> mUiNodes; 64 UiElementNode selected, boolean performCut) { in CopyCutAction() 76 List<UiElementNode> selected, boolean performCut) { in CopyCutAction() 118 ArrayList<UiElementNode> nodesToCut = mPerformCut ? new ArrayList<UiElementNode>() : null; in run() 120 for (UiElementNode uiNode : mUiNodes) { in run() 155 for (UiElementNode uiNode : nodesToCut) { in run() 212 private static ArrayList<UiElementNode> toList(UiElementNode selected) { in toList() 213 ArrayList<UiElementNode> list = null; in toList() 215 list = new ArrayList<UiElementNode>(1); in toList()
|
D | 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; 88 UiElementNode ui_node, in NewItemSelectionDialog() 89 UiElementNode root_node) { in NewItemSelectionDialog() 100 UiElementNode parent = ui_node.getUiParent(); in NewItemSelectionDialog() 158 private String getLeafFileName(UiElementNode ui_node) { in getLeafFileName() 182 private String getLastUsedXmlName(UiElementNode ui_node) { in getLastUsedXmlName() 219 private String getMostUsedXmlName(UiElementNode ui_node) { in getMostUsedXmlName() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/ |
D | UiDocumentNode.java | 34 public class UiDocumentNode extends UiElementNode { 74 protected void setUiParent(UiElementNode parent) { in setUiParent() 144 public static List<UiElementNode> getAllElements(UiDocumentNode document) { in getAllElements() 145 List<UiElementNode> elements = new ArrayList<UiElementNode>(64); in getAllElements() 146 for (UiElementNode child : document.getUiChildren()) { in getAllElements() 152 private static void addElements(UiElementNode node, List<UiElementNode> elements) { in addElements() 155 for (UiElementNode child : node.getUiChildren()) { in addElements()
|
D | UiElementNode.java | 91 public class UiElementNode implements IPropertySource { class 102 private UiElementNode mUiParent; 114 private ArrayList<UiElementNode> mUiChildren; 124 private List<UiElementNode> mReadOnlyUiChildren; 143 public UiElementNode(ElementDescriptor elementDescriptor) { in UiElementNode() method in UiElementNode 173 mUiChildren = new ArrayList<UiElementNode>(); in clearContent() 366 for (UiElementNode uiNode = getUiParent(); in getBreadcrumbTrailDescription() 473 protected void setUiParent(UiElementNode parent) { in setUiParent() 482 public UiElementNode getUiParent() { in getUiParent() 491 public UiElementNode getUiRoot() { in getUiRoot() [all …]
|
D | UiAttributeNode.java | 39 private UiElementNode mUiParent; 45 public UiAttributeNode(AttributeDescriptor attributeDescriptor, UiElementNode uiParent) { in UiAttributeNode() 56 public final UiElementNode getUiParent() { in getUiParent()
|
D | UiTextValueNode.java | 31 public UiTextValueNode(TextValueDescriptor attributeDescriptor, UiElementNode uiParent) { in UiTextValueNode() 52 UiElementNode parent = getUiParent(); in updateValue() 84 UiElementNode parent = getUiParent(); in commit()
|
D | UiListAttributeNode.java | 55 UiElementNode uiParent) { in UiListAttributeNode() 135 UiElementNode uiParent = getUiParent(); in getPossibleValues() 159 UiElementNode uiNode = getUiParent(); in getPossibleValues() 166 UiElementNode grandParentNode = uiParent.getUiParent(); in getPossibleValues() 170 UiElementNode greatGrandParentNode = grandParentNode.getUiParent(); in getPossibleValues()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
D | LayoutMetadataTest.java | 29 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 49 Pair<IDocument, UiElementNode> pair = getNode("metadata.xml", "listView1"); in testMetadata1() 50 UiElementNode uiNode = pair.getSecond(); in testMetadata1() 75 private Pair<IDocument, UiElementNode> getNode(String filename, String targetId) in getNode() 83 UiElementNode root = xmlEditor.getUiRootNode(); in getNode() 85 UiElementNode node = findById(root, targetId); in getNode() 87 Pair<IDocument, UiElementNode> pair = Pair.<IDocument, UiElementNode>of(document, node); in getNode() 91 private static UiElementNode findById(UiElementNode node, String targetId) { in findById() 100 for (UiElementNode child : node.getUiChildren()) { in findById() 101 UiElementNode result = findById(child, targetId); in findById()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
D | UiElementNodeTest.java | 23 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 40 private UiElementNode ui; 63 ui = new UiElementNode(mManifestDesc); in setUp() 144 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator(); in testLoadFrom_NewTree_1_Node() 145 UiElementNode application = ui_child_it.next(); in testLoadFrom_NewTree_1_Node() 166 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator(); in testLoadFrom_NewTree_2_Nodes() 167 UiElementNode application = ui_child_it.next(); in testLoadFrom_NewTree_2_Nodes() 174 UiElementNode first_permission = ui_child_it.next(); in testLoadFrom_NewTree_2_Nodes() 211 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator(); in testLoadFrom_NewTree_N_Nodes() 212 UiElementNode application = ui_child_it.next(); in testLoadFrom_NewTree_N_Nodes() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/ |
D | UiElementPullParser.java | 44 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 75 private final ArrayList<UiElementNode> mNodeStack = new ArrayList<UiElementNode>(); 76 private UiElementNode mRoot; 100 private final Set<UiElementNode> mExplodeNodes; 118 public UiElementPullParser(UiElementNode top, boolean explodeRendering, in UiElementPullParser() 119 Set<UiElementNode> explodeNodes, in UiElementPullParser() 135 protected UiElementNode getCurrentNode() { in getCurrentNode() 149 UiElementNode uiNode = getCurrentNode(); in getAttribute() 161 private void push(UiElementNode node) { in push() 184 private UiElementNode pop() { in pop() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
D | ManifestEditor.java | 35 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 74 private UiElementNode mUiManifestNode; 134 public UiElementNode getUiRootNode() { in getUiRootNode() 352 UiElementNode appUiNode = mUiManifestNode.findUiChildNode( in updateFromExistingMarkers() 354 List<UiElementNode> children = appUiNode.getUiChildren(); in updateFromExistingMarkers() 374 UiElementNode app_ui_node = mUiManifestNode.findUiChildNode( in processMarkerChanges() 376 List<UiElementNode> children = app_ui_node.getUiChildren(); in processMarkerChanges() 391 private void processMarker(IMarker marker, List<UiElementNode> nodeList, int kind) { in processMarker() 403 for (UiElementNode ui_node : nodeList) { in processMarker() 444 for (UiElementNode ui_node : mUiManifestNode.getUiChildren()) { in initUiRootNode() [all …]
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/ |
D | UiElementPart.java | 25 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 48 private UiElementNode mUiElementNode; 53 UiElementNode uiElementNode, String sectionTitle, String sectionDescription, in UiElementPart() 78 public UiElementNode getUiElementNode() { in getUiElementNode() 87 public void setUiElementNode(UiElementNode uiElementNode) { in setUiElementNode() 204 …protected int insertUiAttributes(UiElementNode uiNode, Composite table, IManagedForm managedForm) { in insertUiAttributes()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/pages/ |
D | ApplicationAttributesPart.java | 26 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 49 UiElementNode applicationUiNode) { in ApplicationAttributesPart() 60 public void setUiElementNode(UiElementNode uiElementNode) { in setUiElementNode() 108 UiElementNode uiElementNode = getUiElementNode(); in createUiAttributes() 160 public void uiElementNodeUpdated(UiElementNode ui_node, UiUpdateState state) { in uiElementNodeUpdated()
|
D | ApplicationPage.java | 26 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 82 UiElementNode appUiNode = getUiApplicationNode(); in createFormContent() 108 private UiElementNode getUiApplicationNode() { in getUiApplicationNode() 123 UiElementNode appUiNode = getUiApplicationNode(); in refreshUiApplicationNode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/common/ |
D | CommonXmlDelegate.java | 22 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 51 private UiElementNode mUiRootNode; 102 public UiElementNode getUiRootNode() { in getUiRootNode() 106 protected void setUiRootNode(UiElementNode uiRootNode) { in setUiRootNode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/ |
D | DocumentDescriptor.java | 20 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 54 public UiElementNode createUiNode() { in createUiNode()
|
D | SeparatorAttributeDescriptor.java | 20 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 42 public UiAttributeNode createUiNode(UiElementNode uiParent) { in createUiNode()
|
D | TextValueDescriptor.java | 20 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 47 public UiAttributeNode createUiNode(UiElementNode uiParent) { in createUiNode()
|
D | EnumAttributeDescriptor.java | 21 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 39 public UiAttributeNode createUiNode(UiElementNode uiParent) { in createUiNode()
|
D | XmlnsAttributeDescriptor.java | 23 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 74 public UiAttributeNode createUiNode(UiElementNode uiParent) { in createUiNode()
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/ |
D | NodeProxy.java | 41 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 160 UiElementNode p = mNode.getUiRoot(); in getRoot() 164 List<UiElementNode> children = p.getUiChildren(); in getRoot() 189 UiElementNode p = mNode.getUiParent(); in getParent() 201 List<UiElementNode> uiChildren = mNode.getUiChildren(); in getChildren() 203 for (UiElementNode uiChild : uiChildren) { in getChildren() 284 final UiElementNode uiNew; in insertOrAppend() 362 UiElementNode uiNode = mNode; in getStringAttr() 395 UiElementNode uiNode = mNode; in getAttributeInfo() 440 UiElementNode uiNode = mNode; in getLiveAttributes()
|