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?]]>Peter Lang2009-06-03T08:03:35-00:00Re: GMF 2.2 - IllegalArgumentException: can't find ID print
https://www.eclipse.org/forums/index.php/mv/msg/74259/232193/#msg_232193
I cannot reptoduce this problem with current state of GMF 2.2:
-----------------
Alex Shatalin]]>Alexander Shatalin2009-06-03T12:16:46-00:00Re: GMF 2.2 - IllegalArgumentException: can't find ID print
https://www.eclipse.org/forums/index.php/mv/msg/74259/232211/#msg_232211
Do you have a print and a printPreview menu-item then?
I'm using Eclipse Galileo RC2 with GMF 2.2.0 RC2 (Build 200905272029).
Regards, Peter
Alex Shatalin schrieb:
> Hello Peter,
>
> I cannot reptoduce this problem with current state of GMF 2.2:
>
> fileMenu.insertBefore("print", printPreviewAction); //$NON-NLS-1$
> was executed without any exceptions.
>
> -----------------
> Alex Shatalin
>
>]]>Peter Lang2009-06-03T12:49:54-00:00Re: GMF 2.2 - IllegalArgumentException: can't find ID print
https://www.eclipse.org/forums/index.php/mv/msg/74259/232228/#msg_232228
Could you try this please?
Thanks!
Peter Lang schrieb:
> Thanks Alex.
>
> Do you have a print and a printPreview menu-item then?
> I'm using Eclipse Galileo RC2 with GMF 2.2.0 RC2 (Build 200905272029).
>
> Regards, Peter
>
>
> Alex Shatalin schrieb:
>> Hello Peter,
>>
>> I cannot reptoduce this problem with current state of GMF 2.2:
>>
>> fileMenu.insertBefore("print", printPreviewAction); //$NON-NLS-1$
>> was executed without any exceptions.
>>
>> -----------------
>> Alex Shatalin
>>
>>]]>Peter Lang2009-06-03T13:04:00-00:00Re: GMF 2.2 - IllegalArgumentException: can't find ID print
https://www.eclipse.org/forums/index.php/mv/msg/74259/232244/#msg_232244
> Ah, I guess it's because I'm using RCP with required plug-ins only.
Yes, this can be a reason. I do not have RCP platform set up on my computer,
but I think some plugins are missing in your configuration - it looks natural
to have File/Print action available if you are going to use GMF-generated
printing functionality...
BTW, do you have org.eclipse.gmf.runtime.diagram.ui.providers plugin in RCP
plugins set?
-----------------
Alex Shatalin]]>Alexander Shatalin2009-06-03T14:23:41-00:00Re: GMF 2.2 - IllegalArgumentException: can't find ID print
https://www.eclipse.org/forums/index.php/mv/msg/74259/232355/#msg_232355
org.eclipse.gmf.runtime.diagram.ui.providers
is under Require-Bundle in my MANIFEST.MF
Even if choose "all workspace and enabled target plug-ins" in my Run
Configuration, the "print"-item is not there.
I'm quite new to eclipse, any hints on how to proceed?]]>Peter Lang2009-06-04T11:57:35-00:00Re: GMF 2.2 - IllegalArgumentException: can't find ID print
https://www.eclipse.org/forums/index.php/mv/msg/74259/232445/#msg_232445
> I'm quite new to eclipse, any hints on how to proceed?
Strange - in this case you should have exactly the same configuration as
I have here and I cannot reproduce this problem...
M.b. you have some problems with the installation of eclipse? Can you see
"print" action enabled in File menu then generated diagram editor is open?
-----------------
Alex Shatalin]]>Alexander Shatalin2009-06-04T15:59:59-00:00Re: GMF 2.2 - IllegalArgumentException: can't find ID print
https://www.eclipse.org/forums/index.php/mv/msg/74259/232453/#msg_232453
I did not encounter any other problems with my eclipse installation, its
Galileo Modeling RC2.
In non-RCP it works fine, the "Print..." item is shown. As I said, the
problem is with RCP application, where the "Print..." item seems to be
missing for some reason.
Regards, Peter
> Strange - in this case you should have exactly the same configuration as
> I have here and I cannot reproduce this problem...
> M.b. you have some problems with the installation of eclipse? Can you see
> "print" action enabled in File menu then generated diagram editor is open?]]>Peter Lang2009-06-04T16:14:22-00:00Re: GMF 2.2 - IllegalArgumentException: can't find ID print
https://www.eclipse.org/forums/index.php/mv/msg/74259/232706/#msg_232706
Ok. To correct this problem open generated DiagramEditorActionBarAdvisor
and modify fillMenuBar(IMenuManager menu) method:
in first block (File menu creation) add following code:
Can you pleaase file a bugzilla request for me describing this problem -
I'll correct it in next bugfix release.
-----------------
Alex Shatalin]]>Alexander Shatalin2009-06-05T13:06:01-00:00Re: GMF 2.2 - IllegalArgumentException: can't find ID print
https://www.eclipse.org/forums/index.php/mv/msg/74259/232917/#msg_232917
Filed as https://bugs.eclipse.org/279445
Hope I got it right, not that experienced in bugzilla-Component-guessing ;)]]>Peter Lang2009-06-08T11:42:21-00:00Re: GMF 2.2 - IllegalArgumentException: can't find ID print
https://www.eclipse.org/forums/index.php/mv/msg/74259/713334/#msg_713334
When I try to open GMF Editor from menu for the 1st time, I see this error
"llegalArgumentException: can't find ID print"
When I open it for 2nd time, I could open.
Can you please tell why I am not able to open it for 1st time.