void () { mySharedCheckbox.setSelected(myShareScope); myPanel.reset(myScope.getValue(), null); final PackageSet packageSet = myScope.getValue(); myPackageSet = packageSet != null ? packageSet.getText() : null; }