Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » EMF "Technology" (Ecore Tools, EMFatic, etc)  » EMF to USE
EMF to USE [message #1765457] Fri, 09 June 2017 17:19 Go to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Hi,

How can I translate EMF to USE format?
Re: EMF to USE [message #1765459 is a reply to message #1765457] Fri, 09 June 2017 17:38 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6040
Registered: July 2009
Senior Member
Hi

If by USE you mean https://sourceforge.net/projects/useocl/ I suggest you read the USE documentation.

Since USE is for UML, you might try the Ecore2UML menu entry.

For OCL aspects ask what you want to know more precisely on the OCL newsgroup.

Regards

Ed Willink
Re: EMF to USE [message #1766312 is a reply to message #1765459] Tue, 20 June 2017 08:01 Go to previous messageGo to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Ed Willink wrote on Fri, 09 June 2017 17:38

Since USE is for UML, you might try the Ecore2UML menu entry.

I installed Ecore tools. However, I cannot see Ecore2UML menu entry when I right clicked on .ecore file.
Re: EMF to USE [message #1766318 is a reply to message #1766312] Tue, 20 June 2017 08:18 Go to previous messageGo to next message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6040
Registered: July 2009
Senior Member
Hi

It's in the Sample Ecore Editor toolbar menu.

You need to select an EPackage to avoid the "Convert to UML model..." being greyed out.

Regards

Ed Willink
Re: EMF to USE [message #1766506 is a reply to message #1766318] Thu, 22 June 2017 10:47 Go to previous messageGo to next message
Banafsheh A is currently offline Banafsheh AFriend
Messages: 262
Registered: July 2016
Senior Member
Thank you very much indeed.

Unfortunately, USE just know its format such the bellow code and doesn't support the uml.
model Person

class Person
attributes
  name : String
  age : Integer
end

association Family between
  Person[1] role father
  Person[1] role mother
  Person[*] role child
end
Re: EMF to USE [message #1766533 is a reply to message #1766506] Thu, 22 June 2017 18:19 Go to previous message
Ed Willink is currently offline Ed WillinkFriend
Messages: 6040
Registered: July 2009
Senior Member
Hi

If you're lucky that might be compatible with TextUML. More l;ikley you need to write custom Ecore2USE M2T. Pretty easier.

Regards

Ed Willink
Previous Topic:[EMF Forms] Ecore and Genmodel editor issues
Next Topic:distinguish between EClasses
Goto Forum:
  


Current Time: Sun Sep 23 08:42:28 GMT 2018

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

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

Back to the top