【问题标题】:GWT heterogenous lists in editors framework编辑器框架中的 GWT 异构列表
【发布时间】:2011-10-23 23:29:45
【问题描述】:

有这样的类层次结构:

interface Item {
}

interface ItemType1 extends Item {
  String getItemType1Data();
}

interface ItemType2 extends Item {
  String getItemType2Data();
}

我有一个 ListItem 对象,我想在 UI 中显示(仅查看)。 GWT 编辑器框架可以吗? (请不要提供与我的班级层次结构相关的建议 - 例如将 getData() 移动到 Item

有什么想法吗?

【问题讨论】:

    标签: java gwt gwt-editors


    【解决方案1】:

    【讨论】:

      猜你喜欢
      • 2011-09-20
      • 1970-01-01
      • 2011-06-26
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多