Skip to content

Commit 3146290

Browse files
author
Vitaliy Boyko
committed
Fixed form for Message Queue
1 parent 4a0391f commit 3146290

File tree

4 files changed

+229
-64
lines changed

4 files changed

+229
-64
lines changed

README.md

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
[![Version](http://phpstorm.espend.de/badge/8024/version)](https://plugins.jetbrains.com/plugin/8024)
1010
[![Downloads](http://phpstorm.espend.de/badge/8024/downloads)](https://plugins.jetbrains.com/plugin/8024)
1111
![merge-chance-badge](https://img.shields.io/endpoint?url=https%3A%2F%2Fmerge-chance.info%2Fbadge%3Frepo%3Dmagento/magento2-phpstorm-plugin)
12+
[![Made With Love](https://img.shields.io/badge/Made%20With-Love-orange.svg)](https://magento.com)
1213

1314
## Installation
1415

src/com/magento/idea/magento2plugin/actions/generation/dialog/NewMessageQueueDialog.form

+93-40
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,14 @@
1111
</properties>
1212
<border type="none"/>
1313
<children>
14-
<grid id="90a70" layout-manager="GridLayoutManager" row-count="5" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
14+
<grid id="90a70" layout-manager="GridLayoutManager" row-count="7" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
1515
<margin top="0" left="0" bottom="0" right="0"/>
1616
<constraints>
1717
<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"/>
1818
</constraints>
1919
<properties/>
2020
<border type="none"/>
2121
<children>
22-
<component id="b0da4" class="javax.swing.JLabel">
23-
<constraints>
24-
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false">
25-
<preferred-size width="113" height="16"/>
26-
</grid>
27-
</constraints>
28-
<properties>
29-
<labelFor value=""/>
30-
<text value="Topic Name"/>
31-
</properties>
32-
</component>
33-
<component id="1f03b" class="javax.swing.JTextField" binding="topicName">
34-
<constraints>
35-
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
36-
<preferred-size width="150" height="-1"/>
37-
</grid>
38-
</constraints>
39-
<properties/>
40-
<clientProperties>
41-
<html.disable class="java.lang.Boolean" value="true"/>
42-
</clientProperties>
43-
</component>
4422
<component id="29a9d" class="javax.swing.JTextField" binding="handlerName">
4523
<constraints>
4624
<grid row="1" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
@@ -64,53 +42,117 @@
6442
<html.disable class="java.lang.Boolean" value="true"/>
6543
</clientProperties>
6644
</component>
67-
<component id="c2a5" class="javax.swing.JLabel">
45+
<component id="c2a5" class="javax.swing.JLabel" binding="handlerClassLabel">
6846
<constraints>
69-
<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"/>
47+
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
7048
</constraints>
7149
<properties>
72-
<text value="Handler Type"/>
50+
<text value="Handler Class"/>
51+
<toolTipText value="Handler Class Name"/>
7352
</properties>
7453
</component>
75-
<component id="ddec2" class="javax.swing.JTextField" binding="handlerType">
54+
<component id="ddec2" class="javax.swing.JTextField" binding="handlerClass">
7655
<constraints>
77-
<grid row="2" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
56+
<grid row="3" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
7857
<preferred-size width="150" height="-1"/>
7958
</grid>
8059
</constraints>
81-
<properties/>
60+
<properties>
61+
<text value="Handler"/>
62+
</properties>
8263
</component>
8364
<component id="5c579" class="javax.swing.JLabel">
8465
<constraints>
85-
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
66+
<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"/>
8667
</constraints>
8768
<properties>
8869
<text value="Consumer Name"/>
8970
</properties>
9071
</component>
9172
<component id="77ae8" class="javax.swing.JLabel">
9273
<constraints>
93-
<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"/>
74+
<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"/>
9475
</constraints>
9576
<properties>
96-
<text value="Consumer Type"/>
77+
<text value="Consumer Class"/>
78+
<toolTipText value="Consumer Class Name"/>
9779
</properties>
9880
</component>
9981
<component id="6eaf2" class="javax.swing.JTextField" binding="consumerName">
10082
<constraints>
101-
<grid row="3" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
83+
<grid row="4" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
10284
<preferred-size width="150" height="-1"/>
10385
</grid>
10486
</constraints>
10587
<properties/>
10688
</component>
107-
<component id="1fd1e" class="javax.swing.JTextField" binding="consumerType">
89+
<component id="1fd1e" class="javax.swing.JTextField" binding="consumerClass">
10890
<constraints>
109-
<grid row="4" 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+
<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">
92+
<preferred-size width="150" height="-1"/>
93+
</grid>
94+
</constraints>
95+
<properties>
96+
<text value="Consumer"/>
97+
</properties>
98+
</component>
99+
<component id="8bd7e" class="javax.swing.JLabel" binding="handlerDirectoryLabel">
100+
<constraints>
101+
<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"/>
102+
</constraints>
103+
<properties>
104+
<text value="Handler Directory"/>
105+
</properties>
106+
</component>
107+
<component id="4cc1b" class="javax.swing.JTextField" binding="handlerDirectory">
108+
<constraints>
109+
<grid row="2" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
110+
<preferred-size width="150" height="-1"/>
111+
</grid>
112+
</constraints>
113+
<properties>
114+
<text value="Model/Queue/Handler"/>
115+
</properties>
116+
</component>
117+
<component id="1c878" class="javax.swing.JLabel" binding="consumerDirectoryLabel">
118+
<constraints>
119+
<grid row="5" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
120+
</constraints>
121+
<properties>
122+
<text value="Consumer Directory"/>
123+
</properties>
124+
</component>
125+
<component id="b4ac4" class="javax.swing.JTextField" binding="consumerDirectory">
126+
<constraints>
127+
<grid row="5" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
128+
<preferred-size width="150" height="-1"/>
129+
</grid>
130+
</constraints>
131+
<properties>
132+
<text value="Model/Queue/Consumer"/>
133+
</properties>
134+
</component>
135+
<component id="b0da4" class="javax.swing.JLabel">
136+
<constraints>
137+
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false">
138+
<preferred-size width="113" height="16"/>
139+
</grid>
140+
</constraints>
141+
<properties>
142+
<labelFor value=""/>
143+
<text value="Topic Name"/>
144+
</properties>
145+
</component>
146+
<component id="1f03b" class="javax.swing.JTextField" binding="topicName">
147+
<constraints>
148+
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
110149
<preferred-size width="150" height="-1"/>
111150
</grid>
112151
</constraints>
113152
<properties/>
153+
<clientProperties>
154+
<html.disable class="java.lang.Boolean" value="true"/>
155+
</clientProperties>
114156
</component>
115157
</children>
116158
</grid>
@@ -155,7 +197,7 @@
155197
</grid>
156198
</children>
157199
</grid>
158-
<grid id="e8701" layout-manager="GridLayoutManager" row-count="5" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
200+
<grid id="e8701" layout-manager="GridLayoutManager" row-count="6" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
159201
<margin top="0" left="0" bottom="0" right="0"/>
160202
<constraints>
161203
<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"/>
@@ -169,7 +211,9 @@
169211
<preferred-size width="150" height="-1"/>
170212
</grid>
171213
</constraints>
172-
<properties/>
214+
<properties>
215+
<text value="Binding"/>
216+
</properties>
173217
</component>
174218
<component id="35f81" class="javax.swing.JLabel">
175219
<constraints>
@@ -179,7 +223,7 @@
179223
<text value="Binding ID"/>
180224
</properties>
181225
</component>
182-
<component id="19d67" class="javax.swing.JTextField" binding="connectionName">
226+
<component id="ae63" class="com.magento.idea.magento2plugin.ui.FilteredComboBox" binding="connectionName" custom-create="true">
183227
<constraints>
184228
<grid row="3" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
185229
<preferred-size width="150" height="-1"/>
@@ -201,7 +245,9 @@
201245
<preferred-size width="150" height="-1"/>
202246
</grid>
203247
</constraints>
204-
<properties/>
248+
<properties>
249+
<text value="magento"/>
250+
</properties>
205251
</component>
206252
<component id="9fc09" class="javax.swing.JLabel">
207253
<constraints>
@@ -217,7 +263,9 @@
217263
<preferred-size width="150" height="-1"/>
218264
</grid>
219265
</constraints>
220-
<properties/>
266+
<properties>
267+
<text value="100"/>
268+
</properties>
221269
</component>
222270
<component id="ee88a" class="javax.swing.JLabel">
223271
<constraints>
@@ -243,6 +291,11 @@
243291
<text value="Queue Name"/>
244292
</properties>
245293
</component>
294+
<vspacer id="37a05">
295+
<constraints>
296+
<grid row="5" column="0" row-span="1" col-span="1" vsize-policy="6" hsize-policy="1" anchor="0" fill="2" indent="0" use-parent-layout="false"/>
297+
</constraints>
298+
</vspacer>
246299
</children>
247300
</grid>
248301
</children>

0 commit comments

Comments
 (0)