~ubuntu-branches/ubuntu/trusty/netbeans/trusty

« back to all changes in this revision

Viewing changes to xml/schema/schemaui/src/org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/SimpleTypeCustomizer.form

  • Committer: Bazaar Package Importer
  • Author(s): Marek Slama
  • Date: 2008-01-29 14:11:22 UTC
  • Revision ID: james.westby@ubuntu.com-20080129141122-fnzjbo11ntghxfu7
Tags: upstream-6.0.1
ImportĀ upstreamĀ versionĀ 6.0.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8" ?>
 
2
 
 
3
<Form version="1.3" type="org.netbeans.modules.form.forminfo.JPanelFormInfo">
 
4
  <NonVisualComponents>
 
5
    <Component class="javax.swing.ButtonGroup" name="derivationGroup">
 
6
    </Component>
 
7
    <Component class="javax.swing.ButtonGroup" name="typeGroup">
 
8
    </Component>
 
9
  </NonVisualComponents>
 
10
  <Properties>
 
11
    <Property name="toolTipText" type="java.lang.String" value=""/>
 
12
  </Properties>
 
13
  <AuxValues>
 
14
    <AuxValue name="FormSettings_generateMnemonicsCode" type="java.lang.Boolean" value="true"/>
 
15
    <AuxValue name="FormSettings_layoutCodeTarget" type="java.lang.Integer" value="2"/>
 
16
    <AuxValue name="FormSettings_listenerGenerationStyle" type="java.lang.Integer" value="0"/>
 
17
    <AuxValue name="FormSettings_variablesLocal" type="java.lang.Boolean" value="false"/>
 
18
    <AuxValue name="FormSettings_variablesModifier" type="java.lang.Integer" value="1"/>
 
19
  </AuxValues>
 
20
 
 
21
  <Layout>
 
22
    <DimensionLayout dim="0">
 
23
      <Group type="103" groupAlignment="0" attributes="0">
 
24
          <Group type="102" alignment="0" attributes="0">
 
25
              <EmptySpace max="-2" attributes="0"/>
 
26
              <Group type="103" groupAlignment="0" attributes="0">
 
27
                  <Component id="typeLabel" alignment="0" min="-2" max="-2" attributes="0"/>
 
28
                  <Group type="102" alignment="0" attributes="0">
 
29
                      <EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
 
30
                      <Group type="103" groupAlignment="0" attributes="0">
 
31
                          <Component id="listButton" alignment="0" min="-2" max="-2" attributes="0"/>
 
32
                          <Component id="restrictionButton" alignment="0" min="-2" max="-2" attributes="0"/>
 
33
                          <Component id="unionButton" alignment="0" min="-2" max="-2" attributes="0"/>
 
34
                      </Group>
 
35
                  </Group>
 
36
              </Group>
 
37
              <EmptySpace pref="398" max="32767" attributes="0"/>
 
38
          </Group>
 
39
          <Component id="namePanel" alignment="0" max="32767" attributes="0"/>
 
40
          <Component id="mPanel" alignment="1" pref="500" max="32767" attributes="0"/>
 
41
          <Group type="102" alignment="0" attributes="0">
 
42
              <EmptySpace max="-2" attributes="0"/>
 
43
              <Group type="103" groupAlignment="0" attributes="0">
 
44
                  <Component id="jScrollPane1" alignment="0" pref="480" max="32767" attributes="0"/>
 
45
                  <Component id="previewLabel" alignment="0" min="-2" max="-2" attributes="0"/>
 
46
              </Group>
 
47
              <EmptySpace max="-2" attributes="0"/>
 
48
          </Group>
 
49
          <Group type="102" alignment="0" attributes="0">
 
50
              <EmptySpace max="-2" attributes="0"/>
 
51
              <Component id="typeDefPanel" max="32767" attributes="0"/>
 
52
          </Group>
 
53
      </Group>
 
54
    </DimensionLayout>
 
55
    <DimensionLayout dim="1">
 
56
      <Group type="103" groupAlignment="0" attributes="0">
 
57
          <Group type="102" alignment="1" attributes="0">
 
58
              <Component id="namePanel" min="-2" max="-2" attributes="0"/>
 
59
              <EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
 
60
              <Component id="typeLabel" min="-2" max="-2" attributes="0"/>
 
61
              <EmptySpace min="-2" max="-2" attributes="0"/>
 
62
              <Component id="restrictionButton" min="-2" max="-2" attributes="0"/>
 
63
              <EmptySpace min="-2" max="-2" attributes="0"/>
 
64
              <Component id="listButton" min="-2" max="-2" attributes="0"/>
 
65
              <EmptySpace min="-2" max="-2" attributes="0"/>
 
66
              <Component id="unionButton" min="-2" max="-2" attributes="0"/>
 
67
              <EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
 
68
              <Component id="typeDefPanel" max="32767" attributes="0"/>
 
69
              <EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
 
70
              <Component id="previewLabel" min="-2" max="-2" attributes="0"/>
 
71
              <EmptySpace min="-2" max="-2" attributes="0"/>
 
72
              <Component id="jScrollPane1" pref="70" max="32767" attributes="0"/>
 
73
              <EmptySpace min="-2" pref="0" max="-2" attributes="0"/>
 
74
              <Component id="mPanel" pref="60" max="32767" attributes="0"/>
 
75
          </Group>
 
76
      </Group>
 
77
    </DimensionLayout>
 
78
  </Layout>
 
79
  <SubComponents>
 
80
    <Container class="javax.swing.JPanel" name="typeDefPanel">
 
81
 
 
82
      <Layout>
 
83
        <DimensionLayout dim="0">
 
84
          <Group type="103" groupAlignment="0" attributes="0">
 
85
              <Group type="102" attributes="0">
 
86
                  <Group type="103" groupAlignment="0" attributes="0">
 
87
                      <Component id="baseTypeLabel" min="-2" max="-2" attributes="0"/>
 
88
                      <Group type="102" alignment="0" attributes="0">
 
89
                          <EmptySpace min="-2" pref="11" max="-2" attributes="0"/>
 
90
                          <Group type="103" groupAlignment="0" attributes="0">
 
91
                              <Component id="inlineTypeButton" alignment="0" min="-2" max="-2" attributes="0"/>
 
92
                              <Component id="useExistingButton" alignment="0" min="-2" max="-2" attributes="0"/>
 
93
                          </Group>
 
94
                      </Group>
 
95
                      <Group type="102" alignment="0" attributes="0">
 
96
                          <EmptySpace min="-2" pref="30" max="-2" attributes="0"/>
 
97
                          <Component id="typePanel" pref="450" max="32767" attributes="2"/>
 
98
                      </Group>
 
99
                  </Group>
 
100
                  <EmptySpace max="-2" attributes="0"/>
 
101
              </Group>
 
102
          </Group>
 
103
        </DimensionLayout>
 
104
        <DimensionLayout dim="1">
 
105
          <Group type="103" groupAlignment="0" attributes="0">
 
106
              <Group type="102" attributes="0">
 
107
                  <Component id="baseTypeLabel" min="-2" max="-2" attributes="0"/>
 
108
                  <EmptySpace max="-2" attributes="0"/>
 
109
                  <Component id="inlineTypeButton" min="-2" max="-2" attributes="0"/>
 
110
                  <EmptySpace max="-2" attributes="0"/>
 
111
                  <Component id="useExistingButton" min="-2" max="-2" attributes="0"/>
 
112
                  <EmptySpace max="-2" attributes="0"/>
 
113
                  <Component id="typePanel" pref="195" max="32767" attributes="0"/>
 
114
              </Group>
 
115
          </Group>
 
116
        </DimensionLayout>
 
117
      </Layout>
 
118
      <SubComponents>
 
119
        <Container class="javax.swing.JPanel" name="typePanel">
 
120
          <AuxValues>
 
121
            <AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="initializeTypeView();"/>
 
122
          </AuxValues>
 
123
 
 
124
          <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
 
125
        </Container>
 
126
        <Component class="javax.swing.JRadioButton" name="useExistingButton">
 
127
          <Properties>
 
128
            <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
 
129
              <ComponentRef name="typeGroup"/>
 
130
            </Property>
 
131
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
132
              <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="LBL_SimpleTypeForm_Existing_Definition_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
133
            </Property>
 
134
            <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
135
              <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="HINT_SimpleTypeForm_Existing_Definition_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
136
            </Property>
 
137
            <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
 
138
              <Insets value="[0, 0, 0, 0]"/>
 
139
            </Property>
 
140
          </Properties>
 
141
        </Component>
 
142
        <Component class="javax.swing.JRadioButton" name="inlineTypeButton">
 
143
          <Properties>
 
144
            <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
 
145
              <ComponentRef name="typeGroup"/>
 
146
            </Property>
 
147
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
148
              <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="LBL_SimpleTypeForm_Inline_Definition_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
149
            </Property>
 
150
            <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
151
              <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="HINT_SimpleTypeForm_Inline_Definition_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
152
            </Property>
 
153
            <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
 
154
              <Insets value="[0, 0, 0, 0]"/>
 
155
            </Property>
 
156
          </Properties>
 
157
        </Component>
 
158
        <Component class="javax.swing.JLabel" name="baseTypeLabel">
 
159
          <Properties>
 
160
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
161
              <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="TITLE_SimpleTypeForm_BaseTypePanel" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;, {arguments})"/>
 
162
            </Property>
 
163
            <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
164
              <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="HINT_SimpleTypeForm_BaseTypePanel" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
165
            </Property>
 
166
          </Properties>
 
167
        </Component>
 
168
      </SubComponents>
 
169
    </Container>
 
170
    <Component class="javax.swing.JLabel" name="previewLabel">
 
171
      <Properties>
 
172
        <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
 
173
          <ComponentRef name="previewPane"/>
 
174
        </Property>
 
175
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
176
          <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="TITLE_CustomizerForm_Preview" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
177
        </Property>
 
178
        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
179
          <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="HINT_SimpleTypeForm_Preview" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
180
        </Property>
 
181
      </Properties>
 
182
    </Component>
 
183
    <Container class="javax.swing.JScrollPane" name="jScrollPane1">
 
184
 
 
185
      <Layout class="org.netbeans.modules.form.compat2.layouts.support.JScrollPaneSupportLayout"/>
 
186
      <SubComponents>
 
187
        <Component class="javax.swing.JEditorPane" name="previewPane">
 
188
          <Properties>
 
189
            <Property name="editable" type="boolean" value="false"/>
 
190
            <Property name="contentType" type="java.lang.String" value="text/xml"/>
 
191
            <Property name="enabled" type="boolean" value="false"/>
 
192
          </Properties>
 
193
          <AuxValues>
 
194
            <AuxValue name="JavaCodeGenerator_CreateCodeCustom" type="java.lang.String" value="new javax.swing.JEditorPane() {&#xa;    static final long serialVersionUID = 1L;&#xa;    // disable mouse and mouse motion events&#xa;    protected void processMouseEvent(java.awt.event.MouseEvent e) {&#xa;        e.consume();&#xa;    }&#xa;    protected void processMouseMotionEvent(java.awt.event.MouseEvent e) {&#xa;        e.consume();&#xa;    }&#xa;};"/>
 
195
          </AuxValues>
 
196
        </Component>
 
197
      </SubComponents>
 
198
    </Container>
 
199
    <Component class="javax.swing.JLabel" name="typeLabel">
 
200
      <Properties>
 
201
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
202
          <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="TITLE_SimpleTypeForm_DerivationTypePanel" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;, {arguments})"/>
 
203
        </Property>
 
204
        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
205
          <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="HINT_SimpleTypeForm_DerivationTypePanel" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
206
        </Property>
 
207
      </Properties>
 
208
    </Component>
 
209
    <Component class="javax.swing.JRadioButton" name="restrictionButton">
 
210
      <Properties>
 
211
        <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
 
212
          <ComponentRef name="derivationGroup"/>
 
213
        </Property>
 
214
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
215
          <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="LBL_SimpleTypeForm_Restriction_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
216
        </Property>
 
217
        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
218
          <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="HINT_SimpleTypeForm_Restriction_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
219
        </Property>
 
220
        <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
 
221
          <Insets value="[0, 0, 0, 0]"/>
 
222
        </Property>
 
223
      </Properties>
 
224
    </Component>
 
225
    <Component class="javax.swing.JRadioButton" name="listButton">
 
226
      <Properties>
 
227
        <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
 
228
          <ComponentRef name="derivationGroup"/>
 
229
        </Property>
 
230
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
231
          <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="LBL_SimpleTypeForm_List_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
232
        </Property>
 
233
        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
234
          <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="HINT_SimpleTypeForm_List_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
235
        </Property>
 
236
        <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
 
237
          <Insets value="[0, 0, 0, 0]"/>
 
238
        </Property>
 
239
      </Properties>
 
240
    </Component>
 
241
    <Component class="javax.swing.JRadioButton" name="unionButton">
 
242
      <Properties>
 
243
        <Property name="buttonGroup" type="javax.swing.ButtonGroup" editor="org.netbeans.modules.form.RADComponent$ButtonGroupPropertyEditor">
 
244
          <ComponentRef name="derivationGroup"/>
 
245
        </Property>
 
246
        <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
247
          <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="LBL_SimpleTypeForm_Union_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
248
        </Property>
 
249
        <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
250
          <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="HINT_SimpleTypeForm_Union_Button" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
251
        </Property>
 
252
        <Property name="margin" type="java.awt.Insets" editor="org.netbeans.beaninfo.editors.InsetsEditor">
 
253
          <Insets value="[0, 0, 0, 0]"/>
 
254
        </Property>
 
255
      </Properties>
 
256
    </Component>
 
257
    <Container class="javax.swing.JPanel" name="mPanel">
 
258
      <AuxValues>
 
259
        <AuxValue name="JavaCodeGenerator_InitCodePost" type="java.lang.String" value="mPanel.add(getMessageDisplayer().getComponent(),java.awt.BorderLayout.CENTER);"/>
 
260
      </AuxValues>
 
261
 
 
262
      <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/>
 
263
    </Container>
 
264
    <Container class="javax.swing.JPanel" name="namePanel">
 
265
 
 
266
      <Layout>
 
267
        <DimensionLayout dim="0">
 
268
          <Group type="103" groupAlignment="0" attributes="0">
 
269
              <Group type="102" alignment="0" attributes="0">
 
270
                  <EmptySpace max="-2" attributes="0"/>
 
271
                  <Component id="nameLabel" min="-2" max="-2" attributes="0"/>
 
272
                  <EmptySpace max="-2" attributes="0"/>
 
273
                  <Component id="nameTextField" pref="445" max="32767" attributes="0"/>
 
274
                  <EmptySpace max="-2" attributes="0"/>
 
275
              </Group>
 
276
          </Group>
 
277
        </DimensionLayout>
 
278
        <DimensionLayout dim="1">
 
279
          <Group type="103" groupAlignment="0" attributes="0">
 
280
              <Group type="102" alignment="0" attributes="0">
 
281
                  <EmptySpace max="32767" attributes="0"/>
 
282
                  <Group type="103" groupAlignment="3" attributes="0">
 
283
                      <Component id="nameLabel" alignment="3" min="-2" max="-2" attributes="0"/>
 
284
                      <Component id="nameTextField" alignment="3" min="-2" max="-2" attributes="0"/>
 
285
                  </Group>
 
286
              </Group>
 
287
          </Group>
 
288
        </DimensionLayout>
 
289
      </Layout>
 
290
      <SubComponents>
 
291
        <Component class="javax.swing.JLabel" name="nameLabel">
 
292
          <Properties>
 
293
            <Property name="labelFor" type="java.awt.Component" editor="org.netbeans.modules.form.ComponentChooserEditor">
 
294
              <ComponentRef name="nameTextField"/>
 
295
            </Property>
 
296
            <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
297
              <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="LBL_CustomizerForm_Name" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
298
            </Property>
 
299
            <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor">
 
300
              <ResourceString bundle="org/netbeans/modules/xml/schema/ui/nodes/categorized/customizer/Bundle.properties" key="HINT_SimpleTypeForm_Name" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, &quot;{key}&quot;)"/>
 
301
            </Property>
 
302
          </Properties>
 
303
        </Component>
 
304
        <Component class="javax.swing.JTextField" name="nameTextField">
 
305
          <Properties>
 
306
            <Property name="editable" type="boolean" editor="org.netbeans.modules.form.RADConnectionPropertyEditor">
 
307
              <Connection code="!hasParent()" type="code"/>
 
308
            </Property>
 
309
          </Properties>
 
310
        </Component>
 
311
      </SubComponents>
 
312
    </Container>
 
313
  </SubComponents>
 
314
</Form>