Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » java API which converts Ecore object model to UML model.
java API which converts Ecore object model to UML model. [message #475168] Wed, 22 August 2007 12:10 Go to next message
Eclipse User
Originally posted by: rmishra.tibco.com

Hi ,

I have Epackage corresponding to the ecore model ,now i want to convert
epackage to UML Model and serialize it .Can some body help me out ,if there
is any java API Which i can use --if there is ,then please let me know how
to use that---

Thanks and Regards
Raju Mishra
Re: java API which converts Ecore object model to UML model. [message #475171 is a reply to message #475168] Wed, 22 August 2007 12:16 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Raju,

Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.
Note that an Export Model... action is available on the popup of a
..genmodel.


Raju Mishra wrote:
> Hi ,
>
> I have Epackage corresponding to the ecore model ,now i want to convert
> epackage to UML Model and serialize it .Can some body help me out ,if there
> is any java API Which i can use --if there is ,then please let me know how
> to use that---
>
> Thanks and Regards
> Raju Mishra
>
>
>
Re: java API which converts Ecore object model to UML model. [message #475175 is a reply to message #475171] Wed, 22 August 2007 13:00 Go to previous messageGo to next message
Eclipse User
Originally posted by: rmishra.tibco.com

Hi ,
I did look into the UMLExporter.java but couldn't find any thing relevant--
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fah9ft$8jd$1@build.eclipse.org...
> Raju,
>
> Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.
> Note that an Export Model... action is available on the popup of a
> .genmodel.
>
>
> Raju Mishra wrote:
>> Hi ,
>>
>> I have Epackage corresponding to the ecore model ,now i want to convert
>> epackage to UML Model and serialize it .Can some body help me out ,if
>> there is any java API Which i can use --if there is ,then please let me
>> know how to use that---
>>
>> Thanks and Regards
>> Raju Mishra
>>
>>
Re: java API which converts Ecore object model to UML model. [message #475178 is a reply to message #475175] Wed, 22 August 2007 13:07 Go to previous messageGo to next message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------050107010608000602000900
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Raju,

I think you need to look a little harder:

protected Diagnostic doExport(Monitor monitor, ExportData
exportData)
throws Exception {
Diagnostic diagnostic = Diagnostic.OK_INSTANCE;

ResourceSet resourceSet = new ResourceSetImpl();
UMLUtil.Ecore2UMLConverter ecore2umlConverter = new
UMLUtil.*Ecore2UMLConverter*();


Raju Mishra wrote:
> Hi ,
> I did look into the UMLExporter.java but couldn't find any thing relevant--
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:fah9ft$8jd$1@build.eclipse.org...
>
>> Raju,
>>
>> Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.
>> Note that an Export Model... action is available on the popup of a
>> .genmodel.
>>
>>
>> Raju Mishra wrote:
>>
>>> Hi ,
>>>
>>> I have Epackage corresponding to the ecore model ,now i want to convert
>>> epackage to UML Model and serialize it .Can some body help me out ,if
>>> there is any java API Which i can use --if there is ,then please let me
>>> know how to use that---
>>>
>>> Thanks and Regards
>>> Raju Mishra
>>>
>>>
>>>
>
>
>


--------------050107010608000602000900
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Raju,<br>
<br>
I think you need to look a little harder:<br>
<blockquote><small>&nbsp;&nbsp;&nbsp; protected Diagnostic doExport(Monitor monitor,
ExportData exportData)</small><br>
<small>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; throws Exception {</small><br>
<small>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Diagnostic diagnostic = Diagnostic.OK_INSTANCE;</small><br>
<br>
<small>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ResourceSet resourceSet = new ResourceSetImpl();</small><br>
<small>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; UMLUtil.Ecore2UMLConverter ecore2umlConverter = new
UMLUtil.<b>Ecore2UMLConverter</b>();</small><br>
</blockquote>
<br>
Raju Mishra wrote:
<blockquote cite="mid:fahc14$g09$1@build.eclipse.org" type="cite">
<pre wrap="">Hi ,
I did look into the UMLExporter.java but couldn't find any thing relevant--
"Ed Merks" <a class="moz-txt-link-rfc2396E" href="mailto:merks@ca.ibm.com">&lt;merks@ca.ibm.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:fah9ft$8jd$1@build.eclipse.org">news:fah9ft$8jd$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Raju,

Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.
Note that an Export Model... action is available on the popup of a
..genmodel.


Raju Mishra wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi ,

I have Epackage corresponding to the ecore model ,now i want to convert
epackage to UML Model and serialize it .Can some body help me out ,if
there is any java API Which i can use --if there is ,then please let me
know how to use that---

Thanks and Regards
Raju Mishra


</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------050107010608000602000900--
Re: java API which converts Ecore object model to UML model. [message #475192 is a reply to message #475178] Wed, 22 August 2007 13:44 Go to previous message
Eclipse User
Originally posted by: rmishra.tibco.com

This is a multi-part message in MIME format.

------=_NextPart_000_0157_01C7E4F0.B1855DE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks -- i got it--
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:fahcek$gl8$1@build.eclipse.org...
Raju,

I think you need to look a little harder:

protected Diagnostic doExport(Monitor monitor, ExportData =
exportData)
throws Exception {
Diagnostic diagnostic =3D Diagnostic.OK_INSTANCE;

ResourceSet resourceSet =3D new ResourceSetImpl();
UMLUtil.Ecore2UMLConverter ecore2umlConverter =3D new =
UMLUtil.Ecore2UMLConverter();


Raju Mishra wrote:=20
Hi ,
I did look into the UMLExporter.java but couldn't find any thing =
relevant--
"Ed Merks" <merks@ca.ibm.com> wrote in message=20
news:fah9ft$8jd$1@build.eclipse.org...
Raju,

Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.=20
Note that an Export Model... action is available on the popup of a=20
..genmodel.


Raju Mishra wrote:
Hi ,

I have Epackage corresponding to the ecore model ,now i want to convert=20
epackage to UML Model and serialize it .Can some body help me out ,if=20
there is any java API Which i can use --if there is ,then please let me=20
know how to use that---

Thanks and Regards
Raju Mishra


=20

=20

------=_NextPart_000_0157_01C7E4F0.B1855DE0
Content-Type: text/html;
charset="iso-8859-1"
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-1>
<META content=3D"MSHTML 6.00.2900.3059" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks -- i got it--</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" &lt;<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>&gt;=20
wrote in message <A=20
=
href=3D"news:fahcek$gl8$1@build.eclipse.org">news:fahcek$gl8$1@build.ecli=
pse.org</A>...</DIV>Raju,<BR><BR>I=20
think you need to look a little harder:<BR>
<BLOCKQUOTE><SMALL>&nbsp;&nbsp;&nbsp; protected Diagnostic =
doExport(Monitor=20
monitor, ExportData exportData)</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp; =

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; throws Exception=20
{</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Diagnostic =

diagnostic =3D=20
Diagnostic.OK_INSTANCE;</SMALL><BR><BR><SMALL>&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; ResourceSet resourceSet =3D new=20
ResourceSetImpl();</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
UMLUtil.Ecore2UMLConverter ecore2umlConverter =3D new=20
=
UMLUtil.<B>Ecore2UMLConverter</B>();</SMALL><BR></BLOCKQUOTE ><BR>Raju =
Mishra=20
wrote:=20
<BLOCKQUOTE cite=3Dmid:fahc14$g09$1@build.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Hi ,
I did look into the UMLExporter.java but couldn't find any thing =
relevant--
"Ed Merks" <A class=3Dmoz-txt-link-rfc2396E =
href=3D"mailto:merks@ca.ibm.com">&lt;merks@ca.ibm.com&gt;</A> wrote in =
message=20
<A class=3Dmoz-txt-link-freetext =
href=3D"news:fah9ft$8jd$1@build.eclipse.org">news:fah9ft$8jd$1@build.ecli=
pse.org</A>...
</PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">Raju,

Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.=20
Note that an Export Model... action is available on the popup of a=20
..genmodel.


Raju Mishra wrote:
</PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">Hi ,

I have Epackage corresponding to the ecore model ,now i want to convert=20
epackage to UML Model and serialize it .Can some body help me out ,if=20
there is any java API Which i can use --if there is ,then please let me=20
know how to use that---

Thanks and Regards
Raju Mishra


</PRE></BLOCKQUOTE></BLOCKQUOTE><PRE wrap=3D""><!---->

</PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0157_01C7E4F0.B1855DE0--
Re: java API which converts Ecore object model to UML model. [message #624460 is a reply to message #475168] Wed, 22 August 2007 12:16 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
Raju,

Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.
Note that an Export Model... action is available on the popup of a
..genmodel.


Raju Mishra wrote:
> Hi ,
>
> I have Epackage corresponding to the ecore model ,now i want to convert
> epackage to UML Model and serialize it .Can some body help me out ,if there
> is any java API Which i can use --if there is ,then please let me know how
> to use that---
>
> Thanks and Regards
> Raju Mishra
>
>
>
Re: java API which converts Ecore object model to UML model. [message #624461 is a reply to message #475171] Wed, 22 August 2007 13:00 Go to previous message
Eclipse User
Originally posted by: rmishra.tibco.com

Hi ,
I did look into the UMLExporter.java but couldn't find any thing relevant--
"Ed Merks" <merks@ca.ibm.com> wrote in message
news:fah9ft$8jd$1@build.eclipse.org...
> Raju,
>
> Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.
> Note that an Export Model... action is available on the popup of a
> .genmodel.
>
>
> Raju Mishra wrote:
>> Hi ,
>>
>> I have Epackage corresponding to the ecore model ,now i want to convert
>> epackage to UML Model and serialize it .Can some body help me out ,if
>> there is any java API Which i can use --if there is ,then please let me
>> know how to use that---
>>
>> Thanks and Regards
>> Raju Mishra
>>
>>
Re: java API which converts Ecore object model to UML model. [message #624462 is a reply to message #475175] Wed, 22 August 2007 13:07 Go to previous message
Ed Merks is currently offline Ed Merks
Messages: 26054
Registered: July 2009
Senior Member
This is a multi-part message in MIME format.
--------------050107010608000602000900
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit

Raju,

I think you need to look a little harder:

protected Diagnostic doExport(Monitor monitor, ExportData
exportData)
throws Exception {
Diagnostic diagnostic = Diagnostic.OK_INSTANCE;

ResourceSet resourceSet = new ResourceSetImpl();
UMLUtil.Ecore2UMLConverter ecore2umlConverter = new
UMLUtil.*Ecore2UMLConverter*();


Raju Mishra wrote:
> Hi ,
> I did look into the UMLExporter.java but couldn't find any thing relevant--
> "Ed Merks" <merks@ca.ibm.com> wrote in message
> news:fah9ft$8jd$1@build.eclipse.org...
>
>> Raju,
>>
>> Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.
>> Note that an Export Model... action is available on the popup of a
>> .genmodel.
>>
>>
>> Raju Mishra wrote:
>>
>>> Hi ,
>>>
>>> I have Epackage corresponding to the ecore model ,now i want to convert
>>> epackage to UML Model and serialize it .Can some body help me out ,if
>>> there is any java API Which i can use --if there is ,then please let me
>>> know how to use that---
>>>
>>> Thanks and Regards
>>> Raju Mishra
>>>
>>>
>>>
>
>
>


--------------050107010608000602000900
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Raju,<br>
<br>
I think you need to look a little harder:<br>
<blockquote><small>&nbsp;&nbsp;&nbsp; protected Diagnostic doExport(Monitor monitor,
ExportData exportData)</small><br>
<small>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; throws Exception {</small><br>
<small>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Diagnostic diagnostic = Diagnostic.OK_INSTANCE;</small><br>
<br>
<small>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; ResourceSet resourceSet = new ResourceSetImpl();</small><br>
<small>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; UMLUtil.Ecore2UMLConverter ecore2umlConverter = new
UMLUtil.<b>Ecore2UMLConverter</b>();</small><br>
</blockquote>
<br>
Raju Mishra wrote:
<blockquote cite="mid:fahc14$g09$1@build.eclipse.org" type="cite">
<pre wrap="">Hi ,
I did look into the UMLExporter.java but couldn't find any thing relevant--
"Ed Merks" <a class="moz-txt-link-rfc2396E" href="mailto:merks@ca.ibm.com">&lt;merks@ca.ibm.com&gt;</a> wrote in message
<a class="moz-txt-link-freetext" href="news:fah9ft$8jd$1@build.eclipse.org">news:fah9ft$8jd$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Raju,

Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.
Note that an Export Model... action is available on the popup of a
..genmodel.


Raju Mishra wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi ,

I have Epackage corresponding to the ecore model ,now i want to convert
epackage to UML Model and serialize it .Can some body help me out ,if
there is any java API Which i can use --if there is ,then please let me
know how to use that---

Thanks and Regards
Raju Mishra


</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->

</pre>
</blockquote>
<br>
</body>
</html>

--------------050107010608000602000900--
Re: java API which converts Ecore object model to UML model. [message #624467 is a reply to message #475178] Wed, 22 August 2007 13:44 Go to previous message
Eclipse User
Originally posted by: rmishra.tibco.com

This is a multi-part message in MIME format.

------=_NextPart_000_0157_01C7E4F0.B1855DE0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Thanks -- i got it--
"Ed Merks" <merks@ca.ibm.com> wrote in message =
news:fahcek$gl8$1@build.eclipse.org...
Raju,

I think you need to look a little harder:

protected Diagnostic doExport(Monitor monitor, ExportData =
exportData)
throws Exception {
Diagnostic diagnostic =3D Diagnostic.OK_INSTANCE;

ResourceSet resourceSet =3D new ResourceSetImpl();
UMLUtil.Ecore2UMLConverter ecore2umlConverter =3D new =
UMLUtil.Ecore2UMLConverter();


Raju Mishra wrote:=20
Hi ,
I did look into the UMLExporter.java but couldn't find any thing =
relevant--
"Ed Merks" <merks@ca.ibm.com> wrote in message=20
news:fah9ft$8jd$1@build.eclipse.org...
Raju,

Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.=20
Note that an Export Model... action is available on the popup of a=20
..genmodel.


Raju Mishra wrote:
Hi ,

I have Epackage corresponding to the ecore model ,now i want to convert=20
epackage to UML Model and serialize it .Can some body help me out ,if=20
there is any java API Which i can use --if there is ,then please let me=20
know how to use that---

Thanks and Regards
Raju Mishra


=20

=20

------=_NextPart_000_0157_01C7E4F0.B1855DE0
Content-Type: text/html;
charset="iso-8859-1"
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-1>
<META content=3D"MSHTML 6.00.2900.3059" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY text=3D#000000 bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Thanks -- i got it--</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" &lt;<A =
href=3D"mailto:merks@ca.ibm.com">merks@ca.ibm.com</A>&gt;=20
wrote in message <A=20
=
href=3D"news:fahcek$gl8$1@build.eclipse.org">news:fahcek$gl8$1@build.ecli=
pse.org</A>...</DIV>Raju,<BR><BR>I=20
think you need to look a little harder:<BR>
<BLOCKQUOTE><SMALL>&nbsp;&nbsp;&nbsp; protected Diagnostic =
doExport(Monitor=20
monitor, ExportData exportData)</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp; =

&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; throws Exception=20
{</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; Diagnostic =

diagnostic =3D=20
Diagnostic.OK_INSTANCE;</SMALL><BR><BR><SMALL>&nbsp;&nbsp;&nbsp;=20
&nbsp;&nbsp;&nbsp; ResourceSet resourceSet =3D new=20
ResourceSetImpl();</SMALL><BR><SMALL>&nbsp;&nbsp;&nbsp; =
&nbsp;&nbsp;&nbsp;=20
UMLUtil.Ecore2UMLConverter ecore2umlConverter =3D new=20
=
UMLUtil.<B>Ecore2UMLConverter</B>();</SMALL><BR></BLOCKQUOTE ><BR>Raju =
Mishra=20
wrote:=20
<BLOCKQUOTE cite=3Dmid:fahc14$g09$1@build.eclipse.org =
type=3D"cite"><PRE wrap=3D"">Hi ,
I did look into the UMLExporter.java but couldn't find any thing =
relevant--
"Ed Merks" <A class=3Dmoz-txt-link-rfc2396E =
href=3D"mailto:merks@ca.ibm.com">&lt;merks@ca.ibm.com&gt;</A> wrote in =
message=20
<A class=3Dmoz-txt-link-freetext =
href=3D"news:fah9ft$8jd$1@build.eclipse.org">news:fah9ft$8jd$1@build.ecli=
pse.org</A>...
</PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">Raju,

Have a look at org.eclipse.uml2.uml.ecore.exporter's UMLExporter.java.=20
Note that an Export Model... action is available on the popup of a=20
..genmodel.


Raju Mishra wrote:
</PRE>
<BLOCKQUOTE type=3D"cite"><PRE wrap=3D"">Hi ,

I have Epackage corresponding to the ecore model ,now i want to convert=20
epackage to UML Model and serialize it .Can some body help me out ,if=20
there is any java API Which i can use --if there is ,then please let me=20
know how to use that---

Thanks and Regards
Raju Mishra


</PRE></BLOCKQUOTE></BLOCKQUOTE><PRE wrap=3D""><!---->

</PRE></BLOCKQUOTE><BR></BLOCKQUOTE></BODY></HTML>

------=_NextPart_000_0157_01C7E4F0.B1855DE0--
Previous Topic:ecore model to uml model
Next Topic:AddVariableValueAction doubled in UML editor
Goto Forum:
  


Current Time: Sat Sep 20 12:12:19 GMT 2014

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

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