[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.modeling.gmf] GMF 2.2 - IllegalArgumentException: can't find ID print

When I enable printing in .gmfgen, the following lines are generated in XxxDiagramActionBarContributor.init:

public void init(IActionBars bars, IWorkbenchPage page) {
 super.init(bars, page);
 // print preview
 IMenuManager fileMenu = bars.getMenuManager().findMenuUsingPath(
     IWorkbenchActionConstants.M_FILE);
 assert fileMenu != null;
 IAction printPreviewAction = new RenderedPrintPreviewAction(
     new EnhancedPrintActionHelper());
 fileMenu.insertBefore("print", printPreviewAction); //$NON-NLS-1$
[...]

There does not seem to be a menu-item "print", so the last line results in an
java.lang.IllegalArgumentException: can't find ID print


Can anyone reproduce this with GMF 2.2?

Is it a known bug, or if not, which Component do I have to choose when I file a bugzilla?