Home » Modeling » UML2 » UML profile for an existing ecore model
| | |
Re: UML profile for an existing ecore model [message #516432 is a reply to message #516423] |
Tue, 23 February 2010 21:38 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------090002090002060506090602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Prasad,
Comments below.
prasad wrote:
> Thanks Ed.
>
> Can you please elaborate why you think so [ I need to understand better to
> convince our users ].
>
Because you can tailor the graphics to suit whatever you desire. I
imagine your DSL is far simpler than UML and you'll be able to create a
far simple editor that doesn't expose the hugeness of UML. You'll be
editing you DSL instance directly and saving them without transformation
to the XML format the users are expecting.
> The standard argument by the users [on why they want a UML profile] is that
> they think they can use many of the UML tools in the market to develop their
> models. Is that not a reality in practice ?
>
The interchange between tools is getting to be quite good these days.
Many are using Eclipse UML2 directly, or plan to do so. So yes, that's
a reasonable argument. But you'll need to do two way transformation
between the profiled UML representation and your actual DSL representation.
> thanks
> Prasad
>
>
> "Ed Merks" <Ed.Merks@gmail.com> wrote in message
> news:hm1dr0$ifk$1@build.eclipse.org...
>
>> Prasad,
>>
>> You're probably better off using GMF to define directly a graphical syntax
>> for your DSL.
>>
>>
>> prasad wrote:
>>
>>> hi,
>>> we have an existing editor for a DSL. This DSL is expressed in an XML
>>> schema. We used EMF to build a form editor for this DSL.
>>>
>>> Our users have asked for UML like graphical editor for this DSL.
>>>
>>> I think if I can provide a UML style graphical editor for atleast some
>>> part of the DSL, it will be a good start. Our users may be ok to use the
>>> UML style edior to outline the models to some extent and for finer level
>>> editing they can switch to the form editor.
>>>
>>> Is the following approach correct ? Is there a better or different way ?
>>> 1. create a UML profile for this DSL.
>>> 2. Use this profile to develop few sample models with eclipse UML editor
>>> and any well known 3rd party tool.
>>> 3. export the models into XMI
>>> 4. Translate the XMI data into my custom xml [ Since my DSL models are
>>> xml files confirming to the DSL's XML schema].
>>>
>>> appreciate any guidence.
>>>
>>> Thanks
>>> Prasad
>>>
>>>
>>>
>
>
>
--------------090002090002060506090602
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">
Prasad,<br>
<br>
Comments below.<br>
<br>
<br>
prasad wrote:
<blockquote cite="mid:hm1ff6$5r5$1@build.eclipse.org" type="cite">
<pre wrap="">Thanks Ed.
Can you please elaborate why you think so [ I need to understand better to
convince our users ].
</pre>
</blockquote>
Because you can tailor the graphics to suit whatever you desire. I
imagine your DSL is far simpler than UML and you'll be able to create a
far simple editor that doesn't expose the hugeness of UML. You'll be
editing you DSL instance directly and saving them without
transformation to the XML format the users are expecting.<br>
<blockquote cite="mid:hm1ff6$5r5$1@build.eclipse.org" type="cite">
<pre wrap="">The standard argument by the users [on why they want a UML profile] is that
they think they can use many of the UML tools in the market to develop their
models. Is that not a reality in practice ?
</pre>
</blockquote>
The interchange between tools is getting to be quite good these days.
Many are using Eclipse UML2 directly, or plan to do so. So yes, that's
a reasonable argument. But you'll need to do two way transformation
between the profiled UML representation and your actual DSL
representation.<br>
<blockquote cite="mid:hm1ff6$5r5$1@build.eclipse.org" type="cite">
<pre wrap="">
thanks
Prasad
"Ed Merks" <a class="moz-txt-link-rfc2396E" href="mailto:Ed.Merks@gmail.com"><Ed.Merks@gmail.com></a> wrote in message
<a class="moz-txt-link-freetext" href="news:hm1dr0$ifk$1@build.eclipse.org">news:hm1dr0$ifk$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Prasad,
You're probably better off using GMF to define directly a graphical syntax
for your DSL.
prasad wrote:
</pre>
<blockquote type="cite">
<pre wrap="">hi,
we have an existing editor for a DSL. This DSL is expressed in an XML
schema. We used EMF to build a form editor for this DSL.
Our users have asked for UML like graphical editor for this DSL.
I think if I can provide a UML style graphical editor for atleast some
part of the DSL, it will be a good start. Our users may be ok to use the
UML style edior to outline the models to some extent and for finer level
editing they can switch to the form editor.
Is the following approach correct ? Is there a better or different way ?
1. create a UML profile for this DSL.
2. Use this profile to develop few sample models with eclipse UML editor
and any well known 3rd party tool.
3. export the models into XMI
4. Translate the XMI data into my custom xml [ Since my DSL models are
xml files confirming to the DSL's XML schema].
appreciate any guidence.
Thanks
Prasad
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>
--------------090002090002060506090602--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| |
Re: UML profile for an existing ecore model [message #516692 is a reply to message #516606] |
Wed, 24 February 2010 19:16 |
prasad Messages: 22 Registered: July 2009 |
Junior Member |
|
|
Thanks Ed, Vlad.
I gather that GMF is the right way to go.
I have a somewhat related question.
The developers will find the Graphical editor easier to use, but, other
groups of my users [ reviewers, documentation people, general audience ]
need a richer [ in the form of navigation , amount of data they see in a
view at a given time etc] viewers [ preferably web oriented]. I know we
could export the models into svg files which can be viewed in a browser.
My question is, what are the preferred technologies [by developer community
at large] for this purpose ? [ svg ? Ilog Jviews ? Graphwiz ? ].
Appreciate highly any information you can provide.
thanks
Prasad.
"Vlad Varnica" <varnica@omondo.com> wrote in message
news:hm3e36$nan$1@build.eclipse.org...
> UML profile will be lost if you try to transform your model to DSL, so
> don't spend time on this issue :(
> It is better to use a UML tool and add stereotype & change some shapes to
> cover DSL specification if the profile is a requirement.
>
> btw, as Ed Said, GMF is providing specialized tooling for DSL projects. I
> mean that you have a graphical and model element mapping and many goodies
> to add graphical extensions. If UML tool is not your need then GMF is the
> perfect candidate.
>
|
|
|
Re: UML profile for an existing ecore model [message #516705 is a reply to message #516692] |
Wed, 24 February 2010 20:38 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------090704040007000008050703
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Prasad,
The new Graphiti project is in the proposal stage. It might be useful too
<http://www.eclipse.org/proposals/graphiti/>
http://www.eclipse.org/proposals/graphiti/
I can't comment on what others prefer...
prasad wrote:
> Thanks Ed, Vlad.
> I gather that GMF is the right way to go.
>
> I have a somewhat related question.
> The developers will find the Graphical editor easier to use, but, other
> groups of my users [ reviewers, documentation people, general audience ]
> need a richer [ in the form of navigation , amount of data they see in a
> view at a given time etc] viewers [ preferably web oriented]. I know we
> could export the models into svg files which can be viewed in a browser.
>
> My question is, what are the preferred technologies [by developer community
> at large] for this purpose ? [ svg ? Ilog Jviews ? Graphwiz ? ].
>
> Appreciate highly any information you can provide.
>
> thanks
> Prasad.
>
>
> "Vlad Varnica" <varnica@omondo.com> wrote in message
> news:hm3e36$nan$1@build.eclipse.org...
>
>> UML profile will be lost if you try to transform your model to DSL, so
>> don't spend time on this issue :(
>>
>
>
>> It is better to use a UML tool and add stereotype & change some shapes to
>> cover DSL specification if the profile is a requirement.
>>
>> btw, as Ed Said, GMF is providing specialized tooling for DSL projects. I
>> mean that you have a graphical and model element mapping and many goodies
>> to add graphical extensions. If UML tool is not your need then GMF is the
>> perfect candidate.
>>
>>
>
>
>
--------------090704040007000008050703
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">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Prasad,<br>
<br>
The new Graphiti project is in the proposal stage. It might be useful
too<a href="http://www.eclipse.org/proposals/graphiti/"><br>
</a>
<blockquote><a href="http://www.eclipse.org/proposals/graphiti/">http://www.eclipse.org/proposals/graphiti/</a><br>
</blockquote>
I can't comment on what others prefer...<br>
<br>
<br>
prasad wrote:
<blockquote cite="mid:hm3tuv$6oq$1@build.eclipse.org" type="cite">
<pre wrap="">Thanks Ed, Vlad.
I gather that GMF is the right way to go.
I have a somewhat related question.
The developers will find the Graphical editor easier to use, but, other
groups of my users [ reviewers, documentation people, general audience ]
need a richer [ in the form of navigation , amount of data they see in a
view at a given time etc] viewers [ preferably web oriented]. I know we
could export the models into svg files which can be viewed in a browser.
My question is, what are the preferred technologies [by developer community
at large] for this purpose ? [ svg ? Ilog Jviews ? Graphwiz ? ].
Appreciate highly any information you can provide.
thanks
Prasad.
"Vlad Varnica" <a class="moz-txt-link-rfc2396E" href="mailto:varnica@omondo.com"><varnica@omondo.com></a> wrote in message
<a class="moz-txt-link-freetext" href="news:hm3e36$nan$1@build.eclipse.org">news:hm3e36$nan$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">UML profile will be lost if you try to transform your model to DSL, so
don't spend time on this issue :(
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">It is better to use a UML tool and add stereotype & change some shapes to
cover DSL specification if the profile is a requirement.
btw, as Ed Said, GMF is providing specialized tooling for DSL projects. I
mean that you have a graphical and model element mapping and many goodies
to add graphical extensions. If UML tool is not your need then GMF is the
perfect candidate.
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>
--------------090704040007000008050703--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
| | |
Re: UML profile for an existing ecore model [message #628251 is a reply to message #516423] |
Tue, 23 February 2010 21:38 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------090002090002060506090602
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Prasad,
Comments below.
prasad wrote:
> Thanks Ed.
>
> Can you please elaborate why you think so [ I need to understand better to
> convince our users ].
>
Because you can tailor the graphics to suit whatever you desire. I
imagine your DSL is far simpler than UML and you'll be able to create a
far simple editor that doesn't expose the hugeness of UML. You'll be
editing you DSL instance directly and saving them without transformation
to the XML format the users are expecting.
> The standard argument by the users [on why they want a UML profile] is that
> they think they can use many of the UML tools in the market to develop their
> models. Is that not a reality in practice ?
>
The interchange between tools is getting to be quite good these days.
Many are using Eclipse UML2 directly, or plan to do so. So yes, that's
a reasonable argument. But you'll need to do two way transformation
between the profiled UML representation and your actual DSL representation.
> thanks
> Prasad
>
>
> "Ed Merks" <Ed.Merks@gmail.com> wrote in message
> news:hm1dr0$ifk$1@build.eclipse.org...
>
>> Prasad,
>>
>> You're probably better off using GMF to define directly a graphical syntax
>> for your DSL.
>>
>>
>> prasad wrote:
>>
>>> hi,
>>> we have an existing editor for a DSL. This DSL is expressed in an XML
>>> schema. We used EMF to build a form editor for this DSL.
>>>
>>> Our users have asked for UML like graphical editor for this DSL.
>>>
>>> I think if I can provide a UML style graphical editor for atleast some
>>> part of the DSL, it will be a good start. Our users may be ok to use the
>>> UML style edior to outline the models to some extent and for finer level
>>> editing they can switch to the form editor.
>>>
>>> Is the following approach correct ? Is there a better or different way ?
>>> 1. create a UML profile for this DSL.
>>> 2. Use this profile to develop few sample models with eclipse UML editor
>>> and any well known 3rd party tool.
>>> 3. export the models into XMI
>>> 4. Translate the XMI data into my custom xml [ Since my DSL models are
>>> xml files confirming to the DSL's XML schema].
>>>
>>> appreciate any guidence.
>>>
>>> Thanks
>>> Prasad
>>>
>>>
>>>
>
>
>
--------------090002090002060506090602
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">
Prasad,<br>
<br>
Comments below.<br>
<br>
<br>
prasad wrote:
<blockquote cite="mid:hm1ff6$5r5$1@build.eclipse.org" type="cite">
<pre wrap="">Thanks Ed.
Can you please elaborate why you think so [ I need to understand better to
convince our users ].
</pre>
</blockquote>
Because you can tailor the graphics to suit whatever you desire. I
imagine your DSL is far simpler than UML and you'll be able to create a
far simple editor that doesn't expose the hugeness of UML. You'll be
editing you DSL instance directly and saving them without
transformation to the XML format the users are expecting.<br>
<blockquote cite="mid:hm1ff6$5r5$1@build.eclipse.org" type="cite">
<pre wrap="">The standard argument by the users [on why they want a UML profile] is that
they think they can use many of the UML tools in the market to develop their
models. Is that not a reality in practice ?
</pre>
</blockquote>
The interchange between tools is getting to be quite good these days.
Many are using Eclipse UML2 directly, or plan to do so. So yes, that's
a reasonable argument. But you'll need to do two way transformation
between the profiled UML representation and your actual DSL
representation.<br>
<blockquote cite="mid:hm1ff6$5r5$1@build.eclipse.org" type="cite">
<pre wrap="">
thanks
Prasad
"Ed Merks" <a class="moz-txt-link-rfc2396E" href="mailto:Ed.Merks@gmail.com"><Ed.Merks@gmail.com></a> wrote in message
<a class="moz-txt-link-freetext" href="news:hm1dr0$ifk$1@build.eclipse.org">news:hm1dr0$ifk$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">Prasad,
You're probably better off using GMF to define directly a graphical syntax
for your DSL.
prasad wrote:
</pre>
<blockquote type="cite">
<pre wrap="">hi,
we have an existing editor for a DSL. This DSL is expressed in an XML
schema. We used EMF to build a form editor for this DSL.
Our users have asked for UML like graphical editor for this DSL.
I think if I can provide a UML style graphical editor for atleast some
part of the DSL, it will be a good start. Our users may be ok to use the
UML style edior to outline the models to some extent and for finer level
editing they can switch to the form editor.
Is the following approach correct ? Is there a better or different way ?
1. create a UML profile for this DSL.
2. Use this profile to develop few sample models with eclipse UML editor
and any well known 3rd party tool.
3. export the models into XMI
4. Translate the XMI data into my custom xml [ Since my DSL models are
xml files confirming to the DSL's XML schema].
appreciate any guidence.
Thanks
Prasad
</pre>
</blockquote>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>
--------------090002090002060506090602--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Re: UML profile for an existing ecore model [message #628261 is a reply to message #516692] |
Wed, 24 February 2010 20:38 |
Ed Merks Messages: 33218 Registered: July 2009 |
Senior Member |
|
|
This is a multi-part message in MIME format.
--------------090704040007000008050703
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Prasad,
The new Graphiti project is in the proposal stage. It might be useful too
<http://www.eclipse.org/proposals/graphiti/>
http://www.eclipse.org/proposals/graphiti/
I can't comment on what others prefer...
prasad wrote:
> Thanks Ed, Vlad.
> I gather that GMF is the right way to go.
>
> I have a somewhat related question.
> The developers will find the Graphical editor easier to use, but, other
> groups of my users [ reviewers, documentation people, general audience ]
> need a richer [ in the form of navigation , amount of data they see in a
> view at a given time etc] viewers [ preferably web oriented]. I know we
> could export the models into svg files which can be viewed in a browser.
>
> My question is, what are the preferred technologies [by developer community
> at large] for this purpose ? [ svg ? Ilog Jviews ? Graphwiz ? ].
>
> Appreciate highly any information you can provide.
>
> thanks
> Prasad.
>
>
> "Vlad Varnica" <varnica@omondo.com> wrote in message
> news:hm3e36$nan$1@build.eclipse.org...
>
>> UML profile will be lost if you try to transform your model to DSL, so
>> don't spend time on this issue :(
>>
>
>
>> It is better to use a UML tool and add stereotype & change some shapes to
>> cover DSL specification if the profile is a requirement.
>>
>> btw, as Ed Said, GMF is providing specialized tooling for DSL projects. I
>> mean that you have a graphical and model element mapping and many goodies
>> to add graphical extensions. If UML tool is not your need then GMF is the
>> perfect candidate.
>>
>>
>
>
>
--------------090704040007000008050703
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">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Prasad,<br>
<br>
The new Graphiti project is in the proposal stage. It might be useful
too<a href="http://www.eclipse.org/proposals/graphiti/"><br>
</a>
<blockquote><a href="http://www.eclipse.org/proposals/graphiti/">http://www.eclipse.org/proposals/graphiti/</a><br>
</blockquote>
I can't comment on what others prefer...<br>
<br>
<br>
prasad wrote:
<blockquote cite="mid:hm3tuv$6oq$1@build.eclipse.org" type="cite">
<pre wrap="">Thanks Ed, Vlad.
I gather that GMF is the right way to go.
I have a somewhat related question.
The developers will find the Graphical editor easier to use, but, other
groups of my users [ reviewers, documentation people, general audience ]
need a richer [ in the form of navigation , amount of data they see in a
view at a given time etc] viewers [ preferably web oriented]. I know we
could export the models into svg files which can be viewed in a browser.
My question is, what are the preferred technologies [by developer community
at large] for this purpose ? [ svg ? Ilog Jviews ? Graphwiz ? ].
Appreciate highly any information you can provide.
thanks
Prasad.
"Vlad Varnica" <a class="moz-txt-link-rfc2396E" href="mailto:varnica@omondo.com"><varnica@omondo.com></a> wrote in message
<a class="moz-txt-link-freetext" href="news:hm3e36$nan$1@build.eclipse.org">news:hm3e36$nan$1@build.eclipse.org</a>...
</pre>
<blockquote type="cite">
<pre wrap="">UML profile will be lost if you try to transform your model to DSL, so
don't spend time on this issue :(
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
<blockquote type="cite">
<pre wrap="">It is better to use a UML tool and add stereotype & change some shapes to
cover DSL specification if the profile is a requirement.
btw, as Ed Said, GMF is providing specialized tooling for DSL projects. I
mean that you have a graphical and model element mapping and many goodies
to add graphical extensions. If UML tool is not your need then GMF is the
perfect candidate.
</pre>
</blockquote>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>
--------------090704040007000008050703--
Ed Merks
Professional Support: https://www.macromodeling.com/
|
|
|
Goto Forum:
Current Time: Thu Sep 26 05:58:21 GMT 2024
Powered by FUDForum. Page generated in 0.04247 seconds
|