[MonoDevelop] [patch] Templates
John Luke
john.luke@gmail.com
Fri, 18 Feb 2005 10:34:17 -0500
Hey,
This looks fine to commit to me if you have access. Thanks for doing it.
Ben Motmans wrote:
>New templates:
> C#
> - Gtk# 2.0 project
> - Gnome# 2.0 project
> - Glade# 2.0 project
> VB.NET
> - Gtk# project
> - Gtk# 2.0 project
>
>Other templates:
>lot's of changes to create consistent names inside the "New Solution"
>and "Add File" dialogs
>
>-- Ben
>
>
>------------------------------------------------------------------------
>
>Index: Core/src/AddIns/BackendBindings/ILAsmBinding/ChangeLog
>===================================================================
>--- Core/src/AddIns/BackendBindings/ILAsmBinding/ChangeLog (revision 2251)
>+++ Core/src/AddIns/BackendBindings/ILAsmBinding/ChangeLog (working copy)
>@@ -1,3 +1,7 @@
>+2005-02-16 Ben Motmans <ben.motmans@gmail.com>
>+
>+ * ILAsmConsoleProject.xpt.xml: Consistent naming
>+
> 2005-01-24 John Luke <john.luke@gmail.com>
>
> * ILAsmCompilerManager.cs: update to work like CSharpBinding
>Index: Core/src/AddIns/BackendBindings/ILAsmBinding/ILAsmConsoleProject.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/ILAsmBinding/ILAsmConsoleProject.xpt.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/ILAsmBinding/ILAsmConsoleProject.xpt.xml (working copy)
>@@ -5,7 +5,7 @@
>
> <!-- Template Header -->
> <TemplateConfiguration>
>- <_Name>ILAsm Console Project</_Name>
>+ <_Name>Console Project</_Name>
> <Category>ILAsm</Category>
> <Icon>C#.Project.DOSProject</Icon>
> <LanguageName>ILAsm</LanguageName>
>Index: Core/src/AddIns/BackendBindings/VBNetBinding/VBNetBinding.addin.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/VBNetBinding/VBNetBinding.addin.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/VBNetBinding/VBNetBinding.addin.xml (working copy)
>@@ -26,6 +26,10 @@
> location = "templates/EmptyVBProject.xpt.xml"/>
> <ProjectTemplate id = "VBConsoleApplicationProject"
> location = "templates/VBConsoleApplicationProject.xpt.xml"/>
>+ <ProjectTemplate id = "VBGtkSharpProject"
>+ location = "templates/VBGtkSharpProject.xpt.xml"/>
>+ <ProjectTemplate id = "VBGtkSharp2Project"
>+ location = "templates/VBGtkSharp2Project.xpt.xml"/>
> </Extension>
>
> <Extension path = "/Workspace/Parser">
>Index: Core/src/AddIns/BackendBindings/VBNetBinding/ChangeLog
>===================================================================
>--- Core/src/AddIns/BackendBindings/VBNetBinding/ChangeLog (revision 2251)
>+++ Core/src/AddIns/BackendBindings/VBNetBinding/ChangeLog (working copy)
>@@ -1,3 +1,16 @@
>+2005-02-16 Ben Motmans <ben.motmans@gmail.com>
>+
>+ * EmptyVBFile.xpt.xml:
>+ * EmptyVBProject.xpt.xml:
>+ * VBConsoleApplicationProject.xpt.xml:
>+ Consistent naming
>+
>+ * VBGtkSharpProject.xpt.xml:
>+ * VBGtkSharp2Project.xpt.xml:
>+ * VBNetBinding.addin.xml:
>+ * Makefile.am:
>+ Added templates
>+
> 2005-01-28 John Luke <john.luke@gmail.com>
>
> * SharpRefactoryVB/src/Lexer/Lexer.cs:
>Index: Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBFile.xft.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBFile.xft.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBFile.xft.xml (working copy)
>@@ -2,7 +2,7 @@
> <Template Originator="Levi Bard" Language="VBNet" Created="10/19/2004" LastModified="10/19/2004">
>
> <TemplateConfiguration>
>- <_Name>Empty VB File</_Name>
>+ <_Name>Empty File</_Name>
> <Icon>VB.File.EmptyFile</Icon>
> <Category>VBNet</Category>
> <LanguageName>VBNet</LanguageName>
>Index: Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBProject.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBProject.xpt.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/VBNetBinding/templates/EmptyVBProject.xpt.xml (working copy)
>@@ -5,7 +5,7 @@
>
> <!-- Template Header -->
> <TemplateConfiguration>
>- <_Name>Empty VB.NET Project</_Name>
>+ <_Name>Empty Project</_Name>
> <Category>VBNet</Category>
> <Icon>VB.Project.EmptyProject</Icon>
> <LanguageName>VBNet</LanguageName>
>Index: Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharpProject.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharpProject.xpt.xml (revision 0)
>+++ Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharpProject.xpt.xml (revision 0)
>@@ -0,0 +1,107 @@
>+<?xml version="1.0"?>
>+<Template originator = "Ben Motmans"
>+ created = "02/16/2005"
>+ lastModified = "02/16/2005">
>+
>+ <!-- Template Header -->
>+ <TemplateConfiguration>
>+ <_Name>Gtk# Project</_Name>
>+ <Category>VBNet</Category>
>+ <Icon>VB.Project.Form</Icon>
>+ <LanguageName>VBNet</LanguageName>
>+ <_Description>Creates a VB.NET Gtk# project.</_Description>
>+ </TemplateConfiguration>
>+
>+ <!-- Actions -->
>+ <Actions>
>+ <Open filename = "Main.vb"/>
>+ </Actions>
>+
>+ <!-- Template Content -->
>+ <Combine name = "${ProjectName}" directory = ".">
>+ <Options>
>+ <StartupProject>${ProjectName}</StartupProject>
>+ </Options>
>+
>+ <Project name = "${ProjectName}" directory = ".">
>+ <Options/>
>+
>+ <References>
>+ <Reference type="Gac" refto="gtk-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="gdk-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glib-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glade-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="pango-sharp, Version=1.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ </References>
>+
>+ <Files>
>+ <File name="Main.vb"><![CDATA[' project created on ${Date} at ${Time}
>+Imports System
>+Imports Gtk
>+
>+Public Class MainClass
>+
>+ Public Shared Sub Main ()
>+ Application.Init ()
>+ new MyWindow ()
>+ Application.Run ()
>+ End Sub
>+
>+End Class]]></File>
>+ <File name="MyWindow.vb"><![CDATA[Imports System
>+Imports Gtk
>+
>+Public Class MyWindow
>+ Inherits Window
>+
>+ Public Sub New ()
>+ MyBase.New("MyWindow")
>+
>+ Me.SetDefaultSize (400, 300)
>+ AddHandler MyBase.DeleteEvent, AddressOf OnMyWindowDelete
>+ Me.ShowAll ()
>+ End Sub
>+
>+ Private Sub OnMyWindowDelete (ByVal sender As Object, ByVal a As DeleteEventArgs)
>+ Application.Quit ()
>+ a.RetVal = true
>+ End Sub
>+
>+End Class]]></File>
>+ <File name="AssemblyInfo.cs"><![CDATA[Imports System.Reflection
>+Imports System.Runtime.InteropServices
>+
>+' Information about this assembly is defined by the following
>+' attributes.
>+'
>+' change them to the information which is associated with the assembly
>+' you compile.
>+
>+<Assembly: AssemblyTitle("")>
>+<Assembly: AssemblyDescription("")>
>+<Assembly: AssemblyConfiguration("")>
>+<Assembly: AssemblyCompany("")>
>+<Assembly: AssemblyProduct("")>
>+<Assembly: AssemblyCopyright("")>
>+<Assembly: AssemblyTrademark("")>
>+<Assembly: AssemblyCulture("")>
>+
>+' The assembly version has following format :
>+'
>+' Major.Minor.Build.Revision
>+'
>+' You can specify all values by your own or you can build default build and revision
>+' numbers with the '*' character (the default):
>+
>+<Assembly: AssemblyVersion("1.0.*")>
>+
>+' The following attributes specify the key for the sign of your assembly. See the
>+' .NET Framework documentation for more information about signing.
>+' This is not required, if you don't want signing let these attributes like they're.
>+<Assembly: AssemblyDelaySign(false)>
>+<Assembly: AssemblyKeyFile("")>
>+]]></File>
>+ </Files>
>+ </Project>
>+ </Combine>
>+</Template>
>Index: Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml (revision 0)
>+++ Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBGtkSharp2Project.xpt.xml (revision 0)
>@@ -0,0 +1,107 @@
>+<?xml version="1.0"?>
>+<Template originator = "Ben Motmans"
>+ created = "02/16/2005"
>+ lastModified = "02/16/2005">
>+
>+ <!-- Template Header -->
>+ <TemplateConfiguration>
>+ <_Name>Gtk# 2.0 Project</_Name>
>+ <Category>VBNet</Category>
>+ <Icon>VB.Project.Form</Icon>
>+ <LanguageName>VBNet</LanguageName>
>+ <_Description>Creates a VB.NET Gtk# 2.0 project.</_Description>
>+ </TemplateConfiguration>
>+
>+ <!-- Actions -->
>+ <Actions>
>+ <Open filename = "Main.vb"/>
>+ </Actions>
>+
>+ <!-- Template Content -->
>+ <Combine name = "${ProjectName}" directory = ".">
>+ <Options>
>+ <StartupProject>${ProjectName}</StartupProject>
>+ </Options>
>+
>+ <Project name = "${ProjectName}" directory = ".">
>+ <Options/>
>+
>+ <References>
>+ <Reference type="Gac" refto="gtk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="gdk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glib-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glade-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="pango-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ </References>
>+
>+ <Files>
>+ <File name="Main.vb"><![CDATA[' project created on ${Date} at ${Time}
>+Imports System
>+Imports Gtk
>+
>+Public Class MainClass
>+
>+ Public Shared Sub Main ()
>+ Application.Init ()
>+ new MyWindow ()
>+ Application.Run ()
>+ End Sub
>+
>+End Class]]></File>
>+ <File name="MyWindow.vb"><![CDATA[Imports System
>+Imports Gtk
>+
>+Public Class MyWindow
>+ Inherits Window
>+
>+ Public Sub New ()
>+ MyBase.New("MyWindow")
>+
>+ Me.SetDefaultSize (400, 300)
>+ AddHandler MyBase.DeleteEvent, AddressOf OnMyWindowDelete
>+ Me.ShowAll ()
>+ End Sub
>+
>+ Private Sub OnMyWindowDelete (ByVal sender As Object, ByVal a As DeleteEventArgs)
>+ Application.Quit ()
>+ a.RetVal = true
>+ End Sub
>+
>+End Class]]></File>
>+ <File name="AssemblyInfo.cs"><![CDATA[Imports System.Reflection
>+Imports System.Runtime.InteropServices
>+
>+' Information about this assembly is defined by the following
>+' attributes.
>+'
>+' change them to the information which is associated with the assembly
>+' you compile.
>+
>+<Assembly: AssemblyTitle("")>
>+<Assembly: AssemblyDescription("")>
>+<Assembly: AssemblyConfiguration("")>
>+<Assembly: AssemblyCompany("")>
>+<Assembly: AssemblyProduct("")>
>+<Assembly: AssemblyCopyright("")>
>+<Assembly: AssemblyTrademark("")>
>+<Assembly: AssemblyCulture("")>
>+
>+' The assembly version has following format :
>+'
>+' Major.Minor.Build.Revision
>+'
>+' You can specify all values by your own or you can build default build and revision
>+' numbers with the '*' character (the default):
>+
>+<Assembly: AssemblyVersion("1.0.*")>
>+
>+' The following attributes specify the key for the sign of your assembly. See the
>+' .NET Framework documentation for more information about signing.
>+' This is not required, if you don't want signing let these attributes like they're.
>+<Assembly: AssemblyDelaySign(false)>
>+<Assembly: AssemblyKeyFile("")>
>+]]></File>
>+ </Files>
>+ </Project>
>+ </Combine>
>+</Template>
>Index: Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/VBNetBinding/templates/VBConsoleApplicationProject.xpt.xml (working copy)
>@@ -5,7 +5,7 @@
>
> <!-- Template Header -->
> <TemplateConfiguration>
>- <_Name>VB.NET Console Project</_Name>
>+ <_Name>Console Project</_Name>
> <Category>VBNet</Category>
> <Icon>VB.Project.DOSProject</Icon>
> <LanguageName>VBNet</LanguageName>
>Index: Core/src/AddIns/BackendBindings/VBNetBinding/Makefile.am
>===================================================================
>--- Core/src/AddIns/BackendBindings/VBNetBinding/Makefile.am (revision 2251)
>+++ Core/src/AddIns/BackendBindings/VBNetBinding/Makefile.am (working copy)
>@@ -40,7 +40,9 @@
> TEMPLATES = \
> templates/EmptyVBFile.xft.xml \
> templates/EmptyVBProject.xpt.xml \
>-templates/VBConsoleApplicationProject.xpt.xml
>+templates/VBConsoleApplicationProject.xpt.xml \
>+templates/VBGtkSharpProject.xpt.xml \
>+templates/VBGtkSharp2Project.xpt.xml
>
> build_sources = $(addprefix $(srcdir)/, $(FILES))
>
>Index: Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog
>===================================================================
>--- Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog (revision 2251)
>+++ Core/src/AddIns/BackendBindings/CSharpBinding/ChangeLog (working copy)
>@@ -1,3 +1,18 @@
>+2005-02-16 Ben Motmans <ben.motmans@gmail.com>
>+
>+ * ConsoleProject.xpt.xml:
>+ * CSharpSessionStateWebService.xpt.xml:
>+ * CSharpWebService.xpt.xml:
>+ * Library.xpt.xml:
>+ Consistent naming
>+
>+ * GladeSharp2Project.xpt.xml:
>+ * GnomeSharp2Project.xpt.xml:
>+ * GtkSharp2Project.xpt.xml:
>+ * CSharpBinding.addin.xml:
>+ * Makefile.am:
>+ Added templates
>+
> 2005-02-05 John Luke <john.luke@gmail.com>
>
> * Gui/CodeGenerationPanel.cs: enable doc generation
>Index: Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBinding.addin.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBinding.addin.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBinding.addin.xml (working copy)
>@@ -44,10 +44,16 @@
> location = "templates/EmptyProject.xpt.xml"/>
> <ProjectTemplate id = "GladeSharpProject"
> location = "templates/GladeSharpProject.xpt.xml"/>
>+ <ProjectTemplate id = "GladeSharp2Project"
>+ location = "templates/GladeSharp2Project.xpt.xml"/>
> <ProjectTemplate id = "GnomeSharpProject"
> location = "templates/GnomeSharpProject.xpt.xml"/>
>+ <ProjectTemplate id = "GnomeSharp2Project"
>+ location = "templates/GnomeSharp2Project.xpt.xml"/>
> <ProjectTemplate id = "GtkSharpProject"
> location = "templates/GtkSharpProject.xpt.xml"/>
>+ <ProjectTemplate id = "GtkSharp2Project"
>+ location = "templates/GtkSharp2Project.xpt.xml"/>
> <ProjectTemplate id = "Library"
> location = "templates/Library.xpt.xml"/>
> <ProjectTemplate id = "BlankCombine"
>Index: Core/src/AddIns/BackendBindings/CSharpBinding/Makefile.am
>===================================================================
>--- Core/src/AddIns/BackendBindings/CSharpBinding/Makefile.am (revision 2251)
>+++ Core/src/AddIns/BackendBindings/CSharpBinding/Makefile.am (working copy)
>@@ -49,9 +49,12 @@
> templates/EmptyTextFile.xft.xml \
> templates/EmptyXMLFile.xft.xml \
> templates/GladeSharpProject.xpt.xml \
>+templates/GladeSharp2Project.xpt.xml \
> templates/GnomeSharpProgram.xft.xml \
> templates/GnomeSharpProject.xpt.xml \
>+templates/GnomeSharp2Project.xpt.xml \
> templates/GtkSharpProject.xpt.xml \
>+templates/GtkSharp2Project.xpt.xml \
> templates/GtkSharpWindow.xft.xml \
> templates/Library.xpt.xml
>
>Index: Core/src/AddIns/BackendBindings/CSharpBinding/templates/GnomeSharp2Project.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/CSharpBinding/templates/GnomeSharp2Project.xpt.xml (revision 0)
>+++ Core/src/AddIns/BackendBindings/CSharpBinding/templates/GnomeSharp2Project.xpt.xml (revision 0)
>@@ -0,0 +1,106 @@
>+<?xml version="1.0"?>
>+<Template originator = "Ben Motmans"
>+ created = "02/16/2005"
>+ lastModified = "02/16/2005">
>+
>+ <!-- Template Header -->
>+ <TemplateConfiguration>
>+ <_Name>Gnome# 2.0 Project</_Name>
>+ <Category>C#</Category>
>+ <Icon>C#.Project.Form</Icon>
>+ <LanguageName>C#</LanguageName>
>+ <_Description>Creates a Gnome# 2.0 project</_Description>
>+ </TemplateConfiguration>
>+
>+ <!-- Actions -->
>+ <Actions>
>+ <Open filename = "Main.cs"/>
>+ </Actions>
>+
>+ <!-- Template Content -->
>+ <Combine name = "${ProjectName}" directory = ".">
>+ <Options>
>+ <StartupProject>${ProjectName}</StartupProject>
>+ </Options>
>+
>+ <Project name = "${ProjectName}" directory = ".">
>+ <Options/>
>+
>+ <References>
>+ <Reference type="Gac" refto="gnome-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="gtk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="gdk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glib-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glade-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="pango-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ </References>
>+
>+ <Files>
>+ <File name="Main.cs"><![CDATA[// project created on ${Date} at ${Time}
>+using System;
>+
>+public class MainClass
>+{
>+ public static void Main (string[] args)
>+ {
>+ new MyProgram (args);
>+ }
>+}]]></File>
>+ <File name="MyProgram.cs"><![CDATA[using System;
>+using Gtk;
>+using Gnome;
>+
>+public class MyProgram
>+{
>+ public MyProgram (string [] args)
>+ {
>+ Program program = new Program ("MyProgram", "0.0", Modules.UI, args);
>+ App app = new App ("MyProgram", "MyWindow");
>+ app.SetDefaultSize (400, 300);
>+ app.DeleteEvent += new DeleteEventHandler (OnAppDelete);
>+ app.ShowAll ();
>+ program.Run ();
>+ }
>+
>+ private void OnAppDelete (object o, DeleteEventArgs args)
>+ {
>+ Application.Quit ();
>+ }
>+}]]></File>
>+ <File name="AssemblyInfo.cs"><![CDATA[using System.Reflection;
>+using System.Runtime.CompilerServices;
>+
>+// Information about this assembly is defined by the following
>+// attributes.
>+//
>+// change them to the information which is associated with the assembly
>+// you compile.
>+
>+[assembly: AssemblyTitle("")]
>+[assembly: AssemblyDescription("")]
>+[assembly: AssemblyConfiguration("")]
>+[assembly: AssemblyCompany("")]
>+[assembly: AssemblyProduct("")]
>+[assembly: AssemblyCopyright("")]
>+[assembly: AssemblyTrademark("")]
>+[assembly: AssemblyCulture("")]
>+
>+// The assembly version has following format :
>+//
>+// Major.Minor.Build.Revision
>+//
>+// You can specify all values by your own or you can build default build and revision
>+// numbers with the '*' character (the default):
>+
>+[assembly: AssemblyVersion("1.0.*")]
>+
>+// The following attributes specify the key for the sign of your assembly. See the
>+// .NET Framework documentation for more information about signing.
>+// This is not required, if you don't want signing let these attributes like they're.
>+[assembly: AssemblyDelaySign(false)]
>+[assembly: AssemblyKeyFile("")]
>+]]></File>
>+ </Files>
>+ </Project>
>+ </Combine>
>+</Template>
>Index: Core/src/AddIns/BackendBindings/CSharpBinding/templates/GladeSharp2Project.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/CSharpBinding/templates/GladeSharp2Project.xpt.xml (revision 0)
>+++ Core/src/AddIns/BackendBindings/CSharpBinding/templates/GladeSharp2Project.xpt.xml (revision 0)
>@@ -0,0 +1,135 @@
>+<?xml version="1.0"?>
>+<Template originator = "Ben Motmans"
>+ created = "02/16/2005"
>+ lastModified = "02/16/2005">
>+
>+ <!-- Template Header -->
>+ <TemplateConfiguration>
>+ <_Name>Glade# 2.0 Project</_Name>
>+ <Category>C#</Category>
>+ <Icon>C#.Project.Form</Icon>
>+ <LanguageName>C#</LanguageName>
>+ <_Description>a Glade# 2.0 project with one window and button</_Description>
>+ </TemplateConfiguration>
>+
>+ <!-- Actions -->
>+ <Actions>
>+ <Open filename = "Main.cs"/>
>+ </Actions>
>+
>+ <!-- Template Content -->
>+ <Combine name = "${ProjectName}" directory = ".">
>+ <Options>
>+ <StartupProject>${ProjectName}</StartupProject>
>+ </Options>
>+
>+ <Project name = "${ProjectName}" directory = ".">
>+ <Options/>
>+
>+ <References>
>+ <Reference type="Gac" refto="gtk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="gdk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glib-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glade-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="pango-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glade-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ </References>
>+
>+ <Resources>
>+<File name="gui.glade"><![CDATA[<?xml version="1.0" standalone="no"?> <!--*- mode: xml -*-->
>+<!DOCTYPE glade-interface SYSTEM "http://glade.gnome.org/glade-2.0.dtd">
>+
>+<glade-interface>
>+<requires lib="gnome"/>
>+
>+<widget class="GtkWindow" id="window1">
>+ <property name="visible">True</property>
>+ <property name="title" translatable="yes">Glade Window</property>
>+ <property name="window_position">GTK_WIN_POS_CENTER</property>
>+ <property name="modal">False</property>
>+ <property name="default_width">256</property>
>+ <property name="default_height">256</property>
>+ <property name="type">GTK_WINDOW_TOPLEVEL</property>
>+ <property name="resizable">True</property>
>+ <property name="destroy_with_parent">False</property>
>+ <signal name="delete_event" handler="OnWindowDeleteEvent"/>
>+
>+ <child>
>+ <placeholder/>
>+ </child>
>+</widget>
>+
>+</glade-interface>
>+
>+]]></File>
>+ </Resources>
>+ <Files>
>+ <File name="Main.cs">
>+<![CDATA[// project created on ${Date} at ${Time}
>+using System;
>+using Gtk;
>+using Glade;
>+
>+public class GladeApp
>+{
>+ public static void Main (string[] args)
>+ {
>+ new GladeApp (args);
>+ }
>+
>+ public GladeApp (string[] args)
>+ {
>+ Application.Init ();
>+
>+ Glade.XML gxml = new Glade.XML (null, "gui.glade", "window1", null);
>+ gxml.Autoconnect (this);
>+ Application.Run ();
>+ }
>+
>+ // Connect the Signals defined in Glade
>+ private void OnWindowDeleteEvent (object sender, DeleteEventArgs a)
>+ {
>+ Application.Quit ();
>+ a.RetVal = true;
>+ }
>+}
>+
>+]]>
>+</File>
>+<File name="AssemblyInfo.cs"><![CDATA[using System.Reflection;
>+using System.Runtime.CompilerServices;
>+
>+// Information about this assembly is defined by the following
>+// attributes.
>+//
>+// change them to the information which is associated with the assembly
>+// you compile.
>+
>+[assembly: AssemblyTitle("")]
>+[assembly: AssemblyDescription("")]
>+[assembly: AssemblyConfiguration("")]
>+[assembly: AssemblyCompany("")]
>+[assembly: AssemblyProduct("")]
>+[assembly: AssemblyCopyright("")]
>+[assembly: AssemblyTrademark("")]
>+[assembly: AssemblyCulture("")]
>+
>+// The assembly version has following format :
>+//
>+// Major.Minor.Build.Revision
>+//
>+// You can specify all values by your own or you can build default build and revision
>+// numbers with the '*' character (the default):
>+
>+[assembly: AssemblyVersion("1.0.*")]
>+
>+// The following attributes specify the key for the sign of your assembly. See the
>+// .NET Framework documentation for more information about signing.
>+// This is not required, if you don't want signing let these attributes like they're.
>+[assembly: AssemblyDelaySign(false)]
>+[assembly: AssemblyKeyFile("")]
>+]]></File>
>+ </Files>
>+ </Project>
>+ </Combine>
>+</Template>
>Index: Core/src/AddIns/BackendBindings/CSharpBinding/templates/CSharpWebService.xft.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/CSharpBinding/templates/CSharpWebService.xft.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/CSharpBinding/templates/CSharpWebService.xft.xml (working copy)
>@@ -2,7 +2,7 @@
> <Template Originator="Christoph Wille" Language="C#" Created="6/13/2001" LastModified="6/13/2001">
>
> <TemplateConfiguration>
>- <_Name>C# Web Service</_Name>
>+ <_Name>Web Service</_Name>
> <Icon>C#.File.WebFile</Icon>
> <Category>C#</Category>
> <LanguageName>C#</LanguageName>
>Index: Core/src/AddIns/BackendBindings/CSharpBinding/templates/ConsoleProject.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/CSharpBinding/templates/ConsoleProject.xpt.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/CSharpBinding/templates/ConsoleProject.xpt.xml (working copy)
>@@ -9,7 +9,7 @@
> <Category>C#</Category>
> <Icon>C#.Project.DOSProject</Icon>
> <LanguageName>C#</LanguageName>
>- <_Description>Creates a new console project.</_Description>
>+ <_Description>Creates a new C# console project.</_Description>
> </TemplateConfiguration>
>
> <!-- Actions -->
>Index: Core/src/AddIns/BackendBindings/CSharpBinding/templates/CSharpSessionStateWebService.xft.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/CSharpBinding/templates/CSharpSessionStateWebService.xft.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/CSharpBinding/templates/CSharpSessionStateWebService.xft.xml (working copy)
>@@ -2,7 +2,7 @@
> <Template Originator="Christoph Wille" Language="C#" Created="6/13/2001" LastModified="6/13/2001">
>
> <TemplateConfiguration>
>- <_Name>Secure C# Web Service</_Name>
>+ <_Name>Secure Web Service</_Name>
> <Icon>C#.File.WebFile</Icon>
> <Category>C#</Category>
> <LanguageName>C#</LanguageName>
>Index: Core/src/AddIns/BackendBindings/CSharpBinding/templates/GtkSharp2Project.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/CSharpBinding/templates/GtkSharp2Project.xpt.xml (revision 0)
>+++ Core/src/AddIns/BackendBindings/CSharpBinding/templates/GtkSharp2Project.xpt.xml (revision 0)
>@@ -0,0 +1,105 @@
>+<?xml version="1.0"?>
>+<Template originator = "Ben Motmans"
>+ created = "02/16/2005"
>+ lastModified = "02/16/2005">
>+
>+ <!-- Template Header -->
>+ <TemplateConfiguration>
>+ <_Name>Gtk# 2.0 Project</_Name>
>+ <Category>C#</Category>
>+ <Icon>C#.Project.Form</Icon>
>+ <LanguageName>C#</LanguageName>
>+ <_Description>Creates a Gtk# 2.0 project.</_Description>
>+ </TemplateConfiguration>
>+
>+ <!-- Actions -->
>+ <Actions>
>+ <Open filename = "Main.cs"/>
>+ </Actions>
>+
>+ <!-- Template Content -->
>+ <Combine name = "${ProjectName}" directory = ".">
>+ <Options>
>+ <StartupProject>${ProjectName}</StartupProject>
>+ </Options>
>+
>+ <Project name = "${ProjectName}" directory = ".">
>+ <Options/>
>+
>+ <References>
>+ <Reference type="Gac" refto="gtk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="gdk-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glib-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="glade-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ <Reference type="Gac" refto="pango-sharp, Version=2.0.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" />
>+ </References>
>+
>+ <Files>
>+ <File name="Main.cs"><![CDATA[// project created on ${Date} at ${Time}
>+using System;
>+using Gtk;
>+
>+class MainClass
>+{
>+ public static void Main (string[] args)
>+ {
>+ Application.Init ();
>+ new MyWindow ();
>+ Application.Run ();
>+ }
>+}]]></File>
>+ <File name="MyWindow.cs"><![CDATA[using System;
>+using Gtk;
>+
>+public class MyWindow : Window
>+{
>+ public MyWindow () : base ("MyWindow")
>+ {
>+ this.SetDefaultSize (400, 300);
>+ this.DeleteEvent += new DeleteEventHandler (OnMyWindowDelete);
>+ this.ShowAll ();
>+ }
>+
>+ void OnMyWindowDelete (object sender, DeleteEventArgs a)
>+ {
>+ Application.Quit ();
>+ a.RetVal = true;
>+ }
>+}]]></File>
>+ <File name="AssemblyInfo.cs"><![CDATA[using System.Reflection;
>+using System.Runtime.CompilerServices;
>+
>+// Information about this assembly is defined by the following
>+// attributes.
>+//
>+// change them to the information which is associated with the assembly
>+// you compile.
>+
>+[assembly: AssemblyTitle("")]
>+[assembly: AssemblyDescription("")]
>+[assembly: AssemblyConfiguration("")]
>+[assembly: AssemblyCompany("")]
>+[assembly: AssemblyProduct("")]
>+[assembly: AssemblyCopyright("")]
>+[assembly: AssemblyTrademark("")]
>+[assembly: AssemblyCulture("")]
>+
>+// The assembly version has following format :
>+//
>+// Major.Minor.Build.Revision
>+//
>+// You can specify all values by your own or you can build default build and revision
>+// numbers with the '*' character (the default):
>+
>+[assembly: AssemblyVersion("1.0.*")]
>+
>+// The following attributes specify the key for the sign of your assembly. See the
>+// .NET Framework documentation for more information about signing.
>+// This is not required, if you don't want signing let these attributes like they're.
>+[assembly: AssemblyDelaySign(false)]
>+[assembly: AssemblyKeyFile("")]
>+]]></File>
>+ </Files>
>+ </Project>
>+ </Combine>
>+</Template>
>Index: Core/src/AddIns/BackendBindings/CSharpBinding/templates/Library.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/CSharpBinding/templates/Library.xpt.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/CSharpBinding/templates/Library.xpt.xml (working copy)
>@@ -5,7 +5,7 @@
>
> <!-- Template Header -->
> <TemplateConfiguration>
>- <_Name>C# Library</_Name>
>+ <_Name>Library</_Name>
> <Category>C#</Category>
> <Icon>C#.Project.Library</Icon>
> <LanguageName>C#</LanguageName>
>Index: Core/src/AddIns/BackendBindings/JavaBinding/ChangeLog
>===================================================================
>--- Core/src/AddIns/BackendBindings/JavaBinding/ChangeLog (revision 2251)
>+++ Core/src/AddIns/BackendBindings/JavaBinding/ChangeLog (working copy)
>@@ -1,3 +1,16 @@
>+2005-02-16 Ben Motmans <ben.motmans@gmail.com>
>+
>+ * EmptyJavaFile:
>+ * EmptyJavaProject:
>+ * JavaConsoleApplicationProject:
>+ * JavaApplicationProject:
>+ * JavaApplication:
>+ * JavaApplet:
>+ * JavaFrame:
>+ * JavaOKDialog:
>+ * JavaPanel:
>+ Consistent naming
>+
> 2005-02-05 John Luke <john.luke@gmail.com>
>
> * Makefile.am
>Index: Core/src/AddIns/BackendBindings/JavaBinding/templates/EmptyJavaFile.xft.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/JavaBinding/templates/EmptyJavaFile.xft.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/JavaBinding/templates/EmptyJavaFile.xft.xml (working copy)
>@@ -2,7 +2,7 @@
> <Template Originator="Gary Gray" Language="Java" Created="09/05/2001" LastModified="09/05/2001">
>
> <TemplateConfiguration>
>- <_Name>Empty Java File</_Name>
>+ <_Name>Empty File</_Name>
> <Icon>Java.File.EmptyFile</Icon>
> <Category>Java</Category>
> <LanguageName>Java</LanguageName>
>Index: Core/src/AddIns/BackendBindings/JavaBinding/templates/EmptyJavaProject.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/JavaBinding/templates/EmptyJavaProject.xpt.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/JavaBinding/templates/EmptyJavaProject.xpt.xml (working copy)
>@@ -5,7 +5,7 @@
>
> <!-- Template Header -->
> <TemplateConfiguration>
>- <_Name>Empty Java Project</_Name>
>+ <_Name>Empty Project</_Name>
> <Category>Java</Category>
> <Icon>Java.Project.EmptyProject</Icon>
> <LanguageName>Java</LanguageName>
>Index: Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaPanel.xft.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaPanel.xft.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaPanel.xft.xml (working copy)
>@@ -2,11 +2,11 @@
> <Template Originator="Gary Gray" Language="JAVA" Created="09/05/2001" LastModified="09/05/2001">
>
> <TemplateConfiguration>
>- <_Name>Java AWT Panel</_Name>
>+ <_Name>AWT Panel</_Name>
> <Icon>Java.File.Form</Icon>
> <Category>Java</Category>
> <LanguageName>Java</LanguageName>
>- <_Description>Creates an AWT panel.</_Description>
>+ <_Description>Creates a Java AWT panel.</_Description>
> </TemplateConfiguration>
>
> <TemplateFiles>
>Index: Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaApplication.xft.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaApplication.xft.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaApplication.xft.xml (working copy)
>@@ -2,11 +2,11 @@
> <Template Originator="Gary Gray" Language="JAVA" Created="09/05/2001" LastModified="09/05/2001">
>
> <TemplateConfiguration>
>- <_Name>Java AWT Application</_Name>
>+ <_Name>AWT Application</_Name>
> <Icon>Java.File.FullFile</Icon>
> <Category>Java</Category>
> <LanguageName>Java</LanguageName>
>- <_Description>Creates an AWT application.</_Description>
>+ <_Description>Creates a Java AWT application.</_Description>
> </TemplateConfiguration>
>
> <TemplateFiles>
>Index: Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaApplicationProject.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaApplicationProject.xpt.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaApplicationProject.xpt.xml (working copy)
>@@ -5,11 +5,11 @@
>
> <!-- Template Header -->
> <TemplateConfiguration>
>- <_Name>Java AWT Project</_Name>
>+ <_Name>AWT Project</_Name>
> <Category>Java</Category>
> <Icon>Java.Project.FullProject</Icon>
> <LanguageName>Java</LanguageName>
>- <_Description>Creates an AWT project.</_Description>
>+ <_Description>Creates a Java AWT project.</_Description>
> </TemplateConfiguration>
>
> <!-- Actions -->
>Index: Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaApplet.xft.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaApplet.xft.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaApplet.xft.xml (working copy)
>@@ -2,11 +2,11 @@
> <Template Originator="Gary Gray" Language="JAVA" Created="09/05/2001" LastModified="09/05/2001">
>
> <TemplateConfiguration>
>- <_Name>Java AWT Applet</_Name>
>+ <_Name>AWT Applet</_Name>
> <Icon>Java.File.FullFile</Icon>
> <Category>Java</Category>
> <LanguageName>Java</LanguageName>
>- <_Description>Creates an AWT Applet</_Description>
>+ <_Description>Creates a Java AWT Applet</_Description>
> </TemplateConfiguration>
>
> <TemplateFiles>
>Index: Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaConsoleApplicationProject.xpt.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaConsoleApplicationProject.xpt.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaConsoleApplicationProject.xpt.xml (working copy)
>@@ -5,7 +5,7 @@
>
> <!-- Template Header -->
> <TemplateConfiguration>
>- <_Name>Java Console Project</_Name>
>+ <_Name>Console Project</_Name>
> <Category>Java</Category>
> <Icon>Java.Project.DOSProject</Icon>
> <LanguageName>Java</LanguageName>
>Index: Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaOKDialog.xft.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaOKDialog.xft.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaOKDialog.xft.xml (working copy)
>@@ -2,11 +2,11 @@
> <Template Originator="Gary Gray" Language="JAVA" Created="09/05/2001" LastModified="09/05/2001">
>
> <TemplateConfiguration>
>- <_Name>Java AWT OK Dialog</_Name>
>+ <_Name>AWT OK Dialog</_Name>
> <Icon>Java.File.Form</Icon>
> <Category>Java</Category>
> <LanguageName>Java</LanguageName>
>- <_Description>Creates an AWT OK Dialog.</_Description>
>+ <_Description>Creates a Java AWT OK Dialog.</_Description>
> </TemplateConfiguration>
>
> <TemplateFiles>
>Index: Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaFrame.xft.xml
>===================================================================
>--- Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaFrame.xft.xml (revision 2251)
>+++ Core/src/AddIns/BackendBindings/JavaBinding/templates/JavaFrame.xft.xml (working copy)
>@@ -2,11 +2,11 @@
> <Template Originator="Gary Gray" Language="JAVA" Created="09/05/2001" LastModified="09/05/2001">
>
> <TemplateConfiguration>
>- <_Name>Java AWT Frame</_Name>
>+ <_Name>AWT Frame</_Name>
> <Icon>Java.File.Form</Icon>
> <Category>Java</Category>
> <LanguageName>Java</LanguageName>
>- <_Description>Creates an AWT Frame</_Description>
>+ <_Description>Creates a Java AWT Frame</_Description>
> </TemplateConfiguration>
>
> <TemplateFiles>
>
>