Community
Participate
Working Groups
My graphical editor shows program resource. The program has quoted name such as "a&&b&c" and the name will also be displayed on properties view title bar. In title bar, & character is used to denote the mnemonic. It shows the name as "a&bc" where c has a underline. The name displays correctly in the diagram main canvas and outline tree view.
Is this not your parserProvider returning a string with a mnemonic when asked for getPrintString for your element?
My parserProvider does return "a&&b&c". But the same string returns from provider is also used when outline tree view displays the node name.
(In reply to comment #2) > My parserProvider does return "a&&b&c". Why is this a bug them?
The bug is that the properties title should NOT treat & inside quoted name as mnemonic, ie, it should display the name as "a&&b&c". If application code escapes the &, the properties title may display correctly but the node name in outline view will be wrong because both share the same parseProvider.
(In reply to comment #4) > The bug is that the properties title should NOT treat & inside quoted name as > mnemonic, ie, it should display the name as "a&&b&c". Perfect, I get it now.
Moving to the next release, GMF 2.1.
[GMF Restructure] Bug 319140 : product GMF and component Runtime was the original product and component for this bug