/** Special case for OSX tab selection from popup menu. */
protected Step createMenuSelection(Component menuItem) {
ComponentReference ref = getResolver().addComponent(tabbedPane);
ComponentLocation loc =
new JTabbedPaneLocation(((JMenuItem)menuItem).getText());
Step step = new Action(getResolver(),
null, "actionSelectTab",
new String[] {
ref.getID(), loc.toString(),
});
return step;
}