//DSL might be prohibited (e.g. editing a DRL file. Only DSLR files can contain DSL)
if ( ruleModeller.isDSLEnabled() ) {
CheckBox chkOnlyDisplayDSLConditions = new CheckBox();
chkOnlyDisplayDSLConditions.setText( GuidedRuleEditorResources.CONSTANTS.OnlyDisplayDSLConditions() );
chkOnlyDisplayDSLConditions.setValue( onlyShowDSLStatements );
chkOnlyDisplayDSLConditions.addValueChangeHandler( new ValueChangeHandler<Boolean>() {
public void onValueChange( ValueChangeEvent<Boolean> event ) {
onlyShowDSLStatements = event.getValue();
choicesPanel.setWidget( makeChoicesListBox() );
}