Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Epsilon » Modellink - reproducing screencast problem(Can't create models vs registered metamodels)
Modellink - reproducing screencast problem [message #1016708] Thu, 07 March 2013 12:45 Go to next message
Julian Johnson is currently offline Julian JohnsonFriend
Messages: 20
Registered: March 2013
Junior Member
Hi, I've been trying to reproduce the model creation and linking in the Establishing links between EMF models screencast. Although I can create the metamodels (although the metamodel creation appears to put the following as firsst few lines:
@namespace(uri=etc, prefix="p") )...I CAN create the ecore files, and attempt to register the metamodels. However, I get two problems:

1. Despite the fact I get a confirmation that each metamodel is registered successfully in console, in the Epackage registry (after refresh), only one of these metamodels 'sticks' in the list of registered packages

2. When I try to create a model versus the metamodel that appears to be registered, I see no drop down of registered models in the dialogue. If I browse to select the metamodel I don't see the metamodel listed.

Help!
Re: Modellink - reproducing screencast problem [message #1016801 is a reply to message #1016708] Thu, 07 March 2013 17:54 Go to previous messageGo to next message
Antonio Garcia-Dominguez is currently offline Antonio Garcia-DominguezFriend
Messages: 594
Registered: January 2010
Location: Birmingham, UK
Senior Member

Hi Julian,

Can you post the .ecore metamodels over here, so we can have a look at them?
Re: Modellink - reproducing screencast problem [message #1016869 is a reply to message #1016801] Fri, 08 March 2013 00:26 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Julian,

I've uploaded the code for this example under [1] but unfortunately drag-n-drop seems to be broken on Windows (works fine on my Mac). I'll investigate and try to fix this within the next few days.

Dimitris

[1] https://dev.eclipse.org/svnroot/modeling/org.eclipse.epsilon/trunk/examples/org.eclipse.epsilon.examples.modelink.personshouses
Re: Modellink - reproducing screencast problem [message #1016960 is a reply to message #1016801] Fri, 08 March 2013 11:05 Go to previous messageGo to next message
Julian Johnson is currently offline Julian JohnsonFriend
Messages: 20
Registered: March 2013
Junior Member
Hi, the two metamodels I created are attached. (I get an error "You can only use links to eclipse.org sites while you have fewer than 5 messages" if I put the text of either file inline in this response).

Is there a problem with the namespace clause? This was autogenerated.
  • Attachment: Houses.emf
    (Size: 0.17KB, Downloaded 195 times)
  • Attachment: Persons.emf
    (Size: 0.17KB, Downloaded 197 times)
Re: Modellink - reproducing screencast problem [message #1017025 is a reply to message #1016960] Fri, 08 March 2013 16:49 Go to previous messageGo to next message
Julian Johnson is currently offline Julian JohnsonFriend
Messages: 20
Registered: March 2013
Junior Member
Hi, an update:
I did modify the @namespace clause of the two metamodels, to change the rather obscure uri to simple ones like "houses" and "persons", and that appeared to solve the problem firsst reported. I was able to generate ecore, register the metamodels, then create a corresponding model.

My new stumbling block with the same Modellink example is at the point where I attempt to populate the linking model. So I've created a linking metamodel, registered it, and used the modellink wizard to attempt to create linking instances. Although I can create an instance in the linking model (create child), if I drag either a Person or a House instance on to the centre pane, the editor does not accept it (get the 'no entry' symbol). Any idea of the problem?

Screen dump, and relevant emf files attached. I attempted to include PersonHouses.modelink and PersonHouses.model, but get the "You can only use links to eclipse.org sites while you have fewer than 5 messages." error message. Can send if required.
Re: Modellink - reproducing screencast problem [message #1017242 is a reply to message #1017025] Mon, 11 March 2013 09:40 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Julian,

Unfortunately, this appears to be a bug on Windows. Please see http://www.eclipse.org/forums/index.php/mv/msg/458023/1016869/#msg_1016869. I'll try to fix this within the next few days.

Thanks,
Dimitris
Re: Modellink - reproducing screencast problem [message #1047724 is a reply to message #1017242] Tue, 23 April 2013 15:06 Go to previous messageGo to next message
Julian Johnson is currently offline Julian JohnsonFriend
Messages: 20
Registered: March 2013
Junior Member
Dimitris

hi, did you have any luck fixing this problem?

Thanks, Julian.
Re: Modellink - reproducing screencast problem [message #1047936 is a reply to message #1047724] Tue, 23 April 2013 21:33 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Julian,

Unfortunately, I haven't had a chance to work on this yet but it's in my to-do list.

Thanks,
Dimitris
Re: Modellink - reproducing screencast problem [message #1048261 is a reply to message #1047936] Wed, 24 April 2013 08:29 Go to previous messageGo to next message
Julian Johnson is currently offline Julian JohnsonFriend
Messages: 20
Registered: March 2013
Junior Member
thanks!

Julian.
Re: Modellink - reproducing screencast problem [message #1050590 is a reply to message #1048261] Sat, 27 April 2013 12:17 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

This has been fixed in the SVN and the fix will appear in the next interim version.

Cheers,
Dimitris
Re: Modellink - reproducing screencast problem [message #1051763 is a reply to message #1050590] Mon, 29 April 2013 07:47 Go to previous messageGo to next message
Julian Johnson is currently offline Julian JohnsonFriend
Messages: 20
Registered: March 2013
Junior Member
Thanks. When is the 'next interim version' due to be rolled-out?

Julian.
Re: Modellink - reproducing screencast problem [message #1051820 is a reply to message #1051763] Mon, 29 April 2013 08:58 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

It should be out by the end of the week.

Dimitris
Re: Modellink - reproducing screencast problem [message #1051838 is a reply to message #1051820] Mon, 29 April 2013 09:16 Go to previous messageGo to next message
Julian Johnson is currently offline Julian JohnsonFriend
Messages: 20
Registered: March 2013
Junior Member
thanks, great.
Julian.
Re: Modellink - reproducing screencast problem [message #1062413 is a reply to message #1051838] Fri, 07 June 2013 14:49 Go to previous messageGo to next message
Julian Johnson is currently offline Julian JohnsonFriend
Messages: 20
Registered: March 2013
Junior Member
hi, how do I get about getting the 'fix'. Is there a file I should download to replace one I already have? Things can be tricky connecting to SVN, or doing Eclipse auto-updates, as we sit behind a firewall here...

thanks, Julian
Re: Modellink - reproducing screencast problem [message #1062446 is a reply to message #1062413] Fri, 07 June 2013 18:05 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Julian,

To get the fix you'll need to update (Help->Install new software) from the interim update site of Epsilon:

http://download.eclipse.org/epsilon/interim/

Please let me know if this is a problem and I'll put together a zipped copy of the update site for offline installation.

Thanks,
Dimitris
Re: Modellink - reproducing screencast problem [message #1261893 is a reply to message #1062446] Mon, 03 March 2014 04:01 Go to previous messageGo to next message
Juan Jimenez is currently offline Juan JimenezFriend
Messages: 5
Registered: February 2014
Junior Member
Hello,

Was this fixed?

I have latest Epsilon bundle and have already updated from http://download.eclipse.org/epsilon/interim/ as suggested in this post but I still get that 'no entry' symbol when trying to drag and drop from the left/right panel into the weaving model.

Thanks in advance for any help you can give me.
Re: Modellink - reproducing screencast problem [message #1266304 is a reply to message #1261893] Fri, 07 March 2014 08:45 Go to previous messageGo to next message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Juan,

I think so. Could you please put together a minimal example [1] we can use to reproduce this?

Cheers,
Dimitris

[1] http://eclipse.org/epsilon/doc/articles/minimal-examples/
Re: Modellink - reproducing screencast problem [message #1272233 is a reply to message #1266304] Mon, 17 March 2014 12:33 Go to previous messageGo to next message
Juan Jimenez is currently offline Juan JimenezFriend
Messages: 5
Registered: February 2014
Junior Member
Hi Dimitris,

Thanks for responding, I was able to make it work with the files Julian provided, so I realized that I was using the wrong metamodel. I'm trying to link Papyrus models so the right metamodel is imported using:

import "http://www.eclipse.org/uml2/4.0.0/UML";

Now Modelink works perfect with Papyrus.

Re: Modellink - reproducing screencast problem [message #1272449 is a reply to message #1272233] Mon, 17 March 2014 23:58 Go to previous message
Dimitris Kolovos is currently offline Dimitris KolovosFriend
Messages: 2162
Registered: July 2009
Location: York, UK
Senior Member

Hi Juan,

Great! Thanks for letting us know.

Cheers,
Dimitris
Previous Topic:[Eugenia] Preserve property descriptions
Next Topic:EGL M2T Transformation and Xtext
Goto Forum:
  


Current Time: Fri Apr 19 12:19:51 GMT 2024

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

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

Back to the top