/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, 49 if (parentElement instanceof UiElementNode) { 50 UiElementNode node = (UiElementNode) parentElement; 60 if (element instanceof UiElementNode) { 61 UiElementNode node = (UiElementNode) element [all...] |
UiActions.java | 24 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 46 abstract protected UiElementNode getRootNode(); 56 abstract protected void selectUiNode(UiElementNode uiNode); 66 public void doAdd(UiElementNode uiNode, Shell shell) { 76 public void doAdd(UiElementNode uiNode, 80 UiElementNode rootNode = getRootNode(); 100 * {@link UiElementNode}, and then select it. 114 * @return The new {@link UiElementNode} or null. 116 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 45 UiElementNode node = null; 49 } else if (element instanceof UiElementNode) { 50 node = (UiElementNode) element; 70 * Uses UiElementNode.shortDescription for the label for this tree item. 76 } else if (element instanceof UiElementNode) { 77 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; 55 private UiElementNode mSelectedUiNode; 58 private UiElementNode mChosenRootNode; 59 private UiElementNode mLocalRootNode; 65 * by {@link #getLastUsedXmlName(UiElementNode)}, called from the constructor. */ 71 * in the constructor and set by {@link #setInitialSelection(UiElementNode)}. */ 85 UiElementNode ui_node, 86 UiElementNode root_node) { 97 UiElementNode parent = ui_node.getUiParent(); 154 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() { 275 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/ |
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; 45 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);
|
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/manifest/model/ |
UiElementNodeTest.java | 25 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 41 private UiElementNode ui; 64 ui = new UiElementNode(mManifestDesc); 129 * UiElementNode.loadFrom should be used to populate an empty ui node from an 145 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator(); 146 UiElementNode application = ui_child_it.next(); 167 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator(); 168 UiElementNode application = ui_child_it.next(); 175 UiElementNode first_permission = ui_child_it.next(); 212 Iterator<UiElementNode> ui_child_it = ui.getUiChildren().iterator() [all...] |
/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; 39 public UiAttributeNode createUiNode(UiElementNode uiParent) {
|
ApplicationAttributeDescriptor.java | 25 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 57 public UiAttributeNode createUiNode(UiElementNode uiParent) {
|
ManifestElementDescriptor.java | 22 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 117 * @return A new {@link UiElementNode} linked to this descriptor. 120 public UiElementNode createUiNode() {
|
ManifestPkgAttrDescriptor.java | 25 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 54 public UiAttributeNode createUiNode(UiElementNode uiParent) {
|
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/resources/descriptors/ |
ColorValueDescriptor.java | 22 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 38 public UiAttributeNode createUiNode(UiElementNode uiParent) {
|
ItemElementDescriptor.java | 22 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 | 34 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 55 * {@link ILayoutPullParser} implementation on top of {@link UiElementNode}. 59 * This pull parser generates {@link ViewInfo}s which key is a {@link UiElementNode}. 66 private final ArrayList<UiElementNode> mNodeStack = new ArrayList<UiElementNode>(); 67 private UiElementNode mRoot; 92 private final Set<UiElementNode> mExplodeNodes; 99 * @param top The {@link UiElementNode} for the root node. 111 public UiElementPullParser(UiElementNode top, boolean explodeRendering, 112 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/manifest/ |
ManifestEditor.java | 29 import com.android.ide.eclipse.adt.internal.editors.uimodel.UiElementNode; 65 private UiElementNode mUiManifestNode; 97 public UiElementNode getUiRootNode() { 256 * {@link UiElementNode}s and {@link UiAttributeNode}s. 270 UiElementNode appUiNode = mUiManifestNode.findUiChildNode( 272 List<UiElementNode> children = appUiNode.getUiChildren(); 292 UiElementNode app_ui_node = mUiManifestNode.findUiChildNode( 294 List<UiElementNode> children = app_ui_node.getUiChildren(); 309 private void processMarker(IMarker marker, List<UiElementNode> nodeList, int kind) { 321 for (UiElementNode ui_node : nodeList) [all...] |