Selaa lähdekoodia

typo

tags/v1.1.0
Robin Thoni 8 vuotta sitten
vanhempi
commit
51bd28b5e7

+ 2
- 2
src/com/rthoni/intellij/codefromds/ui/dialogs/GenerateDialog.java Näytä tiedosto

@@ -155,7 +155,7 @@ public class GenerateDialog extends DialogWrapper {
155 155
 
156 156
         setupTextFieldListener(_textModels.getTextField(), s -> {
157 157
             _options.setModelsRelativePath(Helper.getRelativePath(_project, s));
158
-            _lblModelsTemplatePath.setText("$ProjectRoot/" + _options.getModelsRelativePath());
158
+            _lblModelsPath.setText("$ProjectRoot/" + _options.getModelsRelativePath());
159 159
         });
160 160
         setupTextFieldListener(_textDataSourceTemplate.getTextField(), s -> {
161 161
             _options.setDataSourceTemplateRelativePath(Helper.getRelativePath(_project, s));
@@ -163,7 +163,7 @@ public class GenerateDialog extends DialogWrapper {
163 163
         });
164 164
         setupTextFieldListener(_textModelsTemplate.getTextField(), s -> {
165 165
             _options.setModelsTemplateRelativePath(Helper.getRelativePath(_project, s));
166
-            _lblModelsPath.setText("$ProjectRoot/" + _options.getModelsTemplateRelativePath());
166
+            _lblModelsTemplatePath.setText("$ProjectRoot/" + _options.getModelsTemplateRelativePath());
167 167
         });
168 168
         setupTextFieldListener(_textFilesExtension, s -> _options.setFilesExtension(s));
169 169
         setupTextFieldListener(_textConfigPath.getTextField(), s -> _options.setConfigAbsolutePath(s));

+ 18
- 18
src/com/rthoni/intellij/codefromds/ui/forms/GenerateForm.form Näytä tiedosto

@@ -65,7 +65,7 @@
65 65
           </component>
66 66
           <component id="22d0d" class="javax.swing.JLabel">
67 67
             <constraints>
68
-              <grid row="6" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
68
+              <grid row="7" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
69 69
             </constraints>
70 70
             <properties>
71 71
               <text value="Configuration File:"/>
@@ -73,23 +73,7 @@
73 73
           </component>
74 74
           <component id="4c3cb" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="_textConfigPath">
75 75
             <constraints>
76
-              <grid row="6" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
77
-            </constraints>
78
-            <properties/>
79
-          </component>
80
-          <component id="c0c9e" class="javax.swing.JLabel">
81
-            <constraints>
82
-              <grid row="7" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
83
-            </constraints>
84
-            <properties>
85
-              <text value="Files extension:"/>
86
-            </properties>
87
-          </component>
88
-          <component id="880ce" class="javax.swing.JTextField" binding="_textFilesExtension">
89
-            <constraints>
90
-              <grid row="7" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
91
-                <preferred-size width="150" height="-1"/>
92
-              </grid>
76
+              <grid row="7" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
93 77
             </constraints>
94 78
             <properties/>
95 79
           </component>
@@ -117,6 +101,22 @@
117 101
               <text value="$ProjectRoot/"/>
118 102
             </properties>
119 103
           </component>
104
+          <component id="c0c9e" class="javax.swing.JLabel">
105
+            <constraints>
106
+              <grid row="6" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
107
+            </constraints>
108
+            <properties>
109
+              <text value="Files extension:"/>
110
+            </properties>
111
+          </component>
112
+          <component id="880ce" class="javax.swing.JTextField" binding="_textFilesExtension">
113
+            <constraints>
114
+              <grid row="6" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
115
+                <preferred-size width="150" height="-1"/>
116
+              </grid>
117
+            </constraints>
118
+            <properties/>
119
+          </component>
120 120
         </children>
121 121
       </grid>
122 122
       <grid id="39adc" layout-manager="GridLayoutManager" row-count="1" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">

Loading…
Peruuta
Tallenna