|
1 | 1 | <?xml version="1.0" encoding="UTF-8" ?> |
2 | 2 |
|
3 | 3 | <Form version="1.4" maxVersion="1.9" type="org.netbeans.modules.form.forminfo.JPanelFormInfo"> |
| 4 | + <NonVisualComponents> |
| 5 | + <Container class="javax.swing.JPanel" name="mainCommentsPanel"> |
| 6 | + |
| 7 | + <Layout> |
| 8 | + <DimensionLayout dim="0"> |
| 9 | + <Group type="103" groupAlignment="0" attributes="0"> |
| 10 | + <Component id="dummyCommentsPanel" alignment="0" pref="791" max="32767" attributes="0"/> |
| 11 | + </Group> |
| 12 | + </DimensionLayout> |
| 13 | + <DimensionLayout dim="1"> |
| 14 | + <Group type="103" groupAlignment="0" attributes="0"> |
| 15 | + <Component id="dummyCommentsPanel" alignment="0" pref="13" max="32767" attributes="0"/> |
| 16 | + </Group> |
| 17 | + </DimensionLayout> |
| 18 | + </Layout> |
| 19 | + <SubComponents> |
| 20 | + <Container class="javax.swing.JPanel" name="dummyCommentsPanel"> |
| 21 | + |
| 22 | + <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> |
| 23 | + </Container> |
| 24 | + </SubComponents> |
| 25 | + </Container> |
| 26 | + </NonVisualComponents> |
4 | 27 | <AuxValues> |
5 | 28 | <AuxValue name="FormSettings_autoResourcing" type="java.lang.Integer" value="1"/> |
6 | 29 | <AuxValue name="FormSettings_autoSetComponentName" type="java.lang.Boolean" value="false"/> |
|
241 | 264 | <Layout> |
242 | 265 | <DimensionLayout dim="0"> |
243 | 266 | <Group type="103" groupAlignment="0" attributes="0"> |
| 267 | + <Component id="attributesViewPanel" alignment="0" max="32767" attributes="0"/> |
244 | 268 | <Group type="102" attributes="0"> |
245 | 269 | <EmptySpace max="-2" attributes="0"/> |
246 | 270 | <Group type="103" groupAlignment="0" attributes="0"> |
247 | 271 | <Group type="102" alignment="1" attributes="0"> |
248 | 272 | <Group type="103" groupAlignment="0" attributes="0"> |
249 | 273 | <Component id="descriptionLabel" min="-2" max="-2" attributes="0"/> |
250 | 274 | <Component id="titleLabel" alignment="0" min="-2" max="-2" attributes="0"/> |
| 275 | + <Group type="102" alignment="0" attributes="0"> |
| 276 | + <Component id="insertTemplateButton" min="-2" max="-2" attributes="0"/> |
| 277 | + <EmptySpace max="-2" attributes="0"/> |
| 278 | + <Component id="manageTemplatesButton" min="-2" max="-2" attributes="0"/> |
| 279 | + </Group> |
251 | 280 | </Group> |
252 | | - <EmptySpace min="-2" pref="37" max="-2" attributes="0"/> |
| 281 | + <EmptySpace type="separate" max="-2" attributes="0"/> |
253 | 282 | <Group type="103" groupAlignment="0" attributes="0"> |
254 | | - <Component id="descriptionTabbedPanel" pref="512" max="32767" attributes="0"/> |
| 283 | + <Component id="descriptionTabbedPanel" max="32767" attributes="0"/> |
255 | 284 | <Component id="titleTextField" max="32767" attributes="0"/> |
256 | 285 | </Group> |
257 | 286 | <EmptySpace max="-2" attributes="0"/> |
|
284 | 313 | <EmptySpace max="-2" attributes="0"/> |
285 | 314 | <Component id="newCommentButton" min="-2" max="-2" attributes="0"/> |
286 | 315 | </Group> |
| 316 | + <Component id="commentsCollapsibleSectionPanel" alignment="0" max="32767" attributes="0"/> |
287 | 317 | </Group> |
288 | 318 | <EmptySpace max="-2" attributes="0"/> |
289 | 319 | </Group> |
290 | | - <Component id="attributesViewPanel" alignment="0" max="32767" attributes="0"/> |
291 | | - <Component id="mainCommetnsPanel" alignment="0" max="32767" attributes="0"/> |
292 | 320 | </Group> |
293 | 321 | </DimensionLayout> |
294 | 322 | <DimensionLayout dim="1"> |
|
317 | 345 | </Group> |
318 | 346 | <Group type="102" attributes="0"> |
319 | 347 | <Component id="descriptionLabel" min="-2" max="-2" attributes="0"/> |
320 | | - <EmptySpace min="-2" pref="271" max="-2" attributes="0"/> |
| 348 | + <EmptySpace max="-2" attributes="0"/> |
| 349 | + <Group type="103" groupAlignment="0" attributes="0"> |
| 350 | + <Component id="insertTemplateButton" min="-2" max="-2" attributes="0"/> |
| 351 | + <Component id="manageTemplatesButton" min="-2" max="-2" attributes="0"/> |
| 352 | + </Group> |
| 353 | + <EmptySpace min="-2" pref="237" max="-2" attributes="0"/> |
321 | 354 | </Group> |
322 | 355 | <Component id="descriptionTabbedPanel" min="-2" max="-2" attributes="0"/> |
323 | 356 | </Group> |
324 | 357 | <EmptySpace max="-2" attributes="0"/> |
325 | 358 | <Component id="attributesViewPanel" min="-2" max="-2" attributes="0"/> |
326 | | - <EmptySpace max="-2" attributes="0"/> |
327 | | - <Component id="mainCommetnsPanel" min="-2" max="-2" attributes="0"/> |
| 359 | + <EmptySpace type="unrelated" max="-2" attributes="0"/> |
| 360 | + <Component id="commentsCollapsibleSectionPanel" min="-2" max="-2" attributes="0"/> |
328 | 361 | <EmptySpace min="-2" max="-2" attributes="0"/> |
329 | 362 | <Group type="103" groupAlignment="0" attributes="0"> |
330 | 363 | <Component id="newCommentLabel" min="-2" max="-2" attributes="0"/> |
|
335 | 368 | <Component id="newCommentButton" alignment="3" min="-2" max="-2" attributes="0"/> |
336 | 369 | <Component id="newCommentCloseReopenIssueButton" alignment="3" min="-2" max="-2" attributes="0"/> |
337 | 370 | </Group> |
338 | | - <EmptySpace max="32767" attributes="0"/> |
| 371 | + <EmptySpace pref="69" max="32767" attributes="0"/> |
339 | 372 | </Group> |
340 | 373 | </Group> |
341 | 374 | </DimensionLayout> |
|
449 | 482 | </Component> |
450 | 483 | <Component class="com.junichi11.netbeans.modules.github.issues.issue.ui.AttributesViewPanel" name="attributesViewPanel"> |
451 | 484 | </Component> |
452 | | - <Container class="javax.swing.JPanel" name="mainCommetnsPanel"> |
453 | | - |
454 | | - <Layout class="org.netbeans.modules.form.compat2.layouts.DesignBorderLayout"/> |
455 | | - </Container> |
456 | 485 | <Component class="org.netbeans.modules.bugtracking.commons.LinkButton" name="assignYourselfLinkButton"> |
457 | 486 | <Properties> |
458 | 487 | <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> |
|
463 | 492 | <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="assignYourselfLinkButtonActionPerformed"/> |
464 | 493 | </Events> |
465 | 494 | </Component> |
| 495 | + <Component class="org.netbeans.modules.bugtracking.commons.CollapsibleSectionPanel" name="commentsCollapsibleSectionPanel"> |
| 496 | + <Properties> |
| 497 | + <Property name="content" type="javax.swing.JComponent" editor="org.netbeans.modules.form.ComponentChooserEditor"> |
| 498 | + <ComponentRef name="mainCommentsPanel"/> |
| 499 | + </Property> |
| 500 | + <Property name="label" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> |
| 501 | + <ResourceString bundle="com/junichi11/netbeans/modules/github/issues/issue/ui/Bundle.properties" key="GitHubIssuePanel.commentsCollapsibleSectionPanel.label" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> |
| 502 | + </Property> |
| 503 | + </Properties> |
| 504 | + </Component> |
| 505 | + <Component class="javax.swing.JButton" name="insertTemplateButton"> |
| 506 | + <Properties> |
| 507 | + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> |
| 508 | + <Image iconType="2" name="/home/junichi11/NetBeansProjects/netbeans-github-issues/src/main/resources/com/junichi11/netbeans/modules/github/issues/resources/template_16.png"/> |
| 509 | + </Property> |
| 510 | + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> |
| 511 | + <ResourceString bundle="com/junichi11/netbeans/modules/github/issues/issue/ui/Bundle.properties" key="GitHubIssuePanel.insertTemplateButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> |
| 512 | + </Property> |
| 513 | + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> |
| 514 | + <ResourceString bundle="com/junichi11/netbeans/modules/github/issues/issue/ui/Bundle.properties" key="GitHubIssuePanel.insertTemplateButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> |
| 515 | + </Property> |
| 516 | + </Properties> |
| 517 | + <Events> |
| 518 | + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="insertTemplateButtonActionPerformed"/> |
| 519 | + </Events> |
| 520 | + </Component> |
| 521 | + <Component class="javax.swing.JButton" name="manageTemplatesButton"> |
| 522 | + <Properties> |
| 523 | + <Property name="icon" type="javax.swing.Icon" editor="org.netbeans.modules.form.editors2.IconEditor"> |
| 524 | + <Image iconType="2" name="/home/junichi11/NetBeansProjects/netbeans-github-issues/src/main/resources/com/junichi11/netbeans/modules/github/issues/resources/template_settings_16.png"/> |
| 525 | + </Property> |
| 526 | + <Property name="text" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> |
| 527 | + <ResourceString bundle="com/junichi11/netbeans/modules/github/issues/issue/ui/Bundle.properties" key="GitHubIssuePanel.manageTemplatesButton.text" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> |
| 528 | + </Property> |
| 529 | + <Property name="toolTipText" type="java.lang.String" editor="org.netbeans.modules.i18n.form.FormI18nStringEditor"> |
| 530 | + <ResourceString bundle="com/junichi11/netbeans/modules/github/issues/issue/ui/Bundle.properties" key="GitHubIssuePanel.manageTemplatesButton.toolTipText" replaceFormat="org.openide.util.NbBundle.getMessage({sourceFileName}.class, "{key}")"/> |
| 531 | + </Property> |
| 532 | + </Properties> |
| 533 | + <Events> |
| 534 | + <EventHandler event="actionPerformed" listener="java.awt.event.ActionListener" parameters="java.awt.event.ActionEvent" handler="manageTemplatesButtonActionPerformed"/> |
| 535 | + </Events> |
| 536 | + </Component> |
466 | 537 | </SubComponents> |
467 | 538 | </Container> |
468 | 539 | </SubComponents> |
|
0 commit comments