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

            icon       = Context.GetIcon(Stock.OpenResourceFolder);
            closedIcon = Context.GetIcon(Stock.ClosedResourceFolder);
            label      = folder.Name;
        }
Ejemplo n.º 2
0
        public override void BuildChildNodes(ITreeBuilder builder, object dataObject)
        {
            Project       project = (Project)dataObject;
            GtkDesignInfo info    = GtkDesignInfo.FromProject(project);

            if (GtkDesignInfo.HasDesignedObjects(project))
            {
                GuiProjectFolder folder = new GuiProjectFolder(info.SteticFolder.FullPath, project, null);
                builder.AddChild(folder);
            }
        }
Ejemplo n.º 3
0
		public override void BuildChildNodes (ITreeBuilder builder, object dataObject)
		{
			Project project = (Project)dataObject;
			GtkDesignInfo info = GtkDesignInfo.FromProject (project);
			
			if (GtkDesignInfo.HasDesignedObjects (project)) {
				GuiProjectFolder folder = new GuiProjectFolder(info.SteticFolder.FullPath, project, null);
				builder.AddChild (folder);
			}
		}