ICEfaces
  1. ICEfaces
  2. ICE-1000

TreeDataModel should probably code to the TreeModel interface, rather than the Default* impl

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.5
    • Fix Version/s: 1.5.1
    • Component/s: ICE-Components
    • Labels:
      None
    • Environment:
      Operating System: Windows XP
      Platform: PC

      Description

      Noted in the forum: http://www.icefaces.org/JForum/posts/list/0/2865.page#13875

      Our TreeDataModel casts to a DefaultTreeModel instead of a TreeModel. If we're
      only using the interface methods, we shouldn't cast to the implementation.

        Activity

        Hide
        Greg McCleary added a comment -

        The icefaces TreeDataModel is now casting to the javax.swing.tree.TreeModel
        interface.
        The TreeRenderer and UIseries were also casting to a DefaultTreeModel. They have
        also been modified to work with the javax.swing.tree.TreeModel interface.

        [rev. 12146]

        Show
        Greg McCleary added a comment - The icefaces TreeDataModel is now casting to the javax.swing.tree.TreeModel interface. The TreeRenderer and UIseries were also casting to a DefaultTreeModel. They have also been modified to work with the javax.swing.tree.TreeModel interface. [rev. 12146]

          People

          • Assignee:
            Greg McCleary
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: