Browse Source

added option for data source file path

tags/v1.1.0
Robin Thoni 8 years ago
parent
commit
941ef0ba04

+ 1
- 1
.idea/misc.xml View File

13
     <ConfirmationsSetting value="0" id="Add" />
13
     <ConfirmationsSetting value="0" id="Add" />
14
     <ConfirmationsSetting value="0" id="Remove" />
14
     <ConfirmationsSetting value="0" id="Remove" />
15
   </component>
15
   </component>
16
-  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_3" default="false" assert-keyword="false" jdk-15="false" project-jdk-name="IntelliJ IDEA RS-163.7608" project-jdk-type="IDEA JDK">
16
+  <component name="ProjectRootManager" version="2" languageLevel="JDK_1_8" default="false" assert-keyword="true" jdk-15="true" project-jdk-name="IntelliJ IDEA IU-162.2032.8" project-jdk-type="IDEA JDK">
17
     <output url="file://$PROJECT_DIR$/out" />
17
     <output url="file://$PROJECT_DIR$/out" />
18
   </component>
18
   </component>
19
 </project>
19
 </project>

+ 1
- 2
src/com/rthoni/intellij/codefromds/business/Generator.java View File

207
 
207
 
208
         DataSourceDbo dbo = convertOptions(options, types);
208
         DataSourceDbo dbo = convertOptions(options, types);
209
 
209
 
210
-        generateFile(dataSourceTemplateAbsolutePath, modelsAbsolutePath + File.separator +
211
-                "Database." + options.getFilesExtension(), dbo, null);
210
+        generateFile(dataSourceTemplateAbsolutePath, Helper.getAbsolutePath(project, options.getDataSourceRelativePath()), dbo, null);
212
         for (TableDataSourceDbo table : dbo.getTables()) {
211
         for (TableDataSourceDbo table : dbo.getTables()) {
213
             if (table.hasAny()) {
212
             if (table.hasAny()) {
214
                 generateFile(modelsTemplateAbsolutePath, modelsAbsolutePath + File.separator +
213
                 generateFile(modelsTemplateAbsolutePath, modelsAbsolutePath + File.separator +

+ 14
- 1
src/com/rthoni/intellij/codefromds/dbo/options/GenerateOptions.java View File

14
 
14
 
15
     private DataSourceSelection _selection;
15
     private DataSourceSelection _selection;
16
 
16
 
17
+    private String _dataSourceRelativePath;
18
+
17
     private String _modelsRelativePath;
19
     private String _modelsRelativePath;
18
 
20
 
19
     private String _dataSourceTemplateRelativePath;
21
     private String _dataSourceTemplateRelativePath;
27
     private String _castFileRelativePath;
29
     private String _castFileRelativePath;
28
 
30
 
29
     public GenerateOptions(DbDataSource source) {
31
     public GenerateOptions(DbDataSource source) {
32
+        _filesExtension = "cs";
33
+        _dataSourceRelativePath = "DataAccess/Database." + _filesExtension;
30
         _modelsRelativePath = "Models";
34
         _modelsRelativePath = "Models";
31
         _dataSourceTemplateRelativePath = "code-from-ds" + File.separator + "DataSource.twig";
35
         _dataSourceTemplateRelativePath = "code-from-ds" + File.separator + "DataSource.twig";
32
         _modelsTemplateRelativePath = "code-from-ds" + File.separator + "Models.twig";
36
         _modelsTemplateRelativePath = "code-from-ds" + File.separator + "Models.twig";
33
         _configAbsolutePath = source.getProject().getBasePath() + File.separator + "code-from-ds" + File.separator + "code-from-ds.json";
37
         _configAbsolutePath = source.getProject().getBasePath() + File.separator + "code-from-ds" + File.separator + "code-from-ds.json";
34
-        _filesExtension = "cs";
35
         _castFileRelativePath = "code-from-ds" + File.separator + "types-cast.json";
38
         _castFileRelativePath = "code-from-ds" + File.separator + "types-cast.json";
36
         _selection = new DataSourceSelection(source);
39
         _selection = new DataSourceSelection(source);
37
     }
40
     }
40
     {
43
     {
41
         HashMap<String, Object> map = new HashMap<>();
44
         HashMap<String, Object> map = new HashMap<>();
42
 
45
 
46
+        map.put("dataSourceRelativePath", _dataSourceRelativePath);
43
         map.put("modelsRelativePath", _modelsRelativePath);
47
         map.put("modelsRelativePath", _modelsRelativePath);
44
         map.put("dataSourceTemplateRelativePath", _dataSourceTemplateRelativePath);
48
         map.put("dataSourceTemplateRelativePath", _dataSourceTemplateRelativePath);
45
         map.put("modelsTemplateRelativePath", _modelsTemplateRelativePath);
49
         map.put("modelsTemplateRelativePath", _modelsTemplateRelativePath);
52
 
56
 
53
     public void fromJson(JSONObject json)
57
     public void fromJson(JSONObject json)
54
     {
58
     {
59
+        _dataSourceRelativePath = Helper.getJsonString(json, "dataSourceRelativePath");
55
         _modelsRelativePath = Helper.getJsonString(json, "modelsRelativePath");
60
         _modelsRelativePath = Helper.getJsonString(json, "modelsRelativePath");
56
         _dataSourceTemplateRelativePath = Helper.getJsonString(json, "dataSourceTemplateRelativePath");
61
         _dataSourceTemplateRelativePath = Helper.getJsonString(json, "dataSourceTemplateRelativePath");
57
         _modelsTemplateRelativePath = Helper.getJsonString(json, "modelsTemplateRelativePath");
62
         _modelsTemplateRelativePath = Helper.getJsonString(json, "modelsTemplateRelativePath");
115
     public void setCastFileRelativePath(String castFileRelativePath) {
120
     public void setCastFileRelativePath(String castFileRelativePath) {
116
         _castFileRelativePath = castFileRelativePath;
121
         _castFileRelativePath = castFileRelativePath;
117
     }
122
     }
123
+
124
+    public String getDataSourceRelativePath() {
125
+        return _dataSourceRelativePath;
126
+    }
127
+
128
+    public void setDataSourceRelativePath(String dataSourceRelativePath) {
129
+        _dataSourceRelativePath = dataSourceRelativePath;
130
+    }
118
 }
131
 }

+ 16
- 1
src/com/rthoni/intellij/codefromds/ui/dialogs/GenerateDialog.java View File

39
     private JBList _listTables;
39
     private JBList _listTables;
40
     private JBList _listColumns;
40
     private JBList _listColumns;
41
     private TextFieldWithBrowseButton _textModels;
41
     private TextFieldWithBrowseButton _textModels;
42
+    private TextFieldWithBrowseButton _textDataSource;
42
     private TextFieldWithBrowseButton _textDataSourceTemplate;
43
     private TextFieldWithBrowseButton _textDataSourceTemplate;
43
     private TextFieldWithBrowseButton _textModelsTemplate;
44
     private TextFieldWithBrowseButton _textModelsTemplate;
44
     private TextFieldWithBrowseButton _textConfigPath;
45
     private TextFieldWithBrowseButton _textConfigPath;
45
     private JTextField _textFilesExtension;
46
     private JTextField _textFilesExtension;
46
-    private JLabel _lblDataSourceTemplatePath;
47
     private JLabel _lblModelsPath;
47
     private JLabel _lblModelsPath;
48
+    private JLabel _lblDataSourcePath;
49
+    private JLabel _lblDataSourceTemplatePath;
48
     private JLabel _lblModelsTemplatePath;
50
     private JLabel _lblModelsTemplatePath;
49
     private TextFieldWithBrowseButton _textCastFile;
51
     private TextFieldWithBrowseButton _textCastFile;
50
     private JLabel _lblCastFile;
52
     private JLabel _lblCastFile;
70
         if (_options != null) {
72
         if (_options != null) {
71
             showSource(_options.getSelection());
73
             showSource(_options.getSelection());
72
             _textModels.setText(Helper.getAbsolutePath(_project, _options.getModelsRelativePath()));
74
             _textModels.setText(Helper.getAbsolutePath(_project, _options.getModelsRelativePath()));
75
+            _textDataSource.setText(Helper.getAbsolutePath(_project, _options.getDataSourceRelativePath()));
73
             _textDataSourceTemplate.setText(Helper.getAbsolutePath(_project, _options.getDataSourceTemplateRelativePath()));
76
             _textDataSourceTemplate.setText(Helper.getAbsolutePath(_project, _options.getDataSourceTemplateRelativePath()));
74
             _textModelsTemplate.setText(Helper.getAbsolutePath(_project, _options.getModelsTemplateRelativePath()));
77
             _textModelsTemplate.setText(Helper.getAbsolutePath(_project, _options.getModelsTemplateRelativePath()));
75
             _textFilesExtension.setText(_options.getFilesExtension());
78
             _textFilesExtension.setText(_options.getFilesExtension());
79
         else {
82
         else {
80
             showSource(null);
83
             showSource(null);
81
             _textModels.setText("");
84
             _textModels.setText("");
85
+            _textDataSource.setText("");
82
             _textDataSourceTemplate.setText("");
86
             _textDataSourceTemplate.setText("");
83
             _textModelsTemplate.setText("");
87
             _textModelsTemplate.setText("");
84
             _textFilesExtension.setText("");
88
             _textFilesExtension.setText("");
92
     protected ValidationInfo doValidate() {
96
     protected ValidationInfo doValidate() {
93
         ValidationInfo info = null;
97
         ValidationInfo info = null;
94
         File modelDir = _options == null ? null : new File(Helper.getAbsolutePath(_project, _options.getModelsRelativePath()));
98
         File modelDir = _options == null ? null : new File(Helper.getAbsolutePath(_project, _options.getModelsRelativePath()));
99
+        File dataSourcePath = _options == null ? null : new File(Helper.getAbsolutePath(_project, _options.getDataSourceRelativePath()));
100
+        File dataSourceDir = _options == null ? null : new File(dataSourcePath.getParent());
95
         File dataSourceTemplatePath = _options == null ? null : new File(Helper.getAbsolutePath(_project, _options.getDataSourceTemplateRelativePath()));
101
         File dataSourceTemplatePath = _options == null ? null : new File(Helper.getAbsolutePath(_project, _options.getDataSourceTemplateRelativePath()));
96
         File modelsTemplatePath = _options == null ? null : new File(Helper.getAbsolutePath(_project, _options.getModelsTemplateRelativePath()));
102
         File modelsTemplatePath = _options == null ? null : new File(Helper.getAbsolutePath(_project, _options.getModelsTemplateRelativePath()));
97
         File configPath = _options == null ? null : new File(_options.getConfigAbsolutePath());
103
         File configPath = _options == null ? null : new File(_options.getConfigAbsolutePath());
104
         else if (!modelDir.exists() || !modelDir.isDirectory()) {
110
         else if (!modelDir.exists() || !modelDir.isDirectory()) {
105
             info = new ValidationInfo("Models folder does not exists", _textModels.getTextField());
111
             info = new ValidationInfo("Models folder does not exists", _textModels.getTextField());
106
         }
112
         }
113
+        else if (!dataSourceDir.exists() || !dataSourceDir.isDirectory()) {
114
+            info = new ValidationInfo("Data source folder does not exists", _textDataSource.getTextField());
115
+        }
107
         else if (!dataSourceTemplatePath.exists() || !dataSourceTemplatePath.isFile()) {
116
         else if (!dataSourceTemplatePath.exists() || !dataSourceTemplatePath.isFile()) {
108
             info = new ValidationInfo("Data source template file does not exists", _textDataSourceTemplate.getTextField());
117
             info = new ValidationInfo("Data source template file does not exists", _textDataSourceTemplate.getTextField());
109
         }
118
         }
157
         });
166
         });
158
 
167
 
159
         setupTextField(_textModels, null, true, "Models");
168
         setupTextField(_textModels, null, true, "Models");
169
+        setupTextField(_textDataSource, null, false, "Data Source");
160
         setupTextField(_textDataSourceTemplate, null, false, "Data Source Template");
170
         setupTextField(_textDataSourceTemplate, null, false, "Data Source Template");
161
         setupTextField(_textModelsTemplate, null, false, "Models Template");
171
         setupTextField(_textModelsTemplate, null, false, "Models Template");
162
         setupTextField(_textConfigPath, null, false, "Configuration");
172
         setupTextField(_textConfigPath, null, false, "Configuration");
166
             _options.setModelsRelativePath(Helper.getRelativePath(_project, s));
176
             _options.setModelsRelativePath(Helper.getRelativePath(_project, s));
167
             _lblModelsPath.setText("$ProjectRoot/" + _options.getModelsRelativePath());
177
             _lblModelsPath.setText("$ProjectRoot/" + _options.getModelsRelativePath());
168
         });
178
         });
179
+
180
+        setupTextFieldListener(_textDataSource.getTextField(), s -> {
181
+            _options.setDataSourceRelativePath(Helper.getRelativePath(_project, s));
182
+            _lblDataSourcePath.setText("$ProjectRoot/" + _options.getDataSourceRelativePath());
183
+        });
169
         setupTextFieldListener(_textDataSourceTemplate.getTextField(), s -> {
184
         setupTextFieldListener(_textDataSourceTemplate.getTextField(), s -> {
170
             _options.setDataSourceTemplateRelativePath(Helper.getRelativePath(_project, s));
185
             _options.setDataSourceTemplateRelativePath(Helper.getRelativePath(_project, s));
171
             _lblDataSourceTemplatePath.setText("$ProjectRoot/" + _options.getDataSourceTemplateRelativePath());
186
             _lblDataSourceTemplatePath.setText("$ProjectRoot/" + _options.getDataSourceTemplateRelativePath());

+ 36
- 14
src/com/rthoni/intellij/codefromds/ui/forms/GenerateForm.form View File

13
           <grid row="3" column="0" row-span="1" col-span="2" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
13
           <grid row="3" column="0" row-span="1" col-span="2" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
14
         </constraints>
14
         </constraints>
15
       </vspacer>
15
       </vspacer>
16
-      <grid id="6946b" layout-manager="GridLayoutManager" row-count="10" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
16
+      <grid id="6946b" layout-manager="GridLayoutManager" row-count="12" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
17
         <margin top="0" left="0" bottom="0" right="0"/>
17
         <margin top="0" left="0" bottom="0" right="0"/>
18
         <constraints>
18
         <constraints>
19
           <grid row="2" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
19
           <grid row="2" column="0" row-span="1" col-span="2" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
37
           </component>
37
           </component>
38
           <component id="f3fdd" class="javax.swing.JLabel">
38
           <component id="f3fdd" class="javax.swing.JLabel">
39
             <constraints>
39
             <constraints>
40
-              <grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
40
+              <grid row="4" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
41
             </constraints>
41
             </constraints>
42
             <properties>
42
             <properties>
43
               <text value="Data Source Template:"/>
43
               <text value="Data Source Template:"/>
45
           </component>
45
           </component>
46
           <component id="91f63" class="javax.swing.JLabel">
46
           <component id="91f63" class="javax.swing.JLabel">
47
             <constraints>
47
             <constraints>
48
-              <grid row="4" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
48
+              <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"/>
49
             </constraints>
49
             </constraints>
50
             <properties>
50
             <properties>
51
               <text value="Models Template:"/>
51
               <text value="Models Template:"/>
53
           </component>
53
           </component>
54
           <component id="a074b" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="_textDataSourceTemplate">
54
           <component id="a074b" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="_textDataSourceTemplate">
55
             <constraints>
55
             <constraints>
56
-              <grid row="2" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
56
+              <grid row="4" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
57
             </constraints>
57
             </constraints>
58
             <properties/>
58
             <properties/>
59
           </component>
59
           </component>
60
           <component id="88c45" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="_textModelsTemplate">
60
           <component id="88c45" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="_textModelsTemplate">
61
             <constraints>
61
             <constraints>
62
-              <grid row="4" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
62
+              <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"/>
63
             </constraints>
63
             </constraints>
64
             <properties/>
64
             <properties/>
65
           </component>
65
           </component>
66
           <component id="22d0d" class="javax.swing.JLabel">
66
           <component id="22d0d" class="javax.swing.JLabel">
67
             <constraints>
67
             <constraints>
68
-              <grid row="9" 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="11" 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
             </constraints>
69
             </constraints>
70
             <properties>
70
             <properties>
71
               <text value="Configuration File:"/>
71
               <text value="Configuration File:"/>
73
           </component>
73
           </component>
74
           <component id="4c3cb" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="_textConfigPath">
74
           <component id="4c3cb" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="_textConfigPath">
75
             <constraints>
75
             <constraints>
76
-              <grid row="9" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
76
+              <grid row="11" 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>
77
             </constraints>
78
             <properties/>
78
             <properties/>
79
           </component>
79
           </component>
87
           </component>
87
           </component>
88
           <component id="1ec86" class="javax.swing.JLabel" binding="_lblDataSourceTemplatePath">
88
           <component id="1ec86" class="javax.swing.JLabel" binding="_lblDataSourceTemplatePath">
89
             <constraints>
89
             <constraints>
90
-              <grid row="3" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
90
+              <grid row="5" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
91
             </constraints>
91
             </constraints>
92
             <properties>
92
             <properties>
93
               <text value="$ProjectRoot/"/>
93
               <text value="$ProjectRoot/"/>
95
           </component>
95
           </component>
96
           <component id="fab09" class="javax.swing.JLabel" binding="_lblModelsTemplatePath">
96
           <component id="fab09" class="javax.swing.JLabel" binding="_lblModelsTemplatePath">
97
             <constraints>
97
             <constraints>
98
-              <grid row="5" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
98
+              <grid row="7" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
99
             </constraints>
99
             </constraints>
100
             <properties>
100
             <properties>
101
               <text value="$ProjectRoot/"/>
101
               <text value="$ProjectRoot/"/>
103
           </component>
103
           </component>
104
           <component id="c0c9e" class="javax.swing.JLabel">
104
           <component id="c0c9e" class="javax.swing.JLabel">
105
             <constraints>
105
             <constraints>
106
-              <grid row="8" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
106
+              <grid row="10" 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>
107
             </constraints>
108
             <properties>
108
             <properties>
109
               <text value="Files extension:"/>
109
               <text value="Files extension:"/>
111
           </component>
111
           </component>
112
           <component id="880ce" class="javax.swing.JTextField" binding="_textFilesExtension">
112
           <component id="880ce" class="javax.swing.JTextField" binding="_textFilesExtension">
113
             <constraints>
113
             <constraints>
114
-              <grid row="8" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
114
+              <grid row="10" 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"/>
115
                 <preferred-size width="150" height="-1"/>
116
               </grid>
116
               </grid>
117
             </constraints>
117
             </constraints>
119
           </component>
119
           </component>
120
           <component id="3cbf6" class="javax.swing.JLabel">
120
           <component id="3cbf6" class="javax.swing.JLabel">
121
             <constraints>
121
             <constraints>
122
-              <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"/>
122
+              <grid row="8" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
123
             </constraints>
123
             </constraints>
124
             <properties>
124
             <properties>
125
               <text value="Type Cast File:"/>
125
               <text value="Type Cast File:"/>
127
           </component>
127
           </component>
128
           <component id="853dd" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="_textCastFile">
128
           <component id="853dd" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="_textCastFile">
129
             <constraints>
129
             <constraints>
130
-              <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"/>
130
+              <grid row="8" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
131
             </constraints>
131
             </constraints>
132
             <properties/>
132
             <properties/>
133
           </component>
133
           </component>
134
           <component id="8682b" class="javax.swing.JLabel" binding="_lblCastFile">
134
           <component id="8682b" class="javax.swing.JLabel" binding="_lblCastFile">
135
             <constraints>
135
             <constraints>
136
-              <grid row="7" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
136
+              <grid row="9" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
137
+            </constraints>
138
+            <properties>
139
+              <text value="$ProjectRoot/"/>
140
+            </properties>
141
+          </component>
142
+          <component id="e6ec4" class="javax.swing.JLabel">
143
+            <constraints>
144
+              <grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
145
+            </constraints>
146
+            <properties>
147
+              <text value="Data Source File:"/>
148
+            </properties>
149
+          </component>
150
+          <component id="69ea" class="com.intellij.openapi.ui.TextFieldWithBrowseButton" binding="_textDataSource">
151
+            <constraints>
152
+              <grid row="2" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
153
+            </constraints>
154
+            <properties/>
155
+          </component>
156
+          <component id="334c0" class="javax.swing.JLabel" binding="_lblDataSourcePath">
157
+            <constraints>
158
+              <grid row="3" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
137
             </constraints>
159
             </constraints>
138
             <properties>
160
             <properties>
139
               <text value="$ProjectRoot/"/>
161
               <text value="$ProjectRoot/"/>

Loading…
Cancel
Save