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

Hello Peter,

Ok. To correct this problem open generated DiagramEditorActionBarAdvisor and modify fillMenuBar(IMenuManager menu) method:

in first block (File menu creation) add following code:

menuX.add(getAction(ActionFactory.SAVE_ALL.getId()));
/*++ added*/
menuX.add(new Separator());
menuX.add(getAction(ActionFactory.PRINT.getId()));
/*-- added*/
menuX.add(new Separator());

Can you pleaase file a bugzilla request for me describing this problem - I'll correct it in next bugfix release.

-----------------
Alex Shatalin