| Revision | 153 (tree) |
|---|---|
| Time | 2015-12-02 20:22:12 |
| Author | t_nakayama1971 |
(empty log message)
| @@ -89,7 +89,8 @@ | ||
| 89 | 89 | TomcatPluginResources.TOMCAT_PREF_DEBUGMODE_KEY, PREF_PAGE_DEBUGMODE_LABEL, composite); |
| 90 | 90 | initField(this.debugModeEditor); |
| 91 | 91 | |
| 92 | - new Label(composite, SWT.NULL); | |
| 92 | + Label lbl = new Label(composite, SWT.NULL); | |
| 93 | + lbl.setParent(composite); | |
| 93 | 94 | |
| 94 | 95 | Composite group = new Composite(composite, SWT.NULL); |
| 95 | 96 | GridData gd = new GridData(GridData.FILL_BOTH); |
| @@ -82,7 +82,8 @@ | ||
| 82 | 82 | initField(this.base); |
| 83 | 83 | |
| 84 | 84 | //blank |
| 85 | - new Label(composite, SWT.NULL); | |
| 85 | + Label lbl = new Label(composite, SWT.NULL); | |
| 86 | + lbl.setParent(composite); | |
| 86 | 87 | |
| 87 | 88 | return composite; |
| 88 | 89 | } |
| @@ -60,7 +60,8 @@ | ||
| 60 | 60 | // new Label(composite, SWT.NULL); |
| 61 | 61 | createUpdateXmlGroup(composite); |
| 62 | 62 | |
| 63 | - new Label(composite, SWT.NULL); | |
| 63 | + Label lbl = new Label(composite, SWT.NULL); | |
| 64 | + lbl.setParent(composite); | |
| 64 | 65 | createRootDirGroup(composite); |
| 65 | 66 | |
| 66 | 67 | setErrorMessage(null); |
| @@ -81,7 +81,8 @@ | ||
| 81 | 81 | createExtraInformationGroup(group); |
| 82 | 82 | |
| 83 | 83 | //blank |
| 84 | - new Label(group, SWT.NULL); | |
| 84 | + Label lbl = new Label(group, SWT.NULL); | |
| 85 | + lbl.setParent(composite); | |
| 85 | 86 | |
| 86 | 87 | createRootDirGroup(group); |
| 87 | 88 |
| @@ -101,7 +101,8 @@ | ||
| 101 | 101 | PREF_PAGE_HOME_LABEL, homeGroup); |
| 102 | 102 | |
| 103 | 103 | //blank |
| 104 | - new Label(composite, SWT.NULL); | |
| 104 | + Label lbl = new Label(composite, SWT.NULL); | |
| 105 | + lbl.setParent(composite); | |
| 105 | 106 | |
| 106 | 107 | Group modeGroup = new Group(composite, SWT.NONE); |
| 107 | 108 | modeGroup.setLayout(new GridLayout(1, false)); |
| @@ -117,7 +118,8 @@ | ||
| 117 | 118 | configGroup, false); |
| 118 | 119 | |
| 119 | 120 | //blank |
| 120 | - new Label(composite, SWT.NULL); | |
| 121 | + lbl = new Label(composite, SWT.NULL); | |
| 122 | + lbl.setParent(composite); | |
| 121 | 123 | |
| 122 | 124 | this.configLocationGroup = new Composite(modeGroup, SWT.NULL); |
| 123 | 125 | this.configFile = new TomcatFileFieldEditor( |
| @@ -133,7 +135,8 @@ | ||
| 133 | 135 | this.home.setPropertyChangeListener(this); |
| 134 | 136 | |
| 135 | 137 | //blank |
| 136 | - new Label(composite, SWT.NULL); | |
| 138 | + lbl = new Label(composite, SWT.NULL); | |
| 139 | + lbl.setParent(composite); | |
| 137 | 140 | |
| 138 | 141 | initLayoutAndData(homeGroup, 3); |
| 139 | 142 | initLayoutAndData(modeGroup, 1); |
| @@ -64,8 +64,10 @@ | ||
| 64 | 64 | Label details = new Label(box, SWT.WRAP); |
| 65 | 65 | details.setText(PREF_PAGE_MANAGER_BANNER); |
| 66 | 66 | |
| 67 | - new Label(getFieldEditorParent(), SWT.NULL); | |
| 68 | - new Label(getFieldEditorParent(), SWT.NULL); | |
| 67 | + Label lbl = new Label(getFieldEditorParent(), SWT.NULL); | |
| 68 | + lbl.setParent(getFieldEditorParent()); | |
| 69 | + lbl = new Label(getFieldEditorParent(), SWT.NULL); | |
| 70 | + lbl.setParent(getFieldEditorParent()); | |
| 69 | 71 | |
| 70 | 72 | this.urlEditor = new StringFieldEditor( |
| 71 | 73 | TomcatPluginResources.TOMCAT_PREF_MANAGER_URL, |
| @@ -73,8 +75,10 @@ | ||
| 73 | 75 | getFieldEditorParent()); |
| 74 | 76 | addField(this.urlEditor); |
| 75 | 77 | |
| 76 | - new Label(getFieldEditorParent(), SWT.NULL); | |
| 77 | - new Label(getFieldEditorParent(), SWT.NULL); | |
| 78 | + lbl = new Label(getFieldEditorParent(), SWT.NULL); | |
| 79 | + lbl.setParent(getFieldEditorParent()); | |
| 80 | + lbl = new Label(getFieldEditorParent(), SWT.NULL); | |
| 81 | + lbl.setParent(getFieldEditorParent()); | |
| 78 | 82 | |
| 79 | 83 | this.userEditor = new StringFieldEditor( |
| 80 | 84 | TomcatPluginResources.TOMCAT_PREF_MANAGER_USER, |
| @@ -88,7 +92,8 @@ | ||
| 88 | 92 | getFieldEditorParent()); |
| 89 | 93 | addField(this.pwdEditor); |
| 90 | 94 | |
| 91 | - new Label(getFieldEditorParent(), SWT.NULL); | |
| 95 | + lbl = new Label(getFieldEditorParent(), SWT.NULL); | |
| 96 | + lbl.setParent(getFieldEditorParent()); | |
| 92 | 97 | |
| 93 | 98 | Button addUserBt = new Button(getFieldEditorParent(), SWT.PUSH); |
| 94 | 99 | addUserBt.setText(PREF_PAGE_MANAGER_ADDUSER); |