File tree 2 files changed +6
-6
lines changed
src/com/magento/idea/magento2plugin/actions/generation/dialog
2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 71
71
<text value =" Directory Path" />
72
72
</properties >
73
73
</component >
74
- <component id =" 58ad9" class =" javax.swing.JLabel" binding =" evenNamesLabel " >
74
+ <component id =" 58ad9" class =" javax.swing.JLabel" binding =" eventNamesLabel " >
75
75
<constraints >
76
76
<grid row =" 7" column =" 0" row-span =" 1" col-span =" 1" vsize-policy =" 0" hsize-policy =" 0" anchor =" 8" fill =" 0" indent =" 0" use-parent-layout =" false" />
77
77
</constraints >
78
78
<properties >
79
- <text value =" Observer Even Name" />
79
+ <text value =" Observer Event Name" />
80
80
</properties >
81
81
</component >
82
82
<component id =" be834" class =" javax.swing.JLabel" binding =" directoryStructureErrorMessage" >
Original file line number Diff line number Diff line change @@ -90,7 +90,7 @@ public class NewObserverDialog extends AbstractDialog {
90
90
private JLabel classNameErrorMessage ;// NOPMD
91
91
private JLabel directoryStructureLabel ;// NOPMD
92
92
private JLabel directoryStructureErrorMessage ;// NOPMD
93
- private JLabel evenNamesLabel ;// NOPMD
93
+ private JLabel eventNamesLabel ;// NOPMD
94
94
private JLabel targetAreaLabel ;// NOPMD
95
95
96
96
/**
@@ -186,7 +186,7 @@ public String getClassName() {
186
186
return className .getText ().trim ();
187
187
}
188
188
189
- public String getEvenName () {
189
+ public String getEventName () {
190
190
return eventName .getSelectedItem ().toString ();
191
191
}
192
192
@@ -213,7 +213,7 @@ protected void onOK() {
213
213
modulePackage ,
214
214
moduleName ,
215
215
getObserverClassFqn (),
216
- getEvenName (),
216
+ getEventName (),
217
217
observerDirectory ,
218
218
ModuleObserverFile .resolveClassNameFromInput (getClassName ())
219
219
),
@@ -227,7 +227,7 @@ protected void onOK() {
227
227
Package .fqnSeparator ,
228
228
Package .vendorModuleNameSeparator
229
229
),
230
- getEvenName (),
230
+ getEventName (),
231
231
getObserverName (),
232
232
getObserverClassFqn ().concat (Package .fqnSeparator ).concat (
233
233
ModuleObserverFile .resolveClassNameFromInput (getClassName ())
You can’t perform that action at this time.
0 commit comments