Uploaded image for project: 'ZK'
  1. ZK
  2. ZK-3337

Show a warning message in AbstractTreeModel.getPath()

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Normal
    • Resolution: Unresolved
    • Affects Version/s: 8.0.2
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None

      Description

      It's better to show a warning message like The default implementation of AbstractTreeModel.getPath() is inefficient, overriding this method is suggested when the method is called.

      The reasons are:

      • Although we hint the potential problem in documentation , users mostly don't read when it works.
      • When users extend AbstractTreeModel, it usually means they need something other than DefaultTreeModel. It mostly means they should override getPath() in their case.
      • Show the warning may save debugging time for us and users.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Unassigned
            Reporter:
            hawk hawk
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated: