// Security mode
EnumLabel securityModeLabel = EnumLabel.getEnumLabel(SECURITY_MODES, systemModel.getSecurityMode());
Execution securityExec = new Execution() {
public boolean execute(Object selection) {
SecurityMode selectedSecurityMode = (SecurityMode) ((EnumLabel) selection).getEnumValue();
return systemModel.setSecurityMode(selectedSecurityMode);
}
};
Field securityField = createLabelAndChoiceField(OmniLinkBBClient.getString(OmniLinkClientResource.SECURITY_MODE), SECURITY_MODES, securityModeLabel, securityExec);