/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; 71 * Uses UiElementNode.shortDescription for the label for this tree item. 78 } else if (element instanceof UiElementNode) { 79 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; 56 private UiElementNode mSelectedUiNode; 59 private UiElementNode mChosenRootNode; 60 private UiElementNode mLocalRootNode; 66 * by {@link #getLastUsedXmlName(UiElementNode)}, called from the constructor. */ 72 * in the constructor and set by {@link #setInitialSelection(UiElementNode)}. */ 86 UiElementNode ui_node, 87 UiElementNode root_node) { 98 UiElementNode parent = ui_node.getUiParent(); 156 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);
|
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 | 20 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 84 public UiAttributeNode createUiNode(UiElementNode uiParent) {
|
AttributeDescriptor.java | 22 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);
|
FlagAttributeDescriptor.java | 22 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 81 public UiAttributeNode createUiNode(UiElementNode uiParent) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
LayoutMetadataTest.java | 27 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 41 Pair<IDocument, UiElementNode> pair = getNode("metadata.xml", "listView1"); 43 UiElementNode uiNode = pair.getSecond(); 126 Pair<IDocument, UiElementNode> pair = getNode("metadata.xml", "button1"); 128 UiElementNode uiNode = pair.getSecond(); 157 private Pair<IDocument, UiElementNode> getNode(String filename, String targetId) 165 UiElementNode root = xmlEditor.getUiRootNode(); 167 UiElementNode node = findById(root, targetId); 169 Pair<IDocument, UiElementNode> pair = Pair.<IDocument, UiElementNode>of(document, node) [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.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiElementNodeTest.java | 26 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 43 private UiElementNode ui; 66 ui = new UiElementNode(mManifestDesc); 131 * UiElementNode.loadFrom should be used to populate an empty ui node from an 147 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator(); 148 UiElementNode application = ui_child_it.next(); 169 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator(); 170 UiElementNode application = ui_child_it.next(); 177 UiElementNode first_permission = ui_child_it.next(); 214 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/layout/ |
UiElementPullParser.java | 36 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 57 * {@link ILayoutPullParser} implementation on top of {@link UiElementNode}. 61 * This pull parser generates {@link ViewInfo}s which key is a {@link UiElementNode}. 68 private final ArrayList<UiElementNode> mNodeStack = new ArrayList<UiElementNode>(); 69 private UiElementNode mRoot; 94 private final Set<UiElementNode> mExplodeNodes; 101 * @param top The {@link UiElementNode} for the root node. 113 public UiElementPullParser(UiElementNode top, boolean explodeRendering, 114 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 | 21 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 50 private UiElementNode mUiRootNode; 101 public UiElementNode getUiRootNode() { 105 protected void setUiRootNode(UiElementNode uiRootNode) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/ |
ManifestEditor.java | 34 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 70 private UiElementNode mUiManifestNode; 103 public UiElementNode getUiRootNode() { 263 * {@link UiElementNode}s and {@link UiAttributeNode}s. 277 UiElementNode appUiNode = mUiManifestNode.findUiChildNode( 279 List<UiElementNode> children = appUiNode.getUiChildren(); 299 UiElementNode app_ui_node = mUiManifestNode.findUiChildNode( 301 List<UiElementNode> children = app_ui_node.getUiChildren(); 316 private void processMarker(IMarker marker, List<UiElementNode> nodeList, int kind) { 328 for (UiElementNode ui_node : nodeList) [all...] |