lcaron / opal

Main repository for the Opal Project (SWT new widgets library)
50 stars 32 forks source link

Not displaying "display name" #38

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Create any table.
2. Give it an item with id 'id' and display name 'name'.
3. String 'id' is shown in GUI instead of 'name'.

What is the expected output? What do you see instead?
ID name is shown instead of display name in table items.

What version of the product are you using? On what operating system?
Version 0.9.5.2 on Windows 7 / Eclipse Kepler RCP

Please provide any additional information below.
Bug is in line 139 of 'PTWidgetTable':
  // use 'p.getDisplayName()' instead
  item.setText(0, StringUtil.safeToString(p.getName()));

Original issue reported on code.google.com by vetama...@optimyth.com on 16 Sep 2014 at 9:39

GoogleCodeExporter commented 9 years ago
Same line in 'PTWidgetTree' for tree mode.

Original comment by vetama...@optimyth.com on 16 Sep 2014 at 9:58

GoogleCodeExporter commented 9 years ago
Fixed in V1.0.1

Original comment by laurent....@gmail.com on 25 Sep 2014 at 12:06