Filter bug of UDT
diff --git a/1.5/plugins/org.eclipse.epf.authoring.ui/src/org/eclipse/epf/authoring/ui/dialogs/ItemsFilterDialog.java b/1.5/plugins/org.eclipse.epf.authoring.ui/src/org/eclipse/epf/authoring/ui/dialogs/ItemsFilterDialog.java
index a8c1072..5eb2222 100644
--- a/1.5/plugins/org.eclipse.epf.authoring.ui/src/org/eclipse/epf/authoring/ui/dialogs/ItemsFilterDialog.java
+++ b/1.5/plugins/org.eclipse.epf.authoring.ui/src/org/eclipse/epf/authoring/ui/dialogs/ItemsFilterDialog.java
@@ -40,6 +40,7 @@
 import org.eclipse.epf.library.edit.itemsfilter.FilterHelper;
 import org.eclipse.epf.library.edit.itemsfilter.ICategoryFilter;
 import org.eclipse.epf.library.edit.itemsfilter.IProcessFilter;
+import org.eclipse.epf.library.edit.meta.TypeDefUtil;
 import org.eclipse.epf.library.edit.navigator.MethodPluginItemProvider;
 import org.eclipse.epf.library.edit.process.BreakdownElementItemProvider;
 import org.eclipse.epf.library.edit.process.BreakdownElementWrapperItemProvider;
@@ -59,6 +60,7 @@
 import org.eclipse.epf.uma.ProcessComponent;
 import org.eclipse.epf.uma.ProcessPackage;
 import org.eclipse.epf.uma.VariabilityElement;
+import org.eclipse.epf.uma.util.ModifiedTypeMeta;
 import org.eclipse.epf.uma.util.Scope;
 import org.eclipse.epf.uma.util.UmaUtil;
 import org.eclipse.jface.dialogs.Dialog;
@@ -639,7 +641,15 @@
 		DIALOG_NAME = tabStr;
 		DialogSettings dialogSettings = (DialogSettings) getDialogSettings();
 		String temp = dialogSettings.get(DIALOG_NAME + PATTERN_ID); 
-		if (temp != null && temp.length() > 0) { 
+		
+		//clean filter for UDT element -Defect 46129
+		ModifiedTypeMeta mdtMeta = null;
+		if (helper != null){
+			Object ce = helper.getContentElement();
+			mdtMeta = TypeDefUtil.getMdtMeta((MethodElement)ce);
+		}
+		
+		if (temp != null && temp.length() > 0 && mdtMeta == null) { 
 			pattern = dialogSettings.get(DIALOG_NAME + PATTERN_ID); 
 			filterTypeStr = dialogSettings.get(DIALOG_NAME + TYPE_ID); 
 			filterType.setText(filterTypeStr);