-
-
Notifications
You must be signed in to change notification settings - Fork 272
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Feature Request] Delete grouping concept without contained concepts #1070
Comments
Pretty sure that jArchi should be your friend for this. |
Agree that it is quite a hassle. A jArchi should be able to solve it, but I would think it should be a standard feature to delete an object in general while keeping the nested objects in the view. It should then work for all types of elements. |
Hi, I agree that this should, one day, become a built-in feature (I've needed it more than one time). But because a jArchi implementation is possible, Regards |
ok, appreciate your support. I will do without it... and hope for this feature to be built in, remaining a happy Archi user. |
I've written some POC code to do this in a generic way - delete a diagram object and move all of its child objects to the parent object/view. Needs more work but it's a start. |
I tried a jArchi script but it's just a try :( not working |
Because re-parenting is not implemented in jArchi. I'm working on a native implementation. When I get it working I'll update here. |
I've implemented this now. It's a generic implementation that will delete the selected container object from the View and re-parent the object's child objects to its immediate parent, which might be another container object or the View (diagram). All that's left to do is to decide what to name the function in the menu. At the moment we have "Delete from View" and "Delete from Model". The new feature could be something like:
Suggestions for a short yet descriptive menu item name are welcome... |
Maybe "delete and keep nested"? Or "Delete from view (keep nested)" |
"Remove container" I asked Ckaude : |
Btw, will it also work with multi select and do we have the function in jarchi as well for enabling automated cleanup scenario's in diagrams |
Yes, multi-select is supported. A jArchi implementation will come later once this has proved to be OK. |
I still can't decide what to call it. The important words are "delete" and "from View". I tried "Delete Container from View" but not everyone will understand "Container". Perhaps "Delete from View (keep children)"? |
My first idea is to retain the current menu functions but in case it is a container object, ask the user: 'do you want to keep the contained objects in the view?' This question can also be asked whenever one wants to delete a container from the model. Otherwise, I agree, 'Delete from View (keep children)' or 'Delete from View (keep contained objects'). And also? 'Delete from Model (keep contained objects in the view). |
I agree that would have been one way to do it, but because of the way things work internally with the Eclipse framework the regular "Delete" command can't be over-ridden to ask that question. That's why we also have a separate "Delete from Model" command. One advantage of having separate commands is that you can assign different shortcut keys.
That would require yet another menu item and (complicated) implementation. If it were part of the |
ok yes, I agree "Delete from View (keep children)" looks best |
This is in the Archi 5.5 Early Access builds. |
Description
In a view I have Archimate elements that contain other archimate elements. I'd like to delete the grouping concept from the view but not the contained elements. E.g. I have a visual group that contains several applications; I'd like to delete the visual group from the view but not the applications within the group. I think it is not possible to do this, except for dragging the contained elements out of the grouping concept and then delete the group. But that is quite a hassle...
The text was updated successfully, but these errors were encountered: