public override void BuildNode(ITreeBuilder treeBuilder, object dataObject, ref string label, ref Gdk.Pixbuf icon, ref Gdk.Pixbuf closedIcon)
        {
            NamespaceData nsData = dataObject as NamespaceData;

            label = treeBuilder.Options ["NestedNamespaces"] ? nsData.Name : nsData.FullName;
            icon  = Context.GetIcon(Stock.NameSpace);
        }
Ejemplo n.º 2
0
        public override void BuildNode(ITreeBuilder treeBuilder, object dataObject, NodeInfo nodeInfo)
        {
            NamespaceData nsData = dataObject as NamespaceData;

            nodeInfo.Label = treeBuilder.Options ["NestedNamespaces"] ? nsData.Name : nsData.FullName;
            nodeInfo.Icon  = Context.GetIcon(Stock.NameSpace);
        }
        public override void BuildChildNodes(ITreeBuilder builder, object dataObject)
        {
            NamespaceData nsData = dataObject as NamespaceData;

            nsData.AddProjectContent(builder);
        }
Ejemplo n.º 4
0
        public override bool Equals(object ob)
        {
            NamespaceData other = ob as NamespaceData;

            return(other != null && namesp == other.namesp);
        }