new EnhancedPrintActionHelper());
fileMenu.insertBefore("print", printPreviewAction); //$NON-NLS-1$
IMenuManager editMenu = bars.getMenuManager().findMenuUsingPath(
IWorkbenchActionConstants.M_EDIT);
assert editMenu != null;
if (editMenu.find("validationGroup") == null) { //$NON-NLS-1$
editMenu.add(new GroupMarker("validationGroup")); //$NON-NLS-1$
}
IAction validateAction = new ValidateAction(page);
editMenu.appendToGroup("validationGroup", validateAction); //$NON-NLS-1$
}