@@ -418,127 +418,6 @@ private String getServiceName(Set<String> services) {
418418 return services .iterator ().next ();
419419 }
420420
421- {
422- // GUI initializer generated by IntelliJ IDEA GUI Designer
423- // >>> IMPORTANT!! <<<
424- // DO NOT EDIT OR ADD ANY CODE HERE!
425- $$$setupUI$$$ ();
426- }
427-
428- /**
429- * Method generated by IntelliJ IDEA GUI Designer
430- * >>> IMPORTANT!! <<<
431- * DO NOT edit this method OR call it in your code!
432- *
433- * @noinspection ALL
434- */
435- private void $$$setupUI$$$ () {
436- panel1 = new JPanel ();
437- panel1 .setLayout (new GridLayoutManager (1 , 1 , new Insets (5 , 5 , 5 , 5 ), -1 , -1 ));
438- content = new JPanel ();
439- content .setLayout (new BorderLayout (0 , 0 ));
440- panel1 .add (content , new GridConstraints (0 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_BOTH , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , null , null , null , 0 , false ));
441- final JPanel panel2 = new JPanel ();
442- panel2 .setLayout (new GridLayoutManager (1 , 5 , new Insets (5 , 0 , 0 , 0 ), -1 , -1 ));
443- content .add (panel2 , BorderLayout .SOUTH );
444- buttonCopy = new JButton ();
445- buttonCopy .setActionCommand ("To Clipboard" );
446- buttonCopy .setText ("To Clipboard" );
447- panel2 .add (buttonCopy , new GridConstraints (0 , 3 , 1 , 1 , GridConstraints .ANCHOR_EAST , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
448- final Spacer spacer1 = new Spacer ();
449- panel2 .add (spacer1 , new GridConstraints (0 , 1 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_WANT_GROW , 1 , null , null , null , 0 , false ));
450- closeButton = new JButton ();
451- closeButton .setText ("Close" );
452- panel2 .add (closeButton , new GridConstraints (0 , 2 , 1 , 1 , GridConstraints .ANCHOR_EAST , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
453- buttonSettings = new JButton ();
454- buttonSettings .setText ("Settings" );
455- panel2 .add (buttonSettings , new GridConstraints (0 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
456- buttonInsert = new JButton ();
457- buttonInsert .setText ("Insert" );
458- panel2 .add (buttonInsert , new GridConstraints (0 , 4 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
459- final JPanel panel3 = new JPanel ();
460- panel3 .setLayout (new GridLayoutManager (1 , 3 , new Insets (0 , 0 , 0 , 0 ), -1 , -1 ));
461- content .add (panel3 , BorderLayout .NORTH );
462- final JLabel label1 = new JLabel ();
463- label1 .setText ("Class:" );
464- panel3 .add (label1 , new GridConstraints (0 , 0 , 1 , 1 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_FIXED , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
465- generateButton = new JButton ();
466- generateButton .setText ("Generate" );
467- panel3 .add (generateButton , new GridConstraints (0 , 2 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
468- panelFoo = new JPanel ();
469- panelFoo .setLayout (new GridBagLayout ());
470- panel3 .add (panelFoo , new GridConstraints (0 , 1 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_BOTH , GridConstraints .SIZEPOLICY_WANT_GROW , GridConstraints .SIZEPOLICY_WANT_GROW , null , null , null , 0 , false ));
471- final JPanel panel4 = new JPanel ();
472- panel4 .setLayout (new BorderLayout (0 , 0 ));
473- content .add (panel4 , BorderLayout .CENTER );
474- tableViewPanel = new JPanel ();
475- tableViewPanel .setLayout (new BorderLayout (0 , 0 ));
476- panel4 .add (tableViewPanel , BorderLayout .CENTER );
477- final JPanel panel5 = new JPanel ();
478- panel5 .setLayout (new GridLayoutManager (2 , 1 , new Insets (5 , 0 , 0 , 0 ), -1 , -1 ));
479- panel4 .add (panel5 , BorderLayout .SOUTH );
480- final JPanel panel6 = new JPanel ();
481- panel6 .setLayout (new GridLayoutManager (2 , 1 , new Insets (0 , 0 , 0 , 0 ), -1 , -1 ));
482- panel5 .add (panel6 , new GridConstraints (0 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_BOTH , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , null , null , null , 0 , false ));
483- final JPanel panel7 = new JPanel ();
484- panel7 .setLayout (new GridLayoutManager (1 , 3 , new Insets (0 , 0 , 0 , 0 ), -1 , -1 ));
485- panel6 .add (panel7 , new GridConstraints (1 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_BOTH , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , null , null , null , 0 , false ));
486- radioButtonOutXml = new JRadioButton ();
487- radioButtonOutXml .setText ("XML" );
488- panel7 .add (radioButtonOutXml , new GridConstraints (0 , 2 , 1 , 1 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
489- radioButtonOutYaml = new JRadioButton ();
490- radioButtonOutYaml .setText ("Yaml" );
491- panel7 .add (radioButtonOutYaml , new GridConstraints (0 , 1 , 1 , 1 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
492- textFieldServiceName = new JTextField ();
493- panel7 .add (textFieldServiceName , new GridConstraints (0 , 0 , 1 , 1 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_HORIZONTAL , GridConstraints .SIZEPOLICY_WANT_GROW , GridConstraints .SIZEPOLICY_FIXED , null , new Dimension (150 , -1 ), null , 0 , false ));
494- checkBoxSymfonyIdClass = new JCheckBox ();
495- checkBoxSymfonyIdClass .setText ("Class as id (Symfony 3.3)" );
496- panel6 .add (checkBoxSymfonyIdClass , new GridConstraints (0 , 0 , 1 , 1 , GridConstraints .ANCHOR_WEST , GridConstraints .FILL_NONE , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_CAN_GROW , GridConstraints .SIZEPOLICY_FIXED , null , null , null , 0 , false ));
497- final JScrollPane scrollPane1 = new JScrollPane ();
498- panel5 .add (scrollPane1 , new GridConstraints (1 , 0 , 1 , 1 , GridConstraints .ANCHOR_CENTER , GridConstraints .FILL_BOTH , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_WANT_GROW , GridConstraints .SIZEPOLICY_CAN_SHRINK | GridConstraints .SIZEPOLICY_WANT_GROW , null , null , null , 0 , false ));
499- textAreaOutput = new JTextArea ();
500- textAreaOutput .setEditable (false );
501- Font textAreaOutputFont = this .$$$getFont$$$ ("Courier New" , -1 , -1 , textAreaOutput .getFont ());
502- if (textAreaOutputFont != null ) textAreaOutput .setFont (textAreaOutputFont );
503- textAreaOutput .setLineWrap (true );
504- textAreaOutput .setRows (7 );
505- textAreaOutput .setText ("" );
506- scrollPane1 .setViewportView (textAreaOutput );
507- ButtonGroup buttonGroup ;
508- buttonGroup = new ButtonGroup ();
509- buttonGroup .add (radioButtonOutYaml );
510- buttonGroup .add (radioButtonOutXml );
511- }
512-
513- /**
514- * @noinspection ALL
515- */
516- private Font $$$getFont$$$ (String fontName , int style , int size , Font currentFont ) {
517- if (currentFont == null ) return null ;
518- String resultName ;
519- if (fontName == null ) {
520- resultName = currentFont .getName ();
521- } else {
522- Font testFont = new Font (fontName , Font .PLAIN , 10 );
523- if (testFont .canDisplay ('a' ) && testFont .canDisplay ('1' )) {
524- resultName = fontName ;
525- } else {
526- resultName = currentFont .getName ();
527- }
528- }
529- Font font = new Font (resultName , style >= 0 ? style : currentFont .getStyle (), size >= 0 ? size : currentFont .getSize ());
530- boolean isMac = System .getProperty ("os.name" , "" ).toLowerCase (Locale .ENGLISH ).startsWith ("mac" );
531- Font fontWithFallback = isMac ? new Font (font .getFamily (), font .getStyle (), font .getSize ()) : new StyleContext ().getFont (font .getFamily (), font .getStyle (), font .getSize ());
532- return fontWithFallback instanceof FontUIResource ? fontWithFallback : new FontUIResource (fontWithFallback );
533- }
534-
535- /**
536- * @noinspection ALL
537- */
538- public JComponent $$$getRootComponent$$$ () {
539- return panel1 ;
540- }
541-
542421 private class IsServiceColumn extends ColumnInfo <MethodParameter .MethodModelParameter , Boolean > {
543422
544423 public IsServiceColumn () {
0 commit comments