Replace isChecked and setChecked
Use deprecation replacements getValue and setValue. Change-Id: I30c4d9a98c060c41fd1a4f8a68bf41fea7a04c1a
This commit is contained in:
committed by
Shawn O. Pearce
parent
8bc0d7d481
commit
aa9a7a92ce
@@ -87,10 +87,10 @@ public class ProjectAccessScreen extends ProjectScreen {
|
||||
parentName = new Hyperlink("", "");
|
||||
|
||||
showInherited = new CheckBox();
|
||||
showInherited.setChecked(true);
|
||||
showInherited.setValue(true);
|
||||
showInherited.addClickHandler(new ClickHandler() {
|
||||
public void onClick(ClickEvent event) {
|
||||
rights.showInherited(showInherited.isChecked());
|
||||
rights.showInherited(showInherited.getValue());
|
||||
}
|
||||
});
|
||||
|
||||
@@ -215,7 +215,7 @@ public class ProjectAccessScreen extends ProjectScreen {
|
||||
for (final InheritedRefRight r : refRights) {
|
||||
final int row = table.getRowCount();
|
||||
table.insertRow(row);
|
||||
if (! showInherited.isChecked() && r.isInherited()) {
|
||||
if (! showInherited.getValue() && r.isInherited()) {
|
||||
table.getRowFormatter().setVisible(row, false);
|
||||
}
|
||||
applyDataRowStyle(row);
|
||||
|
||||
Reference in New Issue
Block a user