public List<FormItem> getExtraEditItems(ActionListener onSave) {

    List<FormItem> items = new ArrayList();
    items.add(new FormItem("Web Page", this.urlEdit));

    UIUtils.addDoActionOnReturnPressed(this.urlEdit, onSave);

    return items;
  }
 /**
  * Opens the dialog and returns the input
  *
  * @return String
  */
 public String open() {
   // Create the dialog window
   Shell shell = new Shell(getParent(), getStyle());
   shell.setText(getText());
   shell.setImage(UIUtils.getImageRegistry().get("sfdc_icon")); // $NON-NLS-1$
   createContents(shell);
   shell.pack();
   shell.open();
   Display display = getParent().getDisplay();
   while (!shell.isDisposed()) {
     if (!display.readAndDispatch()) {
       display.sleep();
     }
   }
   // Return the entered value, or null
   return input;
 }
  public ResearchItemDetailsEditPanel(Asset a, AbstractProjectViewer pv) {

    super(a, pv);

    this.urlEdit = UIUtils.createTextField();
  }