Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 08:12 Go to next message
Vikas Goyal is currently offline Vikas GoyalFriend
Messages: 34
Registered: July 2009
Member
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 09:06 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 31476
Registered: July 2009
Senior Member
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


Ed Merks
Professional Support: https://www.macromodeling.com/
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 10:35 Go to previous messageGo to next message
Vikas Goyal is currently offline Vikas GoyalFriend
Messages: 34
Registered: July 2009
Member
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 11:20 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 31476
Registered: July 2009
Senior Member
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


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:Graphics LineWidth & Zoom
Next Topic:Extracting Data from GMF Model
Goto Forum:
  


Current Time: Wed Sep 23 10:35:59 GMT 2020

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

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

Back to the top