// // // // // $Revision: 1965 $ // using System; using System.Collections; namespace ICSharpCode.Core { /// /// Creates associations between file types or node types in the project browser and /// icons in the resource service. /// /// /// The name of a bitmap resource in the resource service. /// /// /// This attribute is specified when a project icon association should be created. /// It specifies the language of the project types that use the icon. /// /// /// This attribute is specified when a file icon association should be created. /// It specifies the semicolon-separated list of file types that use the icon. /// /// Only in /Workspace/Icons /// /// An IconDescriptor object that exposes the attributes. /// public class IconDoozer : 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 new IconDescriptor(codon); } } }