Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
add tooltip when mouse over the editor
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesni committed Jul 5, 2011
1 parent 78f064d commit 5f4119d
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -155,7 +155,8 @@ public void renderRowValue(TransUnit rowValue, ColumnDefinition<TransUnit, Trans
view.setStyleName("TableEditorCell TableEditorCell-Target");
final Label label = new HighlightingLabel(rowValue.getTarget());
label.setStylePrimaryName("TableEditorContent");

// Add tooltip when mouse over the editor
label.setTitle("Click here to start translation");

This comment has been minimized.

Copy link
@seanf

seanf Jul 6, 2011

Contributor

Good, but please use the class NavigationMessages to obtain this string to aid localisation.

if (findMessage != null && !findMessage.isEmpty())
{
((HighlightingLabel) label).highlightSearch(findMessage);
Expand Down

0 comments on commit 5f4119d

Please sign in to comment.