public ChangeEncodingAction(IViewPart view, ISelectionProvider selectionProvider, String encoding, String key) {
super(view, selectionProvider);
this.encoding = encoding;
- setText(Messages.getString(getClass(), key));
- setToolTipText(Messages.getString(getClass(), key));
+ setText(key + " " + Messages.getString(getClass(), "encoding"));
+ setToolTipText(key + " " + Messages.getString(getClass(), "encoding"));
}
/* (non-Javadoc)