package and ownedMembers [message #476210] |
Tue, 25 September 2007 07:04  |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi,
I want to create a group. Which means that it's the same as package except
that it does not own the members and that all it's members are components.
In the UML superstructure it says the following:
A package owns its owned members, with the implication that if a package
is removed from a model, so are the elements owned by the package.
Is it possible to assign elements to a package and that it does not own
them, and thus not delete them when the package is deleted? This basically
means that group imports the members, and doesn't own them.
regards
Nick
|
|
|
Re: package and ownedMembers [message #476211 is a reply to message #476210] |
Tue, 25 September 2007 09:05  |
Eclipse User |
|
|
|
Nick,
I suppose you could accomplish this by creating a package and importing (via
element imports) all the elements that are part of the "group". Note that
imported elements are considered part of the namespace for a package - they
are imported (not owned) members.
Kenn
"nick kirtley" <nickkirtley@gmail.com> wrote in message
news:ba1d9b289c9309fae937e788d2f90659$1@www.eclipse.org...
> Hi,
>
> I want to create a group. Which means that it's the same as package except
> that it does not own the members and that all it's members are components.
>
> In the UML superstructure it says the following:
> A package owns its owned members, with the implication that if a package
> is removed from a model, so are the elements owned by the package.
>
> Is it possible to assign elements to a package and that it does not own
> them, and thus not delete them when the package is deleted? This basically
> means that group imports the members, and doesn't own them.
>
> regards
>
> Nick
>
|
|
|
Re: package and ownedMembers [message #624999 is a reply to message #476210] |
Tue, 25 September 2007 09:05  |
Eclipse User |
|
|
|
Nick,
I suppose you could accomplish this by creating a package and importing (via
element imports) all the elements that are part of the "group". Note that
imported elements are considered part of the namespace for a package - they
are imported (not owned) members.
Kenn
"nick kirtley" <nickkirtley@gmail.com> wrote in message
news:ba1d9b289c9309fae937e788d2f90659$1@www.eclipse.org...
> Hi,
>
> I want to create a group. Which means that it's the same as package except
> that it does not own the members and that all it's members are components.
>
> In the UML superstructure it says the following:
> A package owns its owned members, with the implication that if a package
> is removed from a model, so are the elements owned by the package.
>
> Is it possible to assign elements to a package and that it does not own
> them, and thus not delete them when the package is deleted? This basically
> means that group imports the members, and doesn't own them.
>
> regards
>
> Nick
>
|
|
|
Powered by
FUDForum. Page generated in 0.06715 seconds