item.setText(rf.getName());
item.setText(Resources.getString(rf.getName()));
  public void createTableMenu() {    Menu menu = new Menu(shell, SWT.POP_UP);    trackTable.setMenu(menu);    for (int i = 0; i < ratingFunctions.length; i++) {      RatingFunction rf = ratingFunctions[i];      MenuItem item = new MenuItem(menu, SWT.NONE);      item.setText(rf.getName());      item.addArmListener(new ToolTipArmListener(Resources.getString(rf.getName() + ".tooltip")));      final int value = rf.getValue();      item.addSelectionListener(new SelectionAdapter() {        public void widgetSelected(SelectionEvent e) {          setRating(trackTable.getSelectedTrack(), value);        }      });    }  }