Home
last modified time | relevance | path

Searched refs:contextMenu (Results 1 – 2 of 2) sorted by relevance

/sdk/eclipse/plugins/com.android.ide.eclipse.tests/unittests/com/android/ide/common/layout/
DLinearLayoutRuleTest.java131 List<RuleAction> contextMenu = new ArrayList<RuleAction>(); in testContextMenu() local
132 rule.addContextMenuActions(contextMenu, node); in testContextMenu()
133 assertEquals(6, contextMenu.size()); in testContextMenu()
134 assertEquals("Edit ID...", contextMenu.get(0).getTitle()); in testContextMenu()
135 assertTrue(contextMenu.get(1) instanceof RuleAction.Separator); in testContextMenu()
136 assertEquals("Layout Width", contextMenu.get(2).getTitle()); in testContextMenu()
137 assertEquals("Layout Height", contextMenu.get(3).getTitle()); in testContextMenu()
138 assertTrue(contextMenu.get(4) instanceof RuleAction.Separator); in testContextMenu()
139 assertEquals("Other Properties", contextMenu.get(5).getTitle()); in testContextMenu()
141 RuleAction propertiesMenu = contextMenu.get(5); in testContextMenu()
[all …]
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/ui/tree/
DUiTreeBlock.java504 Menu contextMenu = menuManager.createContextMenu(tree); in createTreeContextMenu() local
505 tree.setMenu(contextMenu); in createTreeContextMenu()