public void createControl(Composite parent) {
      Composite container = new Composite(parent, SWT.NULL);
      container.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true));
      GridLayout layout = new GridLayout();
      container.setLayout(layout);
      layout.numColumns = 2;

      String defaultName = processor.getOldName();
      editor =
          IFieldEditorFactory.INSTANCE.createTextEditor(
              componentName, SeamCoreMessages.SEAM_WIZARD_FACTORY_SEAM_COMPONENT_NAME, defaultName);
      editor.doFillIntoGrid(container);

      ((CompositeEditor) editor)
          .addPropertyChangeListener(
              new PropertyChangeListener() {
                public void propertyChange(PropertyChangeEvent evt) {
                  validatePage();
                }
              });
      setControl(container);
      setPageComplete(false);
    }
 private void initializeRefactoring() {
   processor.setNewName(editor.getValueAsString());
 }