Community
Participate
Working Groups
There is a duplication of the "Delete" menu choice on the context menu in the Model Explorer, one at the top of the context with the name "Delete..." and one more further down, above the "Rename" menu choice, named "Delete". Steps to reproduce: 1) Make a clean install of Mars M7 modeling package 2) Install only the Papyrus UML from main (no extra to avoid the possibility of some extra component contributing the duplicate menu choice). 3) Create a new Papyrus UML model 4) Add one model element below the root element 5) Right click on the added model element to bring up the context menu Result: One "Delete..." menu choice at top and one duplicated "Delete" above the "Rename" menu choice.
The "Delete" at top is suspicious, but I can't reproduce it Which version of Eclipse did you install? Standard/Classic/Committer, or Modeling?
I did some test and what I found was that both menu items go to the same handler from what I could see.
(In reply to Camille Letavernier from comment #1) > The "Delete" at top is suspicious, but I can't reproduce it > > Which version of Eclipse did you install? Standard/Classic/Committer, or > Modeling? I made a clean install starting with the Eclipse Modeling Tools M7 package: https://www.eclipse.org/downloads/download.php?file=/technology/epp/downloads/release/mars/M7/eclipse-modeling-mars-M7-win32.zip Then I installed the latest Mars build of Papyrus UML only (no extra components).
> I made a clean install starting with the Eclipse Modeling Tools M7 package: I suppose the chances are high that a Modeling Component installs a delete menu on everything that looks like an EObject (Although that would certainly be a bad idea) I'll install the modeling tools and see what happens > I did some test and what I found was that both menu items go to the same handler from what I could see. Papyrus uses the standard Eclipse Delete command, with its own handler. So, I'm not surprised that the behavior of both menu entries is the same, since they probably both use the same standard delete command.
Confirmed on Modeling M7 + Papyrus This menu is not contributed by Papyrus itself