Bug 477348 - [e4 Tools] Add sub element to Model Fragment is not internationalized
Summary: [e4 Tools] Add sub element to Model Fragment is not internationalized
Status: CLOSED WONTFIX
Alias: None
Product: Platform
Classification: Eclipse Project
Component: IDE (show other bugs)
Version: 4.5   Edit
Hardware: PC Windows NT
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Jonas Helming CLA
QA Contact:
URL:
Whiteboard: stalebug
Keywords: bugday
Depends on:
Blocks:
 
Reported: 2015-09-14 06:10 EDT by Jonas Helming CLA
Modified: 2020-01-11 02:12 EST (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jonas Helming CLA 2015-09-14 06:10:28 EDT
As identified in Bug 422999, the right click menu on a model fragment as well as the drop down is currently not internationalized. There are also no icons shown. This is because the contents of this menu are calculated, it allows all applications elements to be added. 
To fix that, we would need a service, which can return the message for the menu and the image derived from the EClass:

String getAddMenuMessage(EClass);

and

String getAddMenuImagePath(EClass);

The service should access the existing resources:

org.eclipse.e4.tools.emf.ui.internal.Messages

and

org.eclipse.e4.tools.emf.ui.internal.ResourceProvider

The service should return the default label as a default.
Comment 1 Jonas Helming CLA 2015-09-25 07:36:29 EDT
Tom: are you fine with that change?
Comment 2 Thomas Schindl CLA 2015-09-25 08:49:25 EDT
sure
Comment 3 Eclipse Genie CLA 2020-01-11 02:12:49 EST
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. As such, we're closing this bug.

If you have further information on the current state of the bug, please add it and reopen this bug. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.

--
The automated Eclipse Genie.