Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » question about package merge
question about package merge [message #473314] Tue, 26 June 2007 21:57 Go to next message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
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 #473316 is a reply to message #473314] Wed, 27 June 2007 08:36 Go to previous messageGo to next message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
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 #473651 is a reply to message #473314] Wed, 04 July 2007 20:10 Go to previous messageGo to next message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
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 20:11 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
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 08:36 Go to previous message
Manar El-Kady is currently offline Manar El-KadyFriend
Messages: 78
Registered: July 2009
Member
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 20:10 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
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 20:11 Go to previous message
Kenn Hussey is currently offline Kenn HusseyFriend
Messages: 1620
Registered: July 2009
Senior Member
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
Previous Topic:Issues with MagicDraw Models in New EMF Project
Next Topic:Model import and referencing
Goto Forum:
  


Current Time: Sat Apr 20 01:38:56 GMT 2024

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

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

Back to the top