Skip to main content



      Home
Home » Modeling » GMF (Graphical Modeling Framework) » Copy paste working with GMF 2.2.0 not working with GMF2.2.2(Element Copy paste working with GMF 2.0 not working with GMF2.2)
Copy paste working with GMF 2.2.0 not working with GMF2.2.2 [message #518821] Fri, 05 March 2010 03:12 Go to next message
Eclipse UserFriend
Hi,

In genmodel file I changed resource type to XMI and element copy paste was working for me with GMF 2.2.0. Now I downloaded GMF 2.2.2 using update site. Element copy paste doesn't work at all now. Then on a fresh eclipse instance with some of my application I installed GMF 2.2.0 using update site. My application has dependency on gmf 2.2.0. But now even using GMF 2.2.0 element copy paste doesn't work. This is really strange for me that with GMF 2.2.0 for same application element copy paste was working earlier but not now. Can some one please tell me is their any changes in gmf API's or how to resolve this problem?

Thanks in advance
Best regards,
Vikas
Re: Copy paste working with GMF 2.2.0 not working with GMF2.2.2 [message #518834 is a reply to message #518821] Fri, 05 March 2010 04:06 Go to previous messageGo to next message
Eclipse UserFriend
Vikas,

I'm not sure but GMF might be relying on the resource to assign and
maintain IDs. I'd check to see which resource implementation is used to
load your model in each of the two cases.


Vikas Goyal wrote:
> Hi,
>
> In genmodel file I changed resource type to XMI and element copy paste
> was working for me with GMF 2.2.0. Now I downloaded GMF 2.2.2 using
> update site. Element copy paste doesn't work at all now. Then on a
> fresh eclipse instance with some of my application I installed GMF
> 2.2.0 using update site. My application has dependency on gmf 2.2.0.
> But now even using GMF 2.2.0 element copy paste doesn't work. This is
> really strange for me that with GMF 2.2.0 for same application element
> copy paste was working earlier but not now. Can some one please tell
> me is their any changes in gmf API's or how to resolve this problem?
>
> Thanks in advance
> Best regards,
> Vikas
Re: Copy paste working with GMF 2.2.0 not working with GMF2.2.2 [message #518865 is a reply to message #518834] Fri, 05 March 2010 05:35 Go to previous messageGo to next message
Eclipse UserFriend
Hi Merk,

Could you please suggest me some solution for my problem. Preciesely my problem is , earlier when I was downloading GMF 2.0.0 using update site ,copy paste of element was working perfectly fine for me. Today when I do the same thing its not working. Can there be a way to specify resource implementation when I am creating update site project for my plugin?

Thanks in advance
Vikas
Re: Copy paste working with GMF 2.2.0 not working with GMF2.2.2 [message #518886 is a reply to message #518865] Fri, 05 March 2010 06:20 Go to previous message
Eclipse UserFriend
Vikas,

Comments below.

Vikas Goyal wrote:
> Hi Merk,
>
> Could you please suggest me some solution for my problem.
Your problem is vague, I can only suggest ways for you to try to
determine the difference between when it's working and when it's not.
The debugger is your best friend. Consult with him often.
> Preciesely my problem is , earlier when I was downloading GMF 2.0.0
> using update site ,copy paste of element was working perfectly fine
> for me.
Yes, I get that.
> Today when I do the same thing its not working.
Yep, I got that too. So what's the difference? The description makes
it sound like there should be no difference.
> Can there be a way to specify resource implementation when I am
> creating update site project for my plugin?
No, you mentioned changing the resource type to XMI. Don't you expect
that to have an impact? Changing the resource type affects the
registrations in the plugin.xml but the plugin.xml isn't regenerated
once it exists, so I don't know if this change had any impact.

I'll suggest again that you use the debugger to figure out what resource
implementation is being used to load your resource. Try to produce an
answer to that question before you restate your original problem again.
> Thanks in advance
> Vikas
Previous Topic:Graphics LineWidth & Zoom
Next Topic:Extracting Data from GMF Model
Goto Forum:
  


Current Time: Wed Jul 23 02:28:53 EDT 2025

Powered by FUDForum. Page generated in 0.05681 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top