Skip to content

Commit b70044b

Browse files
author
Vitaliy Boyko
committed
Prettified form
1 parent 71ade4c commit b70044b

File tree

2 files changed

+91
-100
lines changed

2 files changed

+91
-100
lines changed

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

Lines changed: 91 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<?xml version="1.0" encoding="UTF-8"?>
22
<form xmlns="http://www.intellij.com/uidesigner/form/" version="1" bind-to-class="com.magento.idea.magento2plugin.actions.generation.dialog.NewEntityDialog">
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">
3+
<grid id="cbd77" binding="contentPane" layout-manager="GridLayoutManager" row-count="1" 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>
66
<xy x="48" y="54" width="600" height="500"/>
@@ -29,14 +29,6 @@
2929
<properties/>
3030
<border type="none"/>
3131
<children>
32-
<component id="29047" class="javax.swing.JCheckBox" binding="createUiComponent">
33-
<constraints>
34-
<grid row="5" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
35-
</constraints>
36-
<properties>
37-
<text value="CheckBox"/>
38-
</properties>
39-
</component>
4032
<component id="210a4" class="javax.swing.JLabel" binding="entityNameLabel">
4133
<constraints>
4234
<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"/>
@@ -45,14 +37,6 @@
4537
<text value="Entity Name"/>
4638
</properties>
4739
</component>
48-
<component id="59baf" class="javax.swing.JLabel" binding="createUiComponentsLabel">
49-
<constraints>
50-
<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"/>
51-
</constraints>
52-
<properties>
53-
<text value="Create Admin UI components"/>
54-
</properties>
55-
</component>
5640
<component id="5dc1e" class="javax.swing.JTextField" binding="entityName">
5741
<constraints>
5842
<grid row="0" column="1" row-span="1" col-span="2" vsize-policy="0" hsize-policy="6" anchor="8" fill="1" indent="0" use-parent-layout="false">
@@ -125,18 +109,26 @@
125109
<text value="Resource"/>
126110
</properties>
127111
</component>
112+
<component id="29047" class="javax.swing.JCheckBox" binding="createUiComponent">
113+
<constraints>
114+
<grid row="5" column="0" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
115+
</constraints>
116+
<properties>
117+
<text value="Create Admin UI Components"/>
118+
</properties>
119+
</component>
128120
<component id="44a12" class="javax.swing.JCheckBox" binding="createInterface">
129121
<constraints>
130-
<grid row="5" column="2" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
122+
<grid row="5" column="1" row-span="1" col-span="1" vsize-policy="0" hsize-policy="3" anchor="8" fill="0" indent="0" use-parent-layout="false"/>
131123
</constraints>
132124
<properties>
133125
<selected value="true"/>
134-
<text value="Create Interface"/>
126+
<text value="Create Interface For Data Model"/>
135127
</properties>
136128
</component>
137129
</children>
138130
</grid>
139-
<grid id="e3309" layout-manager="GridLayoutManager" row-count="4" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
131+
<grid id="e3309" layout-manager="GridLayoutManager" row-count="5" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
140132
<margin top="0" left="0" bottom="0" right="0"/>
141133
<constraints>
142134
<tabbedpane title="Admin UI Components"/>
@@ -210,6 +202,85 @@
210202
<text value="Grid Name"/>
211203
</properties>
212204
</component>
205+
<grid id="1c96b" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
206+
<margin top="0" left="0" bottom="0" right="0"/>
207+
<constraints>
208+
<grid row="4" column="0" row-span="1" col-span="1" vsize-policy="3" hsize-policy="3" anchor="0" fill="3" indent="0" use-parent-layout="false"/>
209+
</constraints>
210+
<properties/>
211+
<border type="none"/>
212+
<children>
213+
<component id="21e24" class="javax.swing.JCheckBox" binding="addToolBar">
214+
<constraints>
215+
<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"/>
216+
</constraints>
217+
<properties>
218+
<selected value="true"/>
219+
<text resource-bundle="magento2/common" key="common.addToolbar"/>
220+
</properties>
221+
</component>
222+
<hspacer id="3a9c4">
223+
<constraints>
224+
<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"/>
225+
</constraints>
226+
</hspacer>
227+
<grid id="215c6" layout-manager="GridLayoutManager" row-count="5" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
228+
<margin top="0" left="0" bottom="0" right="0"/>
229+
<constraints>
230+
<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"/>
231+
</constraints>
232+
<properties/>
233+
<border type="none"/>
234+
<children>
235+
<component id="1729e" class="javax.swing.JCheckBox" binding="addBookmarksCheckBox" default-binding="true">
236+
<constraints>
237+
<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"/>
238+
</constraints>
239+
<properties>
240+
<selected value="true"/>
241+
<text resource-bundle="magento2/common" key="common.addToolbarBookmarks"/>
242+
</properties>
243+
</component>
244+
<component id="de501" class="javax.swing.JCheckBox" binding="addColumnsControlCheckBox" default-binding="true">
245+
<constraints>
246+
<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"/>
247+
</constraints>
248+
<properties>
249+
<selected value="true"/>
250+
<text resource-bundle="magento2/common" key="common.addToolbarColumnsControl"/>
251+
</properties>
252+
</component>
253+
<component id="a95ed" class="javax.swing.JCheckBox" binding="addFullTextSearchCheckBox" default-binding="true">
254+
<constraints>
255+
<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"/>
256+
</constraints>
257+
<properties>
258+
<selected value="true"/>
259+
<text resource-bundle="magento2/common" key="common.addToolbarFullTextSearch"/>
260+
</properties>
261+
</component>
262+
<component id="9ae8a" class="javax.swing.JCheckBox" binding="addListingFiltersCheckBox" default-binding="true">
263+
<constraints>
264+
<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"/>
265+
</constraints>
266+
<properties>
267+
<selected value="true"/>
268+
<text resource-bundle="magento2/common" key="common.addToolbarListingFilters"/>
269+
</properties>
270+
</component>
271+
<component id="88f3f" class="javax.swing.JCheckBox" binding="addListingPagingCheckBox" default-binding="true">
272+
<constraints>
273+
<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"/>
274+
</constraints>
275+
<properties>
276+
<selected value="true"/>
277+
<text resource-bundle="magento2/common" key="common.addToolbarListingPaging"/>
278+
</properties>
279+
</component>
280+
</children>
281+
</grid>
282+
</children>
283+
</grid>
213284
</children>
214285
</grid>
215286
<grid id="2a206" layout-manager="GridLayoutManager" row-count="3" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
@@ -443,85 +514,6 @@
443514
</grid>
444515
</children>
445516
</tabbedpane>
446-
<grid id="1c96b" layout-manager="GridLayoutManager" row-count="2" column-count="2" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
447-
<margin top="0" left="0" bottom="0" right="0"/>
448-
<constraints>
449-
<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"/>
450-
</constraints>
451-
<properties/>
452-
<border type="none"/>
453-
<children>
454-
<component id="21e24" class="javax.swing.JCheckBox" binding="addToolBar">
455-
<constraints>
456-
<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"/>
457-
</constraints>
458-
<properties>
459-
<selected value="true"/>
460-
<text resource-bundle="magento2/common" key="common.addToolbar"/>
461-
</properties>
462-
</component>
463-
<hspacer id="3a9c4">
464-
<constraints>
465-
<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"/>
466-
</constraints>
467-
</hspacer>
468-
<grid id="215c6" layout-manager="GridLayoutManager" row-count="5" column-count="1" same-size-horizontally="false" same-size-vertically="false" hgap="-1" vgap="-1">
469-
<margin top="0" left="0" bottom="0" right="0"/>
470-
<constraints>
471-
<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"/>
472-
</constraints>
473-
<properties/>
474-
<border type="none"/>
475-
<children>
476-
<component id="1729e" class="javax.swing.JCheckBox" binding="addBookmarksCheckBox" default-binding="true">
477-
<constraints>
478-
<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"/>
479-
</constraints>
480-
<properties>
481-
<selected value="true"/>
482-
<text resource-bundle="magento2/common" key="common.addToolbarBookmarks"/>
483-
</properties>
484-
</component>
485-
<component id="de501" class="javax.swing.JCheckBox" binding="addColumnsControlCheckBox" default-binding="true">
486-
<constraints>
487-
<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"/>
488-
</constraints>
489-
<properties>
490-
<selected value="true"/>
491-
<text resource-bundle="magento2/common" key="common.addToolbarColumnsControl"/>
492-
</properties>
493-
</component>
494-
<component id="a95ed" class="javax.swing.JCheckBox" binding="addFullTextSearchCheckBox" default-binding="true">
495-
<constraints>
496-
<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"/>
497-
</constraints>
498-
<properties>
499-
<selected value="true"/>
500-
<text resource-bundle="magento2/common" key="common.addToolbarFullTextSearch"/>
501-
</properties>
502-
</component>
503-
<component id="9ae8a" class="javax.swing.JCheckBox" binding="addListingFiltersCheckBox" default-binding="true">
504-
<constraints>
505-
<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"/>
506-
</constraints>
507-
<properties>
508-
<selected value="true"/>
509-
<text resource-bundle="magento2/common" key="common.addToolbarListingFilters"/>
510-
</properties>
511-
</component>
512-
<component id="88f3f" class="javax.swing.JCheckBox" binding="addListingPagingCheckBox" default-binding="true">
513-
<constraints>
514-
<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"/>
515-
</constraints>
516-
<properties>
517-
<selected value="true"/>
518-
<text resource-bundle="magento2/common" key="common.addToolbarListingPaging"/>
519-
</properties>
520-
</component>
521-
</children>
522-
</grid>
523-
</children>
524-
</grid>
525517
</children>
526518
</grid>
527519
<inspectionSuppressions>

src/com/magento/idea/magento2plugin/actions/generation/dialog/NewEntityDialog.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,6 @@ public class NewEntityDialog extends AbstractDialog {
119119
private JButton buttonCancel;
120120
private JPanel generalTable;
121121
private JCheckBox createUiComponent;
122-
private JLabel createUiComponentsLabel;
123122
private JTextField entityName;
124123
private JLabel entityNameLabel;
125124
private JLabel dbTableNameLabel;

0 commit comments

Comments
 (0)