matthiasblaesing commented on PR #8685:
URL: https://github.com/apache/netbeans/pull/8685#issuecomment-3133768526

   > > I don't understand the motivation for the delete action on the remotes. 
The list of all remotes is directly in the tree about 20px down from the 
context menu.
   > 
   > I wanted to have it consistent, if I can add smth, I should be able to 
remove it exactly from the same menu. Yes, we can argue about "ok so you can 
remove one selected remote but not adding one", yes, this is correct, but I 
guess this doesn't make sense there because you select one and remove one. I'm 
fine of removing if wanted and disturbing.
   
   It is common, that the place where you create is not identical to the place 
where you delete. Consider file operations (as in NetBeans IDE or file 
managers): File creation is often invoked from the context menu of parent 
folder or from menu when a folder is open, but deletion is invoked on the 
created file. I would not expect, that you invoke a "Delete dialog" and then 
select the file to delete.
   
   - DB Connections are created from the "Databases" node, they are remove by 
invoking delete on the target connection node
   - For Servers (Application Servers) the create action in anchored to the 
"Servers" node, but removal is anchored on the created server
   - Docker nodes are registerd via the "Add Docker" action on the "Docker" 
node and removed via the individual instance node
   
   I think the pattern, that there is a root node where you can create new sub 
nodes (services/servers/nodes) and where the removal action is tied to the 
instance node is an established pattern inside the IDE and outside.
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to