updated isOwnerSelected()
diff --git a/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/configuration/ConfigurationHelper.java b/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/configuration/ConfigurationHelper.java
index 6c42c6d..d765ad2 100755
--- a/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/configuration/ConfigurationHelper.java
+++ b/plugins/org.eclipse.epf.library/src/org/eclipse/epf/library/configuration/ConfigurationHelper.java
@@ -11,6 +11,7 @@
 package org.eclipse.epf.library.configuration;
 
 import java.util.ArrayList;
+import java.util.Collections;
 import java.util.Iterator;
 import java.util.List;
 import java.util.TreeSet;
@@ -213,8 +214,26 @@
 		}
 		
 		// then check added categories
-		// TODO
-		
+		// TODO  
+		//jing.lin 2007/01/08
+		List addedCategoryList = config.getAddedCategory();
+		//get added content category.
+		ContentCategory contentCategory = null;
+		//ContentCategory tempContentCategory = null;
+		if (addedCategoryList != null && !addedCategoryList.isEmpty()) {
+			Iterator itr = addedCategoryList.iterator();
+			while (itr.hasNext()) {
+				contentCategory = (ContentCategory) itr.next();
+				if (contentCategory instanceof CustomCategory) {
+					List addedSubCategoryList = ((CustomCategory)contentCategory).getSubCategories();
+					List addedCategorizedElementsList = ((CustomCategory)contentCategory).getCategorizedElements();
+					if(addedSubCategoryList.contains(element) || addedCategorizedElementsList.contains(element) ){
+						return true;
+					}
+				}
+			}
+		}
+
 		// elements beyond configuration scope should be always visible
 		if ((element instanceof MethodLibrary)
 				|| (element instanceof MethodConfiguration)) {