Home
last modified time | relevance | path

Searched refs:uiNode (Results 1 – 25 of 25) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiActions.java57 abstract protected void selectUiNode(UiElementNode uiNode); in selectUiNode() argument
67 public void doAdd(UiElementNode uiNode, Shell shell) { in doAdd() argument
68 doAdd(uiNode, null /* descriptorFilters */, shell, new UiModelTreeLabelProvider()); in doAdd()
77 public void doAdd(UiElementNode uiNode, in doAdd() argument
90 uiNode, rootNode); in doAdd()
208 UiElementNode uiNode = uiLastNode[0] = uiNodes.get(i); in doUp()
210 uiNode, in doUp()
269 UiElementNode uiNode, in doUpInternal() argument
275 outUiSearchRoot[0] = uiNode.getUiParent(); in doUpInternal()
279 Node xmlNode = uiNode.getXmlNode(); in doUpInternal()
[all …]
DCopyCutAction.java120 for (UiElementNode uiNode : mUiNodes) { in run()
122 Node xml_node = uiNode.getXmlNode(); in run()
140 nodesToCut.add(uiNode); in run()
146 uiNode.getBreadcrumbTrailDescription(true)); in run()
155 for (UiElementNode uiNode : nodesToCut) { in run()
156 uiNode.deleteXmlNode(); in run()
DUiTreeBlock.java519 for (UiElementNode uiNode : selected) { in doCreateMenuAction()
520 if (uiNode.getXmlNode() != null) { in doCreateMenuAction()
935 UiElementNode uiNode = (UiElementNode)element; in select() local
936 if (uiNode.getDescriptor() == mDescriptor) { in select()
939 element = uiNode.getUiParent(); in select()
DUiElementDetail.java349 public void uiElementNodeUpdated(UiElementNode uiNode, UiUpdateState state) { in createUiAttributeControls()
351 updateUnknownAttributesSection(uiNode, unknownTable, managedForm, in createUiAttributeControls()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DNodeFactory.java57 public NodeProxy create(UiViewElementNode uiNode) { in create() argument
58 return create(uiNode, null /*bounds*/); in create()
71 private NodeProxy create(UiViewElementNode uiNode, Rectangle bounds) { in create() argument
72 NodeProxy proxy = mNodeMap.get(uiNode); in create()
76 proxy = new NodeProxy(uiNode, bounds, this); in create()
77 mNodeMap.put(uiNode, proxy); in create()
DNodeProxy.java81 /*package*/ NodeProxy(UiViewElementNode uiNode, Rectangle bounds, NodeFactory factory) { in NodeProxy() argument
82 mNode = uiNode; in NodeProxy()
362 UiElementNode uiNode = mNode; in getStringAttr() local
378 if (uiNode.getXmlNode() != null) { in getStringAttr()
379 Node xmlNode = uiNode.getXmlNode(); in getStringAttr()
395 UiElementNode uiNode = mNode; in getAttributeInfo() local
401 for (AttributeDescriptor desc : uiNode.getAttributeDescriptors()) { in getAttributeInfo()
440 UiElementNode uiNode = mNode; in getLiveAttributes() local
442 if (uiNode.getXmlNode() != null) { in getLiveAttributes()
443 Node xmlNode = uiNode.getXmlNode(); in getLiveAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/uimodel/
DUiElementNode.java207 UiAttributeNode uiNode = desc.createUiNode(this); in getInternalUiAttributes() local
208 if (uiNode != null) { // Some AttributeDescriptors do not have UI associated in getInternalUiAttributes()
209 mUiAttributes.put(desc, uiNode); in getInternalUiAttributes()
366 for (UiElementNode uiNode = getUiParent(); in getBreadcrumbTrailDescription()
367 uiNode != null; in getBreadcrumbTrailDescription()
368 uiNode = uiNode.getUiParent()) { in getBreadcrumbTrailDescription()
369 if (!includeRoot && uiNode.getUiParent() == null) { in getBreadcrumbTrailDescription()
372 sb.insert(0, String.format("%1$s > ", uiNode.getShortDescription())); //$NON-NLS-1$ in getBreadcrumbTrailDescription()
767 UiElementNode uiNode = this; in findUiChildNode() local
770 for (UiElementNode c : uiNode.mUiChildren) { in findUiChildNode()
[all …]
DUiListAttributeNode.java159 UiElementNode uiNode = getUiParent(); in getPossibleValues() local
160 AndroidXmlEditor editor = uiNode.getEditor(); in getPossibleValues()
DUiFlagAttributeNode.java145 UiElementNode uiNode = getUiParent(); in getPossibleValues() local
146 AndroidXmlEditor editor = uiNode.getEditor(); in getPossibleValues()
DUiResourceAttributeNode.java158 UiElementNode uiNode = getUiParent(); in showDialog() local
159 AndroidXmlEditor editor = uiNode.getEditor(); in showDialog()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/
DUiElementPart.java204 …protected int insertUiAttributes(UiElementNode uiNode, Composite table, IManagedForm managedForm) { in insertUiAttributes() argument
205 if (uiNode == null || table == null || managedForm == null) { in insertUiAttributes()
212 AttributeDescriptor[] attr_desc_list = uiNode.getAttributeDescriptors(); in insertUiAttributes()
219 UiAttributeNode ui_attr = uiNode.findUiAttribute(attr_desc); in insertUiAttributes()
228 uiNode.getDescriptor().getXmlName()); in insertUiAttributes()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/eclipse/adt/internal/editors/layout/gre/
DMockNodeProxy.java64 UiViewElementNode uiNode = new UiViewElementNode(desc); in makeUiViewNode() local
65 return uiNode; in makeUiViewNode()
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DLayoutMetadataTest.java50 UiElementNode uiNode = pair.getSecond(); in testMetadata1() local
51 Node node = uiNode.getXmlNode(); in testMetadata1()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/
DUiElementPullParser.java149 UiElementNode uiNode = getCurrentNode(); in getAttribute() local
152 Node xmlNode = uiNode.getXmlNode(); in getAttribute()
361 UiElementNode uiNode = getCurrentNode(); in getAttributeValue() local
364 Node xmlNode = uiNode.getXmlNode(); in getAttributeValue()
DProjectCallback.java612 UiViewElementNode uiNode = (UiViewElementNode) adapterCookie; in getAdapterBinding() local
613 AdapterBinding binding = LayoutMetadata.getNodeBinding(viewObject, uiNode); in getAdapterBinding()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/manifest/model/
DUiPackageAttributeNode.java246 UiElementNode uiNode = getUiParent(); in getProject() local
247 AndroidXmlEditor editor = uiNode.getEditor(); in getProject()
DUiClassAttributeNode.java440 UiElementNode uiNode = getUiParent();
441 AndroidXmlEditor editor = uiNode.getEditor();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/
DMoveGesture.java419 for (UiElementNode uiNode : added) { in drop()
420 if (uiNode instanceof UiViewElementNode) { in drop()
421 NodeProxy node = nodeFactory.create((UiViewElementNode) uiNode); in drop()
DCanvasViewInfo.java513 UiViewElementNode uiNode = getUiViewNode(); in toSimpleElement() local
515 String fqcn = SimpleXmlTransfer.getFqcn(uiNode.getDescriptor()); in toSimpleElement()
520 UiElementNode uiParent = uiNode.getUiParent(); in toSimpleElement()
530 for (UiAttributeNode attr : uiNode.getAllUiAttributes()) { in toSimpleElement()
DLayoutMetadata.java329 @NonNull UiViewElementNode uiNode) { in getNodeBinding() argument
330 Node xmlNode = uiNode.getXmlNode(); in getNodeBinding()
DRenderService.java643 UiViewElementNode uiNode = (UiViewElementNode) info.getCookie(); in measureChildren() local
644 NodeProxy node = mNodeFactory.create(uiNode); in measureChildren()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/
DExtractIncludeRefactoring.java159 UiViewElementNode uiNode = infos.get(0).getUiViewNode(); in checkInitialConditions() local
160 if (uiNode != null) { in checkInitialConditions()
161 Node xmlNode = uiNode.getXmlNode(); in checkInitialConditions()
DVisualRefactoring.java201 UiViewElementNode uiNode = viewInfo.getUiViewNode(); in VisualRefactoring() local
202 if (uiNode == null) { in VisualRefactoring()
205 Node xmlNode = uiNode.getXmlNode(); in VisualRefactoring()
674 UiViewElementNode uiNode = viewInfo.getUiViewNode(); in initElements() local
675 if (uiNode == null) { in initElements()
678 Node xmlNode = uiNode.getXmlNode(); in initElements()
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/
DAdtUtils.java788 final UiElementNode uiNode = rootUiNode.findXmlNode(element);
789 if (uiNode != null) {
790 editor.scheduleNodeReformat(uiNode, true /*attributesOnly*/);
799 Node xmlNode = uiNode.getXmlNode();
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
DDescriptorsUtils.java805 public static String getFreeWidgetId(UiElementNode uiNode) {
806 String name = getBasename(uiNode.getDescriptor().getXmlLocalName());
807 return getFreeWidgetId(uiNode.getUiRoot(), name);