コード例 #1
0
  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;
  }
コード例 #2
0
  public ResearchItemDetailsEditPanel(Asset a, AbstractProjectViewer pv) {

    super(a, pv);

    this.urlEdit = UIUtils.createTextField();
  }