// Include the include-only filter if specified
if (includeOnlyScopedEntityFilterCheckBox.isSelected()) {
Object includeOnlyScopedEntityFilterFieldValue = includeOnlyScopedEntityFilterField.getEditor().getItem();
if (includeOnlyScopedEntityFilterFieldValue != null) {
scopedEntityFilterList.add(
new QualifiedNameBasedScopedEntityFilter(
new RegExpBasedQualifiedNameFilter(includeOnlyScopedEntityFilterFieldValue.toString().trim(), false)));
}
}
// Include the exclude filter if specified
if (excludeScopedEntityFilterCheckBox.isSelected()) {
Object excludeScopedEntityFilterFieldValue = excludeScopedEntityFilterField.getEditor().getItem();
if (excludeScopedEntityFilterFieldValue != null) {
scopedEntityFilterList.add(
new QualifiedNameBasedScopedEntityFilter(
new RegExpBasedQualifiedNameFilter(excludeScopedEntityFilterFieldValue.toString().trim(), true)));
}
}
return CompositeScopedEntityFilter.make(scopedEntityFilterList);