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

Commit

Permalink
Browse files Browse the repository at this point in the history
…3#c2, item: I, II
  • Loading branch information
Alex Eng committed Sep 26, 2013
1 parent ce26a5c commit 2f291ef
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 3 deletions.
Expand Up @@ -189,4 +189,7 @@ public interface UiMessages extends Messages

@DefaultMessage("Highlight matches")
String diffModeAsHighlight();

@DefaultMessage("Translation that contained validation warning or error.")
String invalidTooltip();
}
Expand Up @@ -110,7 +110,7 @@ public void onClick(ClickEvent event)
public void onClick(ClickEvent event)
{
hide();
listener.setFocus();
listener.setSelected(transUnitId);

This comment has been minimized.

Copy link
@huangp

huangp Sep 26, 2013

Collaborator

Could just reuse void onEditorClicked(TransUnitId id, int editorIndex); method. It will select the row and editor

}
});
}
Expand Down
Expand Up @@ -108,7 +108,7 @@ interface Listener

void rejectTranslation(TransUnitId id);

void setFocus();
void setSelected(TransUnitId transUnitId);

This comment has been minimized.

Copy link
@huangp

huangp Sep 26, 2013

Collaborator

Could just reuse void onEditorClicked(TransUnitId id, int editorIndex); method. It will select the row and editor

}

enum EditingState
Expand Down
Expand Up @@ -76,6 +76,7 @@ public TransFilterView(UiMessages messages)
hintMessage = messages.findSourceOrTargetString();
searchField.setTextBoxTitle(hintMessage);
initWidget(uiBinder.createAndBindUi(this));
hasErrorChk.setTitle(messages.invalidTooltip());
getElement().setId("TransFilterView");
}

Expand Down
Expand Up @@ -175,7 +175,7 @@
</li>

<li class="{style.drop-down}">
<g:CheckBox ui:field="hasErrorChk" styleName="{style.hasError} {style.checkbox}"><ui:msg>Has warning</ui:msg></g:CheckBox>
<g:CheckBox ui:field="hasErrorChk" styleName="{style.hasError} {style.checkbox}"><ui:msg>Invalid</ui:msg></g:CheckBox>
</li>
</ul>
</g:HTMLPanel>
Expand Down

0 comments on commit 2f291ef

Please sign in to comment.