Changeset 843 for trunk/quest-plugin-jfc
- Timestamp:
- 09/20/12 17:14:49 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/quest-plugin-jfc/src/main/java/de/ugoe/cs/quest/plugin/jfc/JFCTraceCorrector.java
r840 r843 624 624 } 625 625 else { 626 title = icon; 626 // to be able to distinguish some elements, that usually have no name but an icon, 627 // try to include some of their specific identifying information in their name. 628 if ("org.tigris.toolbar.toolbutton.PopupToolBoxButton".equals(clazz)) 629 { 630 icon = icon.substring(0, icon.lastIndexOf('@')); 631 title = clazz.substring(clazz.lastIndexOf('.') + 1) + "(position " + 632 component.getX() + ")"; 633 } 634 else { 635 title = icon; 636 } 627 637 } 628 638 }
Note: See TracChangeset
for help on using the changeset viewer.