Skip to content

Commit

Permalink
set sort label for quick access elements to avoid symbols get removed…
Browse files Browse the repository at this point in the history
… when they have the same label
  • Loading branch information
martinlippert committed Sep 27, 2024
1 parent d74f095 commit 8cd5d23
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,11 @@ public String getLabel() {
return LABEL_PROVIDER.getText(symbol);
}

@Override
public String getSortLabel() {
return getLabel() + " - " + this.idExtension; //$NON-NLS-1$
}

@Override
public ImageDescriptor getImageDescriptor() {
return ImageDescriptor.createFromImage(LABEL_PROVIDER.getImage(symbol));
Expand Down

0 comments on commit 8cd5d23

Please sign in to comment.