// // // // // $Revision: 915 $ // using System; using System.Collections; namespace ICSharpCode.Core { /// /// Creates file filter entries for OpenFileDialogs or SaveFileDialogs. /// /// /// The name of the file filter entry. /// /// /// The extensions associated with this file filter entry. /// /// Only in /SharpDevelop/Workbench/FileFilter /// /// String in the format "name|extensions". /// public class FileFilterDoozer : IDoozer { /// /// Gets if the doozer handles codon conditions on its own. /// If this property return false, the item is excluded when the condition is not met. /// public bool HandleConditions { get { return false; } } public object BuildItem(object caller, Codon codon, ArrayList subItems) { return StringParser.Parse(codon.Properties["name"]) + "|" + codon.Properties["extensions"]; } } }