Skip to content

Commit

Permalink
GSEControl has a name, use it in Eclipse
Browse files Browse the repository at this point in the history
  • Loading branch information
marcadetd committed Mar 14, 2024
1 parent cd85370 commit 4de6f38
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,9 @@ public Object getImage( Object object ) {
*/
@Override
public String getText( Object object ) {
return getText( object, getString( "_UI_GSEControl_type" ));
String label = (( GSEControl ) object ).getName();
return label == null || label.length() == 0 ? getString( "_UI_GSEControl_type" )
: getString( "_UI_GSEControl_type" ) + " " + label;
}

/**
Expand Down

0 comments on commit 4de6f38

Please sign in to comment.