buttonEnabled.setSelection(p.isEnabled());
RuleSetDescriptor ruleSetDescriptor = p.getRuleSet();
filter = null;
SimplyfiedRuleSetDescriptor simpleDesc = (SimplyfiedRuleSetDescriptor) ruleSetDescriptor;
syncSubsButton.setSelection(simpleDesc.isSyncSubDirs());
FileFilter fileFilter = simpleDesc.getFileFilter();
filter = fileFilter;
if (fileFilter != null) {
textFilterDescription.setText(fileFilter.toString());
}
else {
textFilterDescription.setText("");
}
boolean useFilter = simpleDesc.isUseFilter();
buttonUseFileFilter.setSelection(useFilter);
enableFilterControls(useFilter);
FileFilterTree fileFilterTree = simpleDesc.getFileFilterTree();
if (fileFilterTree != null) {
itemsMap = fileFilterTree.getItemsMap();
}
}
catch (Exception e) {