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("", "");
|
parentName = new Hyperlink("", "");
|
||||||
|
|
||||||
showInherited = new CheckBox();
|
showInherited = new CheckBox();
|
||||||
showInherited.setChecked(true);
|
showInherited.setValue(true);
|
||||||
showInherited.addClickHandler(new ClickHandler() {
|
showInherited.addClickHandler(new ClickHandler() {
|
||||||
public void onClick(ClickEvent event) {
|
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) {
|
for (final InheritedRefRight r : refRights) {
|
||||||
final int row = table.getRowCount();
|
final int row = table.getRowCount();
|
||||||
table.insertRow(row);
|
table.insertRow(row);
|
||||||
if (! showInherited.isChecked() && r.isInherited()) {
|
if (! showInherited.getValue() && r.isInherited()) {
|
||||||
table.getRowFormatter().setVisible(row, false);
|
table.getRowFormatter().setVisible(row, false);
|
||||||
}
|
}
|
||||||
applyDataRowStyle(row);
|
applyDataRowStyle(row);
|
||||||
|
|||||||
Reference in New Issue
Block a user