Community
Participate
Working Groups
Build Identifier: I20110310-1119 Missing appropriate "Undo..." menu item name/label Reproducible: Always Steps to Reproduce: - open JPA Diagram editor - right click on the editor "Show all entities" - now, right click on editor and notice the undo menu item "Undo org.eclipse.jpt.jpadiagrameditor.ui.internal.feature.AddAllEntiesFeature" Suggestion: Instead it should be a readable message like "Undo Show All Entities"
Created attachment 195978 [details] Patch proposal The AbstractCustomFeature class from Graphiti provides the getName() method, which is used for displaying the feature name.
Hi Ram, Thanks for reporting this bug, your observation definitely makes sense. @Stefan: I have proposed a patch, the JUnit tests run fine. Could you please take a look at it ? Kindest Regards, Krum.
Created attachment 195983 [details] Removing some unnecessary changes from my dirty workspace
The bug is not critical, but it's annoying to see some obviously incorrect texts. There is no workaround. The fix was tested manually and all the exisiting JUnit tests are passing successfully. The patch may seem relatively big, but actually all it does is to implement in about fifteen different features the method getName(), which provides the necessary text to the framework. I've reviewed the fix. The impact of the fix is little, so the risk is low.
This is a UI change, but fixes an ugly scenario. Also and adopter requested fix. Fix is trivial.
On a very strict level, it's an UI change, but actually it changes the text of already existing context menu item ...
Patch committed in RC2
.
Verified in Build I-3.3.0RC4-20110603221533 Verified appropriate Undo text appears in diagram editor. See the link to view test steps for verification. http://wiki.eclipse.org/Dali_3.0_RC2