Bug 315281 update copyrights for 3.6
tests/org.eclipse.ui.tests.harness/src/org/eclipse/ui/tests/harness/util/ActionUtil.java
action.run();
                    return;
                }
            }
        }
        Assert.fail("Unable to find action: " + label);
    }
    /**
     * Runs the first action found in a window with a
     * particular label. 
     * 
     * @param test the current test case
     * @param win the containing window
     * @param label the action label
     */
    public static void runActionWithLabel(TestCase test, IWorkbenchWindow win,
            String label) {
        ApplicationWindow realWin = (ApplicationWindow) win;
        IMenuManager mgr = realWin.getMenuBarManager();
        runActionWithLabel(test, mgr, label);
    }
    /**
     * Runs an action identified by an id path in a 
     * menu manager.
     * 
     * @param test the current test case
     * @param mgr the containing menu manager
     * @param label the action label
     */
    public static void runActionUsingPath(TestCase test, IMenuManager mgr,