Skip to content

Commit 25b5726

Browse files
committed
添加默认参数设置dialog和相关逻辑
1 parent f6c9b2b commit 25b5726

File tree

12 files changed

+477
-46
lines changed

12 files changed

+477
-46
lines changed

objectbox-models/default.json

Lines changed: 52 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -4,78 +4,102 @@
44
"_note3": "If you have VCS merge conflicts, you must resolve them according to ObjectBox docs.",
55
"entities": [
66
{
7-
"id": "1:9070185516669921501",
8-
"lastPropertyId": "8:1187463951019417804",
7+
"id": "1:7108676259396977645",
8+
"lastPropertyId": "7:2295757526968835612",
99
"name": "ApiBean",
1010
"properties": [
1111
{
12-
"id": "1:7029712485078776413",
12+
"id": "1:1639868835150814962",
1313
"name": "id"
1414
},
1515
{
16-
"id": "2:3978875683780283793",
16+
"id": "2:2080580518748061893",
1717
"name": "method"
1818
},
1919
{
20-
"id": "3:8086421898222647303",
20+
"id": "3:2834421018815822379",
2121
"name": "url"
2222
},
2323
{
24-
"id": "5:8038266698557329938",
25-
"name": "encryptType"
24+
"id": "4:4825371467230632842",
25+
"name": "paramsMap"
2626
},
2727
{
28-
"id": "6:5499539181800737854",
29-
"indexId": "4:8865588299107533145",
30-
"name": "projectId"
28+
"id": "5:2063548344561858784",
29+
"name": "encryptType"
3130
},
3231
{
33-
"id": "7:9042463734489530509",
34-
"name": "paramsMap"
32+
"id": "6:5429222793148795982",
33+
"indexId": "1:7522200330075218487",
34+
"name": "projectId"
3535
},
3636
{
37-
"id": "8:1187463951019417804",
37+
"id": "7:2295757526968835612",
3838
"name": "createDate"
3939
}
4040
],
4141
"relations": []
4242
},
4343
{
44-
"id": "2:7225886512415135978",
45-
"lastPropertyId": "3:5993062338108394619",
44+
"id": "2:6221161776531880629",
45+
"lastPropertyId": "3:5891365109221921321",
4646
"name": "ProjectBean",
4747
"properties": [
4848
{
49-
"id": "1:5197485647034223002",
49+
"id": "1:3849416496976680262",
5050
"name": "id"
5151
},
5252
{
53-
"id": "2:5984115378107091375",
54-
"indexId": "3:1701380745400854523",
53+
"id": "2:2968560084276041096",
54+
"indexId": "2:3527440894535392875",
5555
"name": "name"
5656
},
5757
{
58-
"id": "3:5993062338108394619",
58+
"id": "3:5891365109221921321",
5959
"name": "baseUrlList"
6060
}
6161
],
6262
"relations": []
63+
},
64+
{
65+
"id": "3:6642322354700112124",
66+
"lastPropertyId": "5:42282130757559747",
67+
"name": "TableBean",
68+
"properties": [
69+
{
70+
"id": "1:7768808324752372527",
71+
"name": "id"
72+
},
73+
{
74+
"id": "2:3447499673520710493",
75+
"name": "selected"
76+
},
77+
{
78+
"id": "3:6991724854441645252",
79+
"name": "key"
80+
},
81+
{
82+
"id": "4:3343448092562084023",
83+
"name": "value"
84+
},
85+
{
86+
"id": "5:42282130757559747",
87+
"indexId": "3:1193464731902280295",
88+
"name": "projectId"
89+
}
90+
],
91+
"relations": []
6392
}
6493
],
65-
"lastEntityId": "2:7225886512415135978",
66-
"lastIndexId": "4:8865588299107533145",
94+
"lastEntityId": "3:6642322354700112124",
95+
"lastIndexId": "3:1193464731902280295",
6796
"lastRelationId": "0:0",
6897
"lastSequenceId": "0:0",
6998
"modelVersion": 4,
7099
"modelVersionParserMinimum": 4,
71100
"retiredEntityUids": [],
72-
"retiredIndexUids": [
73-
4865196870853324190,
74-
4855703933356883490
75-
],
76-
"retiredPropertyUids": [
77-
5827927612626697138
78-
],
101+
"retiredIndexUids": [],
102+
"retiredPropertyUids": [],
79103
"retiredRelationUids": [],
80104
"version": 1
81105
}
Lines changed: 105 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,105 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.longforus.apidebugger.ui.DefaultParamsDialog">
3+
<grid id="cbd77" binding="contentPane" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
4+
<margin top="10" left="10" bottom="10" right="10"/>
5+
<constraints>
6+
<xy x="48" y="54" width="436" height="297"/>
7+
</constraints>
8+
<properties>
9+
<preferredSize width="501" height="356"/>
10+
</properties>
11+
<border type="none"/>
12+
<children>
13+
<grid id="94766" layout-manager="GridLayoutManager" row-count="1" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
14+
<margin top="0" left="0" bottom="0" right="0"/>
15+
<constraints>
16+
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="1" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
17+
</constraints>
18+
<properties/>
19+
<border type="none"/>
20+
<children>
21+
<hspacer id="98af6">
22+
<constraints>
23+
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="1" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
24+
</constraints>
25+
</hspacer>
26+
<grid id="9538f" layout-manager="GridLayoutManager" row-count="1" column-count="2" same-size-horizontally="true" same-size-vertically="false" hgap="-1" vgap="-1">
27+
<margin top="0" left="0" bottom="0" right="0"/>
28+
<constraints>
29+
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
30+
</constraints>
31+
<properties/>
32+
<border type="none"/>
33+
<children>
34+
<component id="e7465" class="javax.swing.JButton" binding="buttonOK">
35+
<constraints>
36+
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
37+
</constraints>
38+
<properties>
39+
<text value="OK"/>
40+
</properties>
41+
</component>
42+
<component id="5723f" class="javax.swing.JButton" binding="buttonCancel">
43+
<constraints>
44+
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
45+
</constraints>
46+
<properties>
47+
<text value="Cancel"/>
48+
</properties>
49+
</component>
50+
</children>
51+
</grid>
52+
</children>
53+
</grid>
54+
<grid id="e3588" layout-manager="GridLayoutManager" row-count="2" column-count="3" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
55+
<margin top="0" left="0" bottom="0" right="0"/>
56+
<constraints>
57+
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
58+
</constraints>
59+
<properties/>
60+
<border type="none"/>
61+
<children>
62+
<component id="e03a5" class="javax.swing.JButton" binding="mAddRowButton" default-binding="true">
63+
<constraints>
64+
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
65+
</constraints>
66+
<properties>
67+
<text value="Add Row"/>
68+
</properties>
69+
</component>
70+
<component id="73841" class="javax.swing.JButton" binding="mDeleteRowButton" default-binding="true">
71+
<constraints>
72+
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
73+
</constraints>
74+
<properties>
75+
<text value="Delete Row"/>
76+
</properties>
77+
</component>
78+
<component id="2d40a" class="javax.swing.JButton" binding="mClearButton" default-binding="true">
79+
<constraints>
80+
<grid row="1" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
81+
</constraints>
82+
<properties>
83+
<text value="Clear"/>
84+
</properties>
85+
</component>
86+
<scrollpane id="2aac0">
87+
<constraints>
88+
<grid row="0" column="0" row-span="1" col-span="3" vsize-policy="7" hsize-policy="7" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
89+
</constraints>
90+
<properties/>
91+
<border type="none"/>
92+
<children>
93+
<component id="da728" class="javax.swing.JTable" binding="mTable">
94+
<constraints/>
95+
<properties>
96+
<rowHeight value="25"/>
97+
</properties>
98+
</component>
99+
</children>
100+
</scrollpane>
101+
</children>
102+
</grid>
103+
</children>
104+
</grid>
105+
</form>

0 commit comments

Comments
 (0)