@Override
  protected JComponent createCenterPanel() {
    final JComponent centerPanel = new JPanel(new BorderLayout());

    final StructuralSearchProfile profile = StructuralSearchUtil.getProfileByFileType(myFileType);
    assert profile != null;
    replacement = UIUtil.createEditor(project, myFileType, null, "", false, profile);

    centerPanel.add(BorderLayout.NORTH, new JLabel(SSRBundle.message("replacement.code")));
    centerPanel.add(BorderLayout.CENTER, replacement.getComponent());
    centerPanel.setMaximumSize(new Dimension(640, 480));

    return centerPanel;
  }
@Override
  protected JComponent createCenterPanel()