[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
|
- From: peter_l@xxxxxx (Peter Lang)
- Date: Wed, 3 Jun 2009 08:03:35 +0000 (UTC)
- Newsgroups: eclipse.modeling.gmf
- Organization: Eclipse
- User-agent: NewsPortal/0.36 (http://florian-amrhein.de/newsportal)
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?