File tree Expand file tree Collapse file tree 1 file changed +2
-3
lines changed
src/com/magento/idea/magento2plugin/actions/generation/dialog Expand file tree Collapse file tree 1 file changed +2
-3
lines changed Original file line number Diff line number Diff line change 1515import com .magento .idea .magento2plugin .actions .generation .dialog .validator .rule .AlphanumericRule ;
1616import com .magento .idea .magento2plugin .actions .generation .dialog .validator .rule .NotEmptyRule ;
1717import com .magento .idea .magento2plugin .actions .generation .dialog .validator .rule .PhpClassRule ;
18- import com .magento .idea .magento2plugin .actions .generation .dialog .validator .rule .PhpNamespaceNameRule ;
1918import com .magento .idea .magento2plugin .actions .generation .dialog .validator .rule .StartWithNumberOrCapitalLetterRule ;
2019import com .magento .idea .magento2plugin .actions .generation .generator .ModuleControllerClassGenerator ;
2120import com .magento .idea .magento2plugin .magento .files .ControllerBackendPhp ;
@@ -63,8 +62,8 @@ public class NewControllerDialog extends AbstractDialog {
6362
6463 @ FieldValidation (rule = RuleRegistry .NOT_EMPTY ,
6564 message = {NotEmptyRule .MESSAGE , CONTROLLER_NAME })
66- @ FieldValidation (rule = RuleRegistry .PHP_NAMESPACE_NAME ,
67- message = {PhpNamespaceNameRule .MESSAGE , CONTROLLER_NAME })
65+ @ FieldValidation (rule = RuleRegistry .ALPHANUMERIC ,
66+ message = {AlphanumericRule .MESSAGE , CONTROLLER_NAME })
6867 private JTextField controllerName ;
6968
7069 @ FieldValidation (rule = RuleRegistry .NOT_EMPTY ,
You can’t perform that action at this time.
0 commit comments