Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Deletion of containers in Sirius(Deletion of containers in Sirius)
Deletion of containers in Sirius [message #1512150] Mon, 15 December 2014 13:46 Go to next message
Erlend Stav is currently offline Erlend StavFriend
Messages: 12
Registered: September 2012
Junior Member
We have a model in Sirius where we have a system that contain user defined groups. Other elements contained directly by the system can declare that they are members of these groups through cross-references.

The groups are visualised using GroupContainer in the diagram, and the elements that belong to the group are listed in this container. Their elements primary representation in the diagram is, however, as Nodes.

When deleting a group container instance, the elements referenced by the are also deleted from the diagram (despite these being cross-references).

Is this intended behaviour or a bug?
Re: Deletion of containers in Sirius [message #1514426 is a reply to message #1512150] Wed, 17 December 2014 09:32 Go to previous messageGo to next message
Florian Barbin is currently offline Florian BarbinFriend
Messages: 270
Registered: August 2010
Senior Member
Hi,

That is the current default behavior. The delete command recursively
performs a delete action on all sub-elements of the current deleted one.
I agree that may be confusing in the case of cross-references and this
default behavior may be questionable.
I suggest you to define your own delete tool on this specific group
container to override the default behavior by simply delete the group.

> We have a model in Sirius where we have a system that contain user
> defined groups. Other elements contained directly by the system can
> declare that they are members of these groups through cross-references.
>
> The groups are visualised using GroupContainer in the diagram, and the
> elements that belong to the group are listed in this container. Their
> elements primary representation in the diagram is, however, as Nodes.
>
> When deleting a group container instance, the elements referenced by the
> are also deleted from the diagram (despite these being cross-references).
>
> Is this intended behaviour or a bug?



Regards,

--
Florian - Obeo

Need professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Deletion of containers in Sirius [message #1515891 is a reply to message #1514426] Thu, 18 December 2014 13:22 Go to previous message
Erlend Stav is currently offline Erlend StavFriend
Messages: 12
Registered: September 2012
Junior Member
Thanks for your reply - I will look into using a delete tool as you suggest.

Should I report the default behaviour as a bug in bugzilla?
Previous Topic:Minimum configuration to execute sirius
Next Topic:Context of content in Sirius
Goto Forum:
  


Current Time: Tue Apr 23 14:06:00 GMT 2024

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

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

Back to the top