How do I refer to Types in another uml model? [message #473050] |
Wed, 30 May 2007 16:37  |
Eclipse User |
|
|
|
Hi,
I have two uml models and corresponding ecore exported files. I would like
to refer the Types in one of these uml models in another uml model. Is it
possible? Also how do I make sure that corresponding ecore files are
referenced as well?
Currently I am creating primitive types whenever I need to refer to such a
type. But they are simply too many of them.
Thanks
Pradeep
|
|
|
|
Re: How do I refer to Types in another uml model? [message #473075 is a reply to message #473069] |
Fri, 01 June 2007 09:07  |
Eclipse User |
|
|
|
See also the "Introduction to UML2 Profiles" article
( http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Intro duction_to_UML2_Profiles/article.html)
on the UML2 documentation page for an explanation of how to reuse types from
type libraries.
Kenn
"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:f3n9ui$r77$2@build.eclipse.org...
> Hi Pradeep,
>
> You could do something like what is done with the primitive types
> libraries
> under org.eclipse.uml2.uml.resources\libraries.
>
> If you want to use those, you could select "Load Resource..." from your
> "UML
> Editor" menu, then you use use the types in the libraries.
> When you export to ecore, you should get prompted to export those
> referenced
> libraries at that time.
>
> - James.
>
> "Pradeep" <eclipseuser123@yahoo.com> wrote in message
> news:f3kn9p$fkv$1@build.eclipse.org...
>> Hi,
>>
>> I have two uml models and corresponding ecore exported files. I would
>> like
>> to refer the Types in one of these uml models in another uml model. Is it
>> possible? Also how do I make sure that corresponding ecore files are
>> referenced as well?
>>
>> Currently I am creating primitive types whenever I need to refer to such
>> a
>> type. But they are simply too many of them.
>>
>> Thanks
>> Pradeep
>>
>>
>
>
|
|
|
Re: How do I refer to Types in another uml model? [message #619425 is a reply to message #473050] |
Thu, 31 May 2007 16:07  |
Eclipse User |
|
|
|
Hi Pradeep,
You could do something like what is done with the primitive types libraries
under org.eclipse.uml2.uml.resources\libraries.
If you want to use those, you could select "Load Resource..." from your "UML
Editor" menu, then you use use the types in the libraries.
When you export to ecore, you should get prompted to export those referenced
libraries at that time.
- James.
"Pradeep" <eclipseuser123@yahoo.com> wrote in message
news:f3kn9p$fkv$1@build.eclipse.org...
> Hi,
>
> I have two uml models and corresponding ecore exported files. I would like
> to refer the Types in one of these uml models in another uml model. Is it
> possible? Also how do I make sure that corresponding ecore files are
> referenced as well?
>
> Currently I am creating primitive types whenever I need to refer to such a
> type. But they are simply too many of them.
>
> Thanks
> Pradeep
>
>
|
|
|
Re: How do I refer to Types in another uml model? [message #619438 is a reply to message #473069] |
Fri, 01 June 2007 09:07  |
Eclipse User |
|
|
|
See also the "Introduction to UML2 Profiles" article
( http://www.eclipse.org/modeling/mdt/uml2/docs/articles/Intro duction_to_UML2_Profiles/article.html)
on the UML2 documentation page for an explanation of how to reuse types from
type libraries.
Kenn
"James Bruck" <jbruck@ca.ibm.com> wrote in message
news:f3n9ui$r77$2@build.eclipse.org...
> Hi Pradeep,
>
> You could do something like what is done with the primitive types
> libraries
> under org.eclipse.uml2.uml.resources\libraries.
>
> If you want to use those, you could select "Load Resource..." from your
> "UML
> Editor" menu, then you use use the types in the libraries.
> When you export to ecore, you should get prompted to export those
> referenced
> libraries at that time.
>
> - James.
>
> "Pradeep" <eclipseuser123@yahoo.com> wrote in message
> news:f3kn9p$fkv$1@build.eclipse.org...
>> Hi,
>>
>> I have two uml models and corresponding ecore exported files. I would
>> like
>> to refer the Types in one of these uml models in another uml model. Is it
>> possible? Also how do I make sure that corresponding ecore files are
>> referenced as well?
>>
>> Currently I am creating primitive types whenever I need to refer to such
>> a
>> type. But they are simply too many of them.
>>
>> Thanks
>> Pradeep
>>
>>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.03293 seconds