Skip to content
mlabuda edited this page Feb 17, 2014 · 14 revisions

API / Abstract

  • Menu / AbstractMenu

Implementation(s)

  • ContextMenu
  • ShellMenu
  • ToolBarMenu

Usage

ContextMenu

Open context menu Open in New Window

Menu contextMenu = new ContextMenu("Open in New Window");
contextMenu.select();

ShellMenu

Open shell (or workbench) menu Window -> Preferences

Menu shellMenu = new ShellMenu("Window", "Preferences");
shellMenu.select();

ToolbarMenu

  • Note: There is not support for nested toolbar menus yet

Trigger Toolbar Search -> File Search

Menu toolbarMenu = new ToolbarMenu("Search","File Search");
toolbarMenu.select();
Clone this wiki locally