Home » Modeling » UML2 » Re: Convert a UML file to Ecore file
Re: Convert a UML file to Ecore file [message #477090] |
Thu, 13 March 2008 13:15 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
Rasha,
It's best to ask on the UML newsgroup, which I've added to the "to" list
of the reply. Did you also install all the prerequisites for UML?
I.e., if you run with -clean -debug and look at the
<workspace>/.metadata/.log or the Error log view, does it complain about
missing dependencies?
rasha wrote:
> Hi,
>
> I need to know how I can convert a UML file to ecore file. I use UML
> modeling tool called Papyrus which creates two files: the first one
> describe the graphical parts and the second one is the uml model. I
> use Eclipse SDK 3.3.1.1 with Papyrus and mdt-uml2-SDK-2.1.1 plug-in it.
>
> I can convert from Ecore to UML from "Sample Ecore Editor\Convert to
> UML Model.." after I plug-in the "examples" from the UML project.
>
> I tried to plug-in the package org.eclipse.uml2.uml.util which
> contains UMLUtil.UML2EcoreConverter, but I couldn't find it.
>
> Could you please help me. I would appreciate very much any information
> that could help solve the problem.
>
> Many thanks,
>
> Rasha
>
>
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Convert a UML file to Ecore file [message #477092 is a reply to message #477090] |
Thu, 13 March 2008 14:02 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
Hi Ed and Rasha,
Converting a UML file to an Ecore file starts with the
ConvertToEcoreModelAction from the examples plugins.
You would need to select the root model element of your model (some subtype
of Package) then select
'UML Editor > Convert To... > Ecore Model'
You should then see an options dialog appear.
Hope that Helps.
Cheers,
- James.
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:frb9dm$7q8$1@build.eclipse.org...
> Rasha,
>
> It's best to ask on the UML newsgroup, which I've added to the "to" list
> of the reply. Did you also install all the prerequisites for UML? I.e.,
> if you run with -clean -debug and look at the <workspace>/.metadata/.log
> or the Error log view, does it complain about missing dependencies?
>
>
> rasha wrote:
>> Hi,
>>
>> I need to know how I can convert a UML file to ecore file. I use UML
>> modeling tool called Papyrus which creates two files: the first one
>> describe the graphical parts and the second one is the uml model. I use
>> Eclipse SDK 3.3.1.1 with Papyrus and mdt-uml2-SDK-2.1.1 plug-in it.
>>
>> I can convert from Ecore to UML from "Sample Ecore Editor\Convert to UML
>> Model.." after I plug-in the "examples" from the UML project.
>>
>> I tried to plug-in the package org.eclipse.uml2.uml.util which contains
>> UMLUtil.UML2EcoreConverter, but I couldn't find it.
>>
>> Could you please help me. I would appreciate very much any information
>> that could help solve the problem.
>>
>> Many thanks,
>>
>> Rasha
>>
>>
|
|
| |
Re: Convert a UML file to Ecore file [message #477096 is a reply to message #477095] |
Thu, 13 March 2008 20:30 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------080303000303030003020807
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Rasha,
news://news.eclipse.org/eclipse.modeling.mdt.uml2
rasha wrote:
> Thanks Ed and James for your help. Ed, could you please send to me the
> contact info for the UML newsgroup, I couldn?t see it in the ?to? list.
>
> James, the problem that I couldn?t find the ?UML Editor?. I have the
> features UML2Examples and UML2ExamplesSource plugins. I have the
> SampleEcoreEdit but not the UML Edit. If you could know what I missed
> to install as prerequisites for UML, It?ll be highly appreciated.
>
> Cheers,
> Rasha
>
>
--------------080303000303030003020807
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Rasha,<br>
<blockquote><a href="news://news.eclipse.org/eclipse.modeling.mdt.uml2">news://news.eclipse.org/eclipse.modeling.mdt.uml2</a><br>
</blockquote>
<br>
<br>
rasha wrote:
<blockquote
cite="mid:a966c9a27f5468dbedf42deca65a44c4$1@www.eclipse.org"
type="cite">Thanks Ed and James for your help. Ed, could you please
send to me the contact info for the UML newsgroup, I couldn�t see it in
the �to� list.
<br>
<br>
James, the problem that I couldn�t find the �UML Editor�. I have the
features UML2Examples and UML2ExamplesSource plugins. I have the
SampleEcoreEdit but not the UML Edit. If you could know what I missed
to install as prerequisites for UML, It�ll be highly appreciated.
<br>
<br>
Cheers, <br>
Rasha
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>
--------------080303000303030003020807--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Convert a UML file to Ecore file [message #477099 is a reply to message #477096] |
Fri, 14 March 2008 14:31 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_007B_01C885BE.81A00ED0
Content-Type: text/plain;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
You can download the entire SDK or runtime from here: =
http://www.eclipse.org/modeling/mdt/downloads/?project=3Duml 2
The prerequisites are also listed. Downloading the SDK for example =
would enable the menus you are looking for.
Or you can selectively choose the source code you want from cvs.
- James.
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:frc2st$va0$1@build.eclipse.org...
Rasha,
news://news.eclipse.org/eclipse.modeling.mdt.uml2
rasha wrote:=20
Thanks Ed and James for your help. Ed, could you please send to me =
the contact info for the UML newsgroup, I couldn?t see it in the ?to? =
list.=20
James, the problem that I couldn?t find the ?UML Editor?. I have the =
features UML2Examples and UML2ExamplesSource plugins. I have the =
SampleEcoreEdit but not the UML Edit. If you could know what I missed to =
install as prerequisites for UML, It?ll be highly appreciated.=20
Cheers,=20
Rasha=20
------=_NextPart_000_007B_01C885BE.81A00ED0
Content-Type: text/html;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-15>
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>You can download the entire SDK or =
runtime from=20
here: <A=20
href=3D" http://www.eclipse.org/modeling/mdt/downloads/?project=3Duml 2">ht=
tp://www.eclipse.org/modeling/mdt/downloads/?project=3Duml2</A></FONT></D=
IV>
<DIV><FONT face=3DArial size=3D2>The prerequisites are also =
listed. =20
Downloading the SDK for example would enable the menus you are looking=20
for.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Or you can selectively choose the =
source code you=20
want from cvs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>- James.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>>=20
wrote in message <A=20
=
href=3D"news:frc2st$va0$1@build.eclipse.org">news:frc2st$va0$1@build.ecli=
pse.org</A>...</DIV>Rasha,<BR>
<BLOCKQUOTE><A=20
=
href=3D"news://news.eclipse.org/eclipse.modeling.mdt.uml2">news://news.ec=
lipse.org/eclipse.modeling.mdt.uml2</A><BR></BLOCKQUOTE><BR ><BR>rasha=20
wrote:=20
<BLOCKQUOTE =
cite=3Dmid:a966c9a27f5468dbedf42deca65a44c4$1@www.eclipse.org=20
type=3D"cite">Thanks Ed and James for your help. Ed, could you please =
send to=20
me the contact info for the UML newsgroup, I couldn�t see it =
in the �to�=20
list. <BR><BR>James, the problem that I couldn�t find the =
�UML Editor�. I=20
have the features UML2Examples and UML2ExamplesSource plugins. I =
have the=20
SampleEcoreEdit but not the UML Edit. If you could know what I =
missed to=20
install as prerequisites for UML, It�ll be highly =
appreciated.=20
<BR><BR>Cheers, <BR>Rasha=20
<BR><BR><BR></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML >
------=_NextPart_000_007B_01C885BE.81A00ED0--
|
|
| | | |
Re: Convert a UML file to Ecore file [message #626221 is a reply to message #477090] |
Thu, 13 March 2008 14:02 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
Hi Ed and Rasha,
Converting a UML file to an Ecore file starts with the
ConvertToEcoreModelAction from the examples plugins.
You would need to select the root model element of your model (some subtype
of Package) then select
'UML Editor > Convert To... > Ecore Model'
You should then see an options dialog appear.
Hope that Helps.
Cheers,
- James.
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:frb9dm$7q8$1@build.eclipse.org...
> Rasha,
>
> It's best to ask on the UML newsgroup, which I've added to the "to" list
> of the reply. Did you also install all the prerequisites for UML? I.e.,
> if you run with -clean -debug and look at the <workspace>/.metadata/.log
> or the Error log view, does it complain about missing dependencies?
>
>
> rasha wrote:
>> Hi,
>>
>> I need to know how I can convert a UML file to ecore file. I use UML
>> modeling tool called Papyrus which creates two files: the first one
>> describe the graphical parts and the second one is the uml model. I use
>> Eclipse SDK 3.3.1.1 with Papyrus and mdt-uml2-SDK-2.1.1 plug-in it.
>>
>> I can convert from Ecore to UML from "Sample Ecore Editor\Convert to UML
>> Model.." after I plug-in the "examples" from the UML project.
>>
>> I tried to plug-in the package org.eclipse.uml2.uml.util which contains
>> UMLUtil.UML2EcoreConverter, but I couldn't find it.
>>
>> Could you please help me. I would appreciate very much any information
>> that could help solve the problem.
>>
>> Many thanks,
>>
>> Rasha
>>
>>
|
|
| |
Re: Convert a UML file to Ecore file [message #626225 is a reply to message #477095] |
Thu, 13 March 2008 20:30 |
Ed Merks Messages: 33140 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------080303000303030003020807
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 7bit
Rasha,
news://news.eclipse.org/eclipse.modeling.mdt.uml2
rasha wrote:
> Thanks Ed and James for your help. Ed, could you please send to me the
> contact info for the UML newsgroup, I couldn?t see it in the ?to? list.
>
> James, the problem that I couldn?t find the ?UML Editor?. I have the
> features UML2Examples and UML2ExamplesSource plugins. I have the
> SampleEcoreEdit but not the UML Edit. If you could know what I missed
> to install as prerequisites for UML, It?ll be highly appreciated.
>
> Cheers,
> Rasha
>
>
--------------080303000303030003020807
Content-Type: text/html; charset=ISO-8859-15
Content-Transfer-Encoding: 7bit
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-15"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Rasha,<br>
<blockquote><a href="news://news.eclipse.org/eclipse.modeling.mdt.uml2">news://news.eclipse.org/eclipse.modeling.mdt.uml2</a><br>
</blockquote>
<br>
<br>
rasha wrote:
<blockquote
cite="mid:a966c9a27f5468dbedf42deca65a44c4$1@www.eclipse.org"
type="cite">Thanks Ed and James for your help. Ed, could you please
send to me the contact info for the UML newsgroup, I couldn�t see it in
the �to� list.
<br>
<br>
James, the problem that I couldn�t find the �UML Editor�. I have the
features UML2Examples and UML2ExamplesSource plugins. I have the
SampleEcoreEdit but not the UML Edit. If you could know what I missed
to install as prerequisites for UML, It�ll be highly appreciated.
<br>
<br>
Cheers, <br>
Rasha
<br>
<br>
<br>
</blockquote>
<br>
</body>
</html>
--------------080303000303030003020807--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: Convert a UML file to Ecore file [message #626228 is a reply to message #477096] |
Fri, 14 March 2008 14:31 |
james bruck Messages: 1724 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
------=_NextPart_000_007B_01C885BE.81A00ED0
Content-Type: text/plain;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
You can download the entire SDK or runtime from here: =
http://www.eclipse.org/modeling/mdt/downloads/?project=3Duml 2
The prerequisites are also listed. Downloading the SDK for example =
would enable the menus you are looking for.
Or you can selectively choose the source code you want from cvs.
- James.
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:frc2st$va0$1@build.eclipse.org...
Rasha,
news://news.eclipse.org/eclipse.modeling.mdt.uml2
rasha wrote:=20
Thanks Ed and James for your help. Ed, could you please send to me =
the contact info for the UML newsgroup, I couldn?t see it in the ?to? =
list.=20
James, the problem that I couldn?t find the ?UML Editor?. I have the =
features UML2Examples and UML2ExamplesSource plugins. I have the =
SampleEcoreEdit but not the UML Edit. If you could know what I missed to =
install as prerequisites for UML, It?ll be highly appreciated.=20
Cheers,=20
Rasha=20
------=_NextPart_000_007B_01C885BE.81A00ED0
Content-Type: text/html;
charset="ISO-8859-15"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type =
content=3Dtext/html;charset=3DISO-8859-15>
<META content=3D"MSHTML 6.00.2900.3157" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>You can download the entire SDK or =
runtime from=20
here: <A=20
href=3D" http://www.eclipse.org/modeling/mdt/downloads/?project=3Duml 2">ht=
tp://www.eclipse.org/modeling/mdt/downloads/?project=3Duml2</A></FONT></D=
IV>
<DIV><FONT face=3DArial size=3D2>The prerequisites are also =
listed. =20
Downloading the SDK for example would enable the menus you are looking=20
for.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Or you can selectively choose the =
source code you=20
want from cvs.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>- James.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<BLOCKQUOTE=20
style=3D"PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; =
BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV>"Ed Merks" <<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>>=20
wrote in message <A=20
=
href=3D"news:frc2st$va0$1@build.eclipse.org">news:frc2st$va0$1@build.ecli=
pse.org</A>...</DIV>Rasha,<BR>
<BLOCKQUOTE><A=20
=
href=3D"news://news.eclipse.org/eclipse.modeling.mdt.uml2">news://news.ec=
lipse.org/eclipse.modeling.mdt.uml2</A><BR></BLOCKQUOTE><BR ><BR>rasha=20
wrote:=20
<BLOCKQUOTE =
cite=3Dmid:a966c9a27f5468dbedf42deca65a44c4$1@www.eclipse.org=20
type=3D"cite">Thanks Ed and James for your help. Ed, could you please =
send to=20
me the contact info for the UML newsgroup, I couldn�t see it =
in the �to�=20
list. <BR><BR>James, the problem that I couldn�t find the =
�UML Editor�. I=20
have the features UML2Examples and UML2ExamplesSource plugins. I =
have the=20
SampleEcoreEdit but not the UML Edit. If you could know what I =
missed to=20
install as prerequisites for UML, It�ll be highly =
appreciated.=20
<BR><BR>Cheers, <BR>Rasha=20
<BR><BR><BR></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML >
------=_NextPart_000_007B_01C885BE.81A00ED0--
|
|
| | | |
Goto Forum:
Current Time: Thu Apr 25 15:00:35 GMT 2024
Powered by FUDForum. Page generated in 0.03471 seconds
|