return checkBox.getSelection();
}
};
// A conditional block that holds optional preview section.
Switcher<Boolean> checkerSwitch = rootScope.addSwitch(previewCheckBoxValue);
PreviewSwitchOutput switchBlockOutput = fillShowPreviewSwitch(checkerSwitch, updater,
rootScope, elements, evaluatorValue, parsedPropertyExpressionValue);
// Preview block may emit warning.