project-wizard: bgo #707943 - Auto completion code when you click in the widget tree...
[anjuta.git] / plugins / project-wizard / templates / gnome-shell-extension.wiz.in
blobe0d10624be71121deb6c620e687cebfe7a911020
1 <project-template>
2         <project-wizard>
3                 <_name>Gnome Shell Extension</_name>
4                 <_description>A minimal Gnome Shell extension</_description>
5                 <icon>gnome.png</icon>
6                 <category>JS</category>
7                 <required-program>automake</required-program>
8                 <required-program>autoconf</required-program>
9                 <required-program>make</required-program>
10         </project-wizard>
11         
12         <page name="basic" _label="Basic information" _description="General Project Information">
13                 <property type="string" name="Name" _label="Plugin Name:" _description="Short but descriptive user-visible plugin name" default="foobar-sample" summary="yes" restriction="printable" mandatory="yes"/>
14                 <property type="string" name="Author" _label="Author:" _description="" default="[+UserName+]" mandatory="yes"/>
15                 <property type="string" name="Email" _label="Email address:" _description="" default="[+EmailAddress+]" mandatory="no"/>
16                 <property type="string" name="Version" _label="Version:" default="0.1" mandatory="yes"/>
17         </page>
18         
19         <page name="options" _label="Project options" _description="Options for project build system">
20                 <property type="directory" name="Destination" _label="Destination:" _description="" default='[+AnjutaProjectDirectory+]/[+(string-substitute (string-downcase (get "Name")) " " "-")+]' mandatory="yes" exist="no" summary="yes"/>
21                 [+INCLUDE "licenses.tpl"+]
22                 <property type="string" name="Description" _label="Description:" _description="Long description of your plugin" default="[+Name+]" mandatory="yes"/>
23                 <property type="string" name="UUID" _label="UUID:" _description="Uuid is a globally-unique identifier for your extension.
24 This should be in the format of an email address (foo.bar@extensions.example.com), but
25 need not be an actual email address, though it's a good idea to base the uuid on your
26 email address." default='[+(string-substitute (string->c-name! (get "Name")) " " "-")+]-[+EmailAddress+]' mandatory="yes"/>
27                 <property type="string" name="URL" _label="URL:" _description="Extension URL" default='http://mydomain.org' mandatory="yes"/>
28                 <property type="string" name="Compatibility" _label="Gnome Shell Compatibility:" _description="Comma-separated list of gnome-shell version your plugin is compatible with" default='3.2.0' mandatory="yes"/>
29                 <property type="hidden" name="NameCLower" default='[+(string->c-name! (string-substitute (string-downcase (get "Name")) " " "_"))+]'/>
30         </page>
31         
32         <content>
33                 <directory source="gnome-shell-extension" destination="[+Destination+]">
34                         <file source="Makefile.am.tpl" destination="Makefile.am"/>
35                         <file source="autogen.sh" executable="yes"/>
36                         <file source="configure.ac.tpl" destination="configure.ac"/>
37                         <file source="project.anjuta" destination="[+NameCLower+].anjuta"/>
38                 </directory>
39                 <directory source="gnome-shell-extension" destination="[+Destination+]">
40                         <directory source="src" destination="src">
41                                 <file source="extension.js" executable="yes"/>
42                                 <file source="metadata.json" />
43                                 <file source="stylesheet.css" />
44                                 <file source="Makefile.am.tpl" destination="Makefile.am"/>
45                         </directory>
46                 </directory>
47                 <directory source="licenses" destination="[+Destination+]">
48                         <file source="[+License+].txt" destination="COPYING"/>  
49                 </directory>
50         </content>
51         
52         <action>
53                 <open file="[+Destination+]/[+NameCLower+].anjuta"/>
54         </action>
55 </project-template>