Searched refs:contextMenu (Results 1 – 2 of 2) sorted by relevance
131 List<RuleAction> contextMenu = new ArrayList<RuleAction>(); in testContextMenu() local132 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 …]
504 Menu contextMenu = menuManager.createContextMenu(tree); in createTreeContextMenu() local505 tree.setMenu(contextMenu); in createTreeContextMenu()