| Summary: | Missing appropriate "Undo..." menu item name/label | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | [WebTools] Dali JPA Tools | Reporter: | Ram Venkataswamy <ram.venkataswamy> | ||||||
| Component: | Diagram Editor | Assignee: | Krum Bakalsky <krum.bakalsky> | ||||||
| Status: | VERIFIED FIXED | QA Contact: | Stefan Dimov <stefan.dimov> | ||||||
| Severity: | normal | ||||||||
| Priority: | P3 | CC: | bakalsky, david_williams, jolene.moffitt, neil.hauge, tranle1 | ||||||
| Version: | 3.0 | Flags: | david_williams:
pmc_approved+
stefan.dimov: pmc_approved? (raghunathan.srinivasan) stefan.dimov: pmc_approved? (naci.dai) stefan.dimov: pmc_approved? (deboer) stefan.dimov: pmc_approved? (neil.hauge) stefan.dimov: pmc_approved? (kaloyan) stefan.dimov: pmc_approved? (cbridgha) stefan.dimov: review+ neil.hauge: review+ |
||||||
| Target Milestone: | 3.0 RC2 | ||||||||
| Hardware: | All | ||||||||
| OS: | All | ||||||||
| Whiteboard: | PMC_approved | ||||||||
| Attachments: |
|
||||||||
|
Description
Ram Venkataswamy
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 |