if (activeLevel != PolicyLevel.NONE) {
policyAlgorithmCombo.setModel(dbModel.getAlgorithmModel(activeLevel));
if(currentPolicy.getAction() != null) {
policyAlgorithmCombo.setSelectedItem(currentPolicy.getAction().getAlgorithm());
Modes mode = currentPolicy.getAction().getMode();
policyModeCombo.setSelectedItem(mode);
}
}
policyUseTokenCheck.setSelected(currentPolicy.isUseToken());