Skip to main content
aboutsummaryrefslogtreecommitdiffstats
blob: 8e9f3bf5739e0caffd91b7f2490c7711f6ee8eab (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<?xml version="1.0" encoding="ISO-8859-1"?>
<template type="ProjTempl" version="1.0" supplier="Eclipse.org" revision="1.0" author="Symbian Software Ltd."
		copyright="Copyright (c) 2008 Symbian Software Ltd. and others. This program and the accompanying materials are made available under the terms of the Eclipse Public License 2.0 which accompanies this distribution, and is available at https://www.eclipse.org/legal/epl-2.0/"
		id="TestWidgets" label="TestWidgetsLabel" description="TestWidgetsDescription"
		help="help.html">

	<property-group id="basics" label="basicsLabel" description="basicsDescription" type="PAGES-ONLY" help="help.html">
		<property id="TestWidget1" label="InputWidget1" description="InputWidget1Description" type="input" mandatory="true" pattern=".+"/>
		<property id="TestWidget2" label="InputWidget2" description="InputWidget2Description" type="input" default="InputWidget2Default" mandatory="false"/>

		<property id="TestWidget3" label="MultilineWidget1" description="MultilineWidget1Description" type="multiline" mandatory="true" pattern=".+"/>
		<property id="TestWidget4" label="MultilineWidget2" description="MultilineWidget2Description" type="multiline" default="Multiline2Default" mandatory="false"/>
		
		<property id="TestWidget5" label="SelectWidget1" description="SelectWidget1Description" type="select" default="0" mandatory="false" persist="false">
    		<item label="Include" name="1"/>
    		<item label="Exclude" name="0"/>
		</property>
		
		<property id="TestWidget6" label="SelectWidget2" description="SelectWidget2Description" type="select" default="" mandatory="true" persist="false">
    		<item label="" value=""/>
    		<item label="Include" value="1"/>
    		<item label="Exclude" value="0"/>
		</property>
	</property-group>
	
	<property-group id="basics2" label="basicsLabel2" description="basicsDescription2" type="PAGES-ONLY" help="help.html">
		<property id="TestWidget7" label="BooleanWidget1" description="BooleanWidget1Description" type="boolean" default="false"/>
		<property id="TestWidget8" label="BooleanWidget2" description="BooleanWidget2Description" type="boolean" default="true"/>
		
		<property id="TestWidget9" label="StringListWidget1" description="StringListWidget1Description" type="stringlist" mandatory="true"/>
		<property id="TestWidget10" label="StringListWidget2" description="StringListWidget2Description" type="stringlist" default="StringList2Default" mandatory="false"/>
		
		<property id="TestWidget11" label="SpecialListWidget1" description="SpecialListWidget1Description" type="speciallist" mandatory="true"/>
		<property id="TestWidget12" label="SpecialListWidget2" description="SpecialListWidget2Description" type="speciallist" default="SpecialList2Default" mandatory="false"/>
		
		<property id="TestWidget13" label="BrowseWidget1" description="BrowseWidget1Description" type="browse" default="Browse1Default" mandatory="true" pattern=".+"/>
		<property id="TestWidget14" label="BrowseWidget2" description="BrowseWidget2Description" type="browse" default="Browse2Default" mandatory="false"/>
	</property-group>
	
	<property-group id="basics3" label="basicsLabel3" description="basicsDescription3" type="PAGES-ONLY" help="help.html">
		<property id="TestWidget15" label="BrowseDirWidget1" description="BrowseDirWidget1Description" type="browsedir" default="BrowseDir1Default" mandatory="true" pattern=".+"/>
		<property id="TestWidget16" label="BrowseDirWidget2" description="BrowseDirWidget2Description" type="browsedir" default="BrowseDir2Default" mandatory="false"/>
	</property-group>

	<process type="org.eclipse.cdt.managedbuilder.core.NewManagedProject">
		<simple name="name" value="$(projectName)" /> 
		<simple name="artifactExtension" value="exe" /> 
		<simple name="isCProject" value="true" /> 
	</process>

	<process type="org.eclipse.cdt.core.CreateSourceFolder">
		<simple name="projectName" value="$(projectName)"/>
		<simple name="path" value="src"/>
	</process>

	<process type="org.eclipse.cdt.core.AddFiles">
		<simple name="projectName" value="$(projectName)"/>
		<complex-array name="files">
			<element>
				<simple name="source" value="hello.cpp"/>
				<simple name="target" value="src/hello.cpp"/>
				<simple name="replaceable" value="true"/>
			</element>
		</complex-array>
	</process>
</template>

Back to the top