Skip to content

Commit 11b9215

Browse files
Added the ability to switch between files when creating files using the plugin
1 parent b992b91 commit 11b9215

6 files changed

+6
-6
lines changed

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@ public NewEntityDialog(final @NotNull Project project, final PsiDirectory direct
235235
this.properties = new ArrayList<>();
236236

237237
setContentPane(contentPane);
238-
setModal(true);
238+
setModal(false);
239239
setTitle(NewEntityAction.ACTION_DESCRIPTION);
240240
getRootPane().setDefaultButton(buttonOK);
241241

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ public NewLayoutTemplateDialog(
7373
this.directory = directory;
7474

7575
setContentPane(contentPane);
76-
setModal(true);
76+
setModal(false);
7777
setTitle(NewLayoutXmlAction.ACTION_DESCRIPTION);
7878
getRootPane().setDefaultButton(buttonOK);
7979

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public NewMessageQueueDialog(
176176
this.moduleName = GetModuleNameByDirectoryUtil.execute(directory, project);
177177

178178
setContentPane(contentPanel);
179-
setModal(true);
179+
setModal(false);
180180
setTitle(NewMessageQueueAction.ACTION_DESCRIPTION);
181181
getRootPane().setDefaultButton(buttonOK);
182182

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ public NewObserverDialog(
115115
this.moduleName = moduleName;
116116

117117
setContentPane(contentPanel);
118-
setModal(true);
118+
setModal(false);
119119
setTitle(NewObserverAction.ACTION_DESCRIPTION);
120120
getRootPane().setDefaultButton(buttonOK);
121121

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ public NewUiComponentFormDialog(
226226
this.moduleName = GetModuleNameByDirectoryUtil.execute(directory, project);
227227

228228
setContentPane(contentPane);
229-
setModal(true);
229+
setModal(false);
230230
setTitle(NewUiComponentFormAction.ACTION_DESCRIPTION);
231231
getRootPane().setDefaultButton(buttonOK);
232232

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -218,7 +218,7 @@ public NewUiComponentGridDialog(
218218
this.moduleName = GetModuleNameByDirectoryUtil.execute(directory, project);
219219

220220
setContentPane(contentPanel);
221-
setModal(true);
221+
setModal(false);
222222
setTitle(NewUiComponentGridAction.ACTION_DESCRIPTION);
223223
getRootPane().setDefaultButton(buttonOK);
224224

0 commit comments

Comments
 (0)