GMF 2.2 - IllegalArgumentException: can't find ID print [message #232085] |
Wed, 03 June 2009 04:03  |
Eclipse User |
|
|
|
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?
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06632 seconds