Home » Modeling » UML2 » question about package merge
question about package merge [message #473314] |
Tue, 26 June 2007 17:57  |
Eclipse User |
|
|
|
Hi,
I want to build a heavyweight extension by merging L0 package. I build
an uml model and convert it to a metamodel. When I added the package
merge as a child for my root element, I didn't find L0 as an option for
the merged packaged?
Why the uml exist as an option for the merged package, although
UML.metamodel.uml is referenced?
also, I want to ask what I should do if I want to extend other packages
like the Primitive Types, or Abstraction package or any of its sub-packages?
Manar
|
|
| |
Re: question about package merge [message #473651 is a reply to message #473314] |
Wed, 04 July 2007 16:10   |
Eclipse User |
|
|
|
Manar,
You would first need to load the resource containing the package you want to
reference, i.e. by selecting the 'Load Resource...' item from the UML Editor
menu. The UML.metamodel.uml resource will have already be loaded since
you've applied a stereotype to your model (by virtue of converting it to a
metamodel), and profiles have references to the metamodel.
The other packages you mention can be found in the models from which the
compliance level models are composed, i.e. Infrastucture and UML.
Kenn
"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:f5s26f$evm$1@build.eclipse.org...
> Hi,
>
> I want to build a heavyweight extension by merging L0 package. I build an
> uml model and convert it to a metamodel. When I added the package merge as
> a child for my root element, I didn't find L0 as an option for the merged
> packaged?
> Why the uml exist as an option for the merged package, although
> UML.metamodel.uml is referenced?
> also, I want to ask what I should do if I want to extend other packages
> like the Primitive Types, or Abstraction package or any of its
> sub-packages?
>
>
> Manar
|
|
|
Re: question about package merge [message #473652 is a reply to message #473316] |
Wed, 04 July 2007 16:11  |
Eclipse User |
|
|
|
Manar,
Once you've defined the package merge relationships in your model, you can
"perform" the merge by highlighting the receiving package and selecting the
'Package > Merge...' option from the UML Editor menu.
Kenn
"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:f5t7ie$b1v$1@build.eclipse.org...
> Hi,
> I've one more question about what should I do to show the package merge
> options dialog and generate the resulting package.
>
> thanks in advance,
>
>
> Manar
>
>
> Manar El-Kady wrote:
>> Hi,
>>
>> I want to build a heavyweight extension by merging L0 package. I build an
>> uml model and convert it to a metamodel. When I added the package merge
>> as a child for my root element, I didn't find L0 as an option for the
>> merged packaged?
>> Why the uml exist as an option for the merged package, although
>> UML.metamodel.uml is referenced?
>> also, I want to ask what I should do if I want to extend other packages
>> like the Primitive Types, or Abstraction package or any of its
>> sub-packages?
>>
>>
>> Manar
|
|
|
Re: question about package merge [message #622580 is a reply to message #473314] |
Wed, 27 June 2007 04:36  |
Eclipse User |
|
|
|
Hi,
I've one more question about what should I do to show the package merge
options dialog and generate the resulting package.
thanks in advance,
Manar
Manar El-Kady wrote:
> Hi,
>
> I want to build a heavyweight extension by merging L0 package. I build
> an uml model and convert it to a metamodel. When I added the package
> merge as a child for my root element, I didn't find L0 as an option for
> the merged packaged?
> Why the uml exist as an option for the merged package, although
> UML.metamodel.uml is referenced?
> also, I want to ask what I should do if I want to extend other packages
> like the Primitive Types, or Abstraction package or any of its
> sub-packages?
>
>
> Manar
|
|
|
Re: question about package merge [message #622723 is a reply to message #473314] |
Wed, 04 July 2007 16:10  |
Eclipse User |
|
|
|
Manar,
You would first need to load the resource containing the package you want to
reference, i.e. by selecting the 'Load Resource...' item from the UML Editor
menu. The UML.metamodel.uml resource will have already be loaded since
you've applied a stereotype to your model (by virtue of converting it to a
metamodel), and profiles have references to the metamodel.
The other packages you mention can be found in the models from which the
compliance level models are composed, i.e. Infrastucture and UML.
Kenn
"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:f5s26f$evm$1@build.eclipse.org...
> Hi,
>
> I want to build a heavyweight extension by merging L0 package. I build an
> uml model and convert it to a metamodel. When I added the package merge as
> a child for my root element, I didn't find L0 as an option for the merged
> packaged?
> Why the uml exist as an option for the merged package, although
> UML.metamodel.uml is referenced?
> also, I want to ask what I should do if I want to extend other packages
> like the Primitive Types, or Abstraction package or any of its
> sub-packages?
>
>
> Manar
|
|
|
Re: question about package merge [message #622724 is a reply to message #473316] |
Wed, 04 July 2007 16:11  |
Eclipse User |
|
|
|
Manar,
Once you've defined the package merge relationships in your model, you can
"perform" the merge by highlighting the receiving package and selecting the
'Package > Merge...' option from the UML Editor menu.
Kenn
"Manar El-Kady" <manar.elkady@gmail.com> wrote in message
news:f5t7ie$b1v$1@build.eclipse.org...
> Hi,
> I've one more question about what should I do to show the package merge
> options dialog and generate the resulting package.
>
> thanks in advance,
>
>
> Manar
>
>
> Manar El-Kady wrote:
>> Hi,
>>
>> I want to build a heavyweight extension by merging L0 package. I build an
>> uml model and convert it to a metamodel. When I added the package merge
>> as a child for my root element, I didn't find L0 as an option for the
>> merged packaged?
>> Why the uml exist as an option for the merged package, although
>> UML.metamodel.uml is referenced?
>> also, I want to ask what I should do if I want to extend other packages
>> like the Primitive Types, or Abstraction package or any of its
>> sub-packages?
>>
>>
>> Manar
|
|
|
Goto Forum:
Current Time: Wed Jul 23 19:44:50 EDT 2025
Powered by FUDForum. Page generated in 0.24810 seconds
|