Skip to content

Commit e8779f3

Browse files
author
Vitaliy Boyko
committed
Adjusted acl generation
1 parent 2f6e06b commit e8779f3

File tree

2 files changed

+191
-82
lines changed

2 files changed

+191
-82
lines changed

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

Lines changed: 155 additions & 82 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<grid id="27dc6" binding="contentPanel" layout-manager="GridLayoutManager" row-count="2" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
44
<margin top="10" left="10" bottom="10" right="10"/>
55
<constraints>
6-
<xy x="20" y="14" width="614" height="548"/>
6+
<xy x="20" y="14" width="614" height="565"/>
77
</constraints>
88
<properties>
99
<preferredSize width="1000" height="550"/>
@@ -59,70 +59,6 @@
5959
<properties/>
6060
<border type="none"/>
6161
<children>
62-
<grid id="1987e" layout-manager="GridLayoutManager" row-count="5" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
63-
<margin top="0" left="0" bottom="0" right="0"/>
64-
<constraints>
65-
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
66-
</constraints>
67-
<properties/>
68-
<border type="none"/>
69-
<children>
70-
<component id="99dc1" class="javax.swing.JCheckBox" binding="addBookmarksCheckBox" default-binding="true">
71-
<constraints>
72-
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
73-
</constraints>
74-
<properties>
75-
<selected value="true"/>
76-
<text resource-bundle="magento2/common" key="common.addToolbarBookmarks"/>
77-
</properties>
78-
</component>
79-
<component id="479d1" class="javax.swing.JCheckBox" binding="addColumnsControlCheckBox" default-binding="true">
80-
<constraints>
81-
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
82-
</constraints>
83-
<properties>
84-
<selected value="true"/>
85-
<text resource-bundle="magento2/common" key="common.addToolbarColumnsControl"/>
86-
</properties>
87-
</component>
88-
<component id="6d95e" class="javax.swing.JCheckBox" binding="addFullTextSearchCheckBox" default-binding="true">
89-
<constraints>
90-
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
91-
</constraints>
92-
<properties>
93-
<selected value="true"/>
94-
<text resource-bundle="magento2/common" key="common.addToolbarFullTextSearch"/>
95-
</properties>
96-
</component>
97-
<component id="b41dd" class="javax.swing.JCheckBox" binding="addListingFiltersCheckBox" default-binding="true">
98-
<constraints>
99-
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
100-
</constraints>
101-
<properties>
102-
<selected value="true"/>
103-
<text resource-bundle="magento2/common" key="common.addToolbarListingFilters"/>
104-
</properties>
105-
</component>
106-
<component id="ac510" class="javax.swing.JCheckBox" binding="addListingPagingCheckBox" default-binding="true">
107-
<constraints>
108-
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
109-
</constraints>
110-
<properties>
111-
<selected value="true"/>
112-
<text resource-bundle="magento2/common" key="common.addToolbarListingPaging"/>
113-
</properties>
114-
</component>
115-
</children>
116-
</grid>
117-
<component id="9d6c0" class="javax.swing.JCheckBox" binding="addToolBar">
118-
<constraints>
119-
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
120-
</constraints>
121-
<properties>
122-
<selected value="true"/>
123-
<text resource-bundle="magento2/common" key="common.addToolbar"/>
124-
</properties>
125-
</component>
12662
<grid id="aa568" layout-manager="GridLayoutManager" row-count="1" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
12763
<margin top="0" left="0" bottom="0" right="0"/>
12864
<constraints>
@@ -263,30 +199,14 @@
263199
<properties/>
264200
<border type="none"/>
265201
<children>
266-
<grid id="6f89d" layout-manager="GridLayoutManager" row-count="4" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
202+
<grid id="6f89d" layout-manager="GridLayoutManager" row-count="3" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
267203
<margin top="0" left="0" bottom="0" right="0"/>
268204
<constraints>
269205
<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"/>
270206
</constraints>
271207
<properties/>
272208
<border type="none"/>
273209
<children>
274-
<component id="ccb6b" class="javax.swing.JTextField" binding="acl">
275-
<constraints>
276-
<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">
277-
<preferred-size width="150" height="-1"/>
278-
</grid>
279-
</constraints>
280-
<properties/>
281-
</component>
282-
<component id="e3700" class="javax.swing.JLabel" binding="aclLabel">
283-
<constraints>
284-
<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"/>
285-
</constraints>
286-
<properties>
287-
<text resource-bundle="magento2/common" key="common.controller.backend.acl"/>
288-
</properties>
289-
</component>
290210
<component id="30ea0" class="javax.swing.JTextField" binding="idField">
291211
<constraints>
292212
<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">
@@ -422,6 +342,159 @@
422342
</grid>
423343
</children>
424344
</grid>
345+
<grid id="4c965" layout-manager="GridLayoutManager" row-count="1" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
346+
<margin top="0" left="0" bottom="0" right="0"/>
347+
<constraints>
348+
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
349+
</constraints>
350+
<properties/>
351+
<border type="none"/>
352+
<children>
353+
<grid id="ef801" layout-manager="GridLayoutManager" row-count="4" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
354+
<margin top="0" left="0" bottom="0" right="0"/>
355+
<constraints>
356+
<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"/>
357+
</constraints>
358+
<properties/>
359+
<border type="none"/>
360+
<children>
361+
<component id="ccb6b" class="javax.swing.JTextField" binding="acl">
362+
<constraints>
363+
<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">
364+
<preferred-size width="150" height="-1"/>
365+
</grid>
366+
</constraints>
367+
<properties/>
368+
</component>
369+
<component id="e3700" class="javax.swing.JLabel" binding="aclLabel">
370+
<constraints>
371+
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="0" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
372+
</constraints>
373+
<properties>
374+
<text value="ACL ID"/>
375+
</properties>
376+
</component>
377+
<component id="22346" class="javax.swing.JLabel" binding="parentAclID">
378+
<constraints>
379+
<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"/>
380+
</constraints>
381+
<properties>
382+
<text value="Parent ACL ID"/>
383+
</properties>
384+
</component>
385+
<component id="faef5" class="com.magento.idea.magento2plugin.ui.FilteredComboBox" binding="parentAcl" custom-create="true">
386+
<constraints>
387+
<grid row="2" column="1" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="0" indent="0" use-parent-layout="false"/>
388+
</constraints>
389+
<properties/>
390+
</component>
391+
<component id="d883f" class="javax.swing.JLabel" binding="aclTitleLabel">
392+
<constraints>
393+
<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"/>
394+
</constraints>
395+
<properties>
396+
<text value="Title"/>
397+
</properties>
398+
</component>
399+
<component id="69f6d" class="javax.swing.JTextField" binding="aclTitle">
400+
<constraints>
401+
<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">
402+
<preferred-size width="150" height="-1"/>
403+
</grid>
404+
</constraints>
405+
<properties/>
406+
</component>
407+
<component id="9bf50" class="javax.swing.JLabel" binding="aclGeneralLabel">
408+
<constraints>
409+
<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"/>
410+
</constraints>
411+
<properties>
412+
<text value="ACL"/>
413+
</properties>
414+
</component>
415+
</children>
416+
</grid>
417+
<grid id="664eb" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
418+
<margin top="0" left="0" bottom="0" right="0"/>
419+
<constraints>
420+
<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"/>
421+
</constraints>
422+
<properties/>
423+
<border type="none"/>
424+
<children>
425+
<component id="9d6c0" class="javax.swing.JCheckBox" binding="addToolBar">
426+
<constraints>
427+
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
428+
</constraints>
429+
<properties>
430+
<selected value="true"/>
431+
<text resource-bundle="magento2/common" key="common.addToolbar"/>
432+
</properties>
433+
</component>
434+
<hspacer id="ff70d">
435+
<constraints>
436+
<grid row="0" column="1" row-span="1" col-span="1" vsize-policy="1" hsize-policy="6" anchor="0" fill="1" indent="0" use-parent-layout="false"/>
437+
</constraints>
438+
</hspacer>
439+
<grid id="1987e" layout-manager="GridLayoutManager" row-count="5" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
440+
<margin top="0" left="0" bottom="0" right="0"/>
441+
<constraints>
442+
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
443+
</constraints>
444+
<properties/>
445+
<border type="none"/>
446+
<children>
447+
<component id="99dc1" class="javax.swing.JCheckBox" binding="addBookmarksCheckBox" default-binding="true">
448+
<constraints>
449+
<grid row="0" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
450+
</constraints>
451+
<properties>
452+
<selected value="true"/>
453+
<text resource-bundle="magento2/common" key="common.addToolbarBookmarks"/>
454+
</properties>
455+
</component>
456+
<component id="479d1" class="javax.swing.JCheckBox" binding="addColumnsControlCheckBox" default-binding="true">
457+
<constraints>
458+
<grid row="1" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
459+
</constraints>
460+
<properties>
461+
<selected value="true"/>
462+
<text resource-bundle="magento2/common" key="common.addToolbarColumnsControl"/>
463+
</properties>
464+
</component>
465+
<component id="6d95e" class="javax.swing.JCheckBox" binding="addFullTextSearchCheckBox" default-binding="true">
466+
<constraints>
467+
<grid row="2" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
468+
</constraints>
469+
<properties>
470+
<selected value="true"/>
471+
<text resource-bundle="magento2/common" key="common.addToolbarFullTextSearch"/>
472+
</properties>
473+
</component>
474+
<component id="b41dd" class="javax.swing.JCheckBox" binding="addListingFiltersCheckBox" default-binding="true">
475+
<constraints>
476+
<grid row="3" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
477+
</constraints>
478+
<properties>
479+
<selected value="true"/>
480+
<text resource-bundle="magento2/common" key="common.addToolbarListingFilters"/>
481+
</properties>
482+
</component>
483+
<component id="ac510" class="javax.swing.JCheckBox" binding="addListingPagingCheckBox" default-binding="true">
484+
<constraints>
485+
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
486+
</constraints>
487+
<properties>
488+
<selected value="true"/>
489+
<text resource-bundle="magento2/common" key="common.addToolbarListingPaging"/>
490+
</properties>
491+
</component>
492+
</children>
493+
</grid>
494+
</children>
495+
</grid>
496+
</children>
497+
</grid>
425498
</children>
426499
</grid>
427500
</children>

0 commit comments

Comments
 (0)