Skip to main content
summaryrefslogtreecommitdiffstats
blob: 6f995cde0d8903f2fd27f9f4a2f6676080dd20b8 (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
<?xml version="1.0" encoding="utf-8"?>
<wizardPage srcFolder="test.wizardPage/src" package="org.example" class="MyWizPage" codeBehindClass="MyWizPageCode">
    <control type="composite" parent="parent" name="main" javaType="org.eclipse.swt.widgets.Composite" initControlTemplate="templates/control/composite/initControl.jet" swtStylesTemplate="templates/control/composite/swtStyles.jet">
    </control>
    <control type="composite" parent="main" name="projectName" javaType="org.eclipse.swt.widgets.Composite" initControlTemplate="templates/control/composite/initControl.jet" swtStylesTemplate="templates/control/composite/swtStyles.jet">
		<gridLayout>
            <numColumns numColumns="3"/>
        </gridLayout>
		<gridData>
            <align hAlign="FILL" vAlign="BEGINNING"/>
            <grab horizontal="true" vertical="false"/>
        </gridData>
    </control>
    <control type="label" parent="projectName" name="lblProject" javaType="org.eclipse.swt.widgets.Label" initControlTemplate="templates/control/label/initControl.jet" swtStylesTemplate="templates/control/label/swtStyles.jet">
    </control>
    <control type="text" parent="projectName" isField="true" name="txtProject" javaType="org.eclipse.swt.widgets.Text" initControlTemplate="templates/control/text/initControl.jet" swtStylesTemplate="templates/control/text/swtStyles.jet">
		<gridData>
            <align hAlign="FILL" vAlign="BEGINNING"/>
            <grab horizontal="true" vertical="false"/>
            <span hSpan="1" vSpan="2"/>
        </gridData>
		<event name="Verify" addListenerMethod="addVerifyListener" handlerBaseClass="org.eclipse.swt.events.VerifyListener" handlerMethod="verifyText" eventClass="org.eclipse.swt.events.VerifyEvent" delegateMethod="txtProject_verify"/>
		<event name="Modify" addListenerMethod="addModifyListener" handlerBaseClass="org.eclipse.swt.events.ModifyListener" handlerMethod="modifyText" eventClass="org.eclipse.swt.events.ModifyEvent" delegateMethod="txtProject_modify"/>
    </control>
    <control type="button" parent="projectName" isField="true" name="cbxUseDefaultLocation" style="CHECK" text="&Use default location" javaType="org.eclipse.swt.widgets.Button" initControlTemplate="templates/control/button/initControl.jet" swtStylesTemplate="templates/control/button/swtStyles.jet">
		<gridData>
            <span hSpan="1" vSpan="3"/>
        </gridData>
		<event name="Selection" addListenerMethod="addSelectionListener" handlerBaseClass="org.eclipse.swt.events.SelectionAdapter" handlerMethod="widgetSelected" eventClass="org.eclipse.swt.events.SelectionEvent" delegateMethod="cbxUseDefaultLocation_selected"/>
    </control>
    <control type="label" parent="projectName" isField="true" name="lblLocation" text="&Location:" javaType="org.eclipse.swt.widgets.Label" initControlTemplate="templates/control/label/initControl.jet" swtStylesTemplate="templates/control/label/swtStyles.jet">
    </control>
    <control type="text" parent="projectName" isField="true" name="txtLocationY" javaType="org.eclipse.swt.widgets.Text" initControlTemplate="templates/control/text/initControl.jet" swtStylesTemplate="templates/control/text/swtStyles.jet">
		<gridData>
            <align hAlign="FILL" vAlign="BEGINNING"/>
            <grab horizontal="true" vertical="false"/>
            <minSize minX="10" minY="6"/>
        </gridData>
		<event name="Verify" addListenerMethod="addVerifyListener" handlerBaseClass="org.eclipse.swt.events.VerifyListener" handlerMethod="verifyText" eventClass="org.eclipse.swt.events.VerifyEvent" delegateMethod="txtLocationY_verify"/>
    </control>
    <control type="button" parent="projectName" isField="true" name="cbBrowse" style="PUSH" javaType="org.eclipse.swt.widgets.Button" initControlTemplate="templates/control/button/initControl.jet" swtStylesTemplate="templates/control/button/swtStyles.jet">
		<event name="Selection" addListenerMethod="addSelectionListener" handlerBaseClass="org.eclipse.swt.events.SelectionAdapter" handlerMethod="widgetSelected" eventClass="org.eclipse.swt.events.SelectionEvent" delegateMethod="cbBrowse_selected"/>
    </control>
</wizardPage>

Back to the top