swingx
  1. swingx
  2. SWINGX-1228

JXTable: register default renderer for URL/URI class

    Details

    • Type: Improvement Improvement
    • Status: Resolved
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6.1
    • Fix Version/s: 1.6.3
    • Component/s: Table
    • Labels:
      None
    • Environment:

      Operating System: All
      Platform: All

    • Issuezilla Id:
      1,228

      Description

      should be easy now with the HyperlinkAction as wrapper around Desktop
      with that, it's a hyperlinkProvider(hyperlinkAction, uri.class)

        Activity

        Hide
        kleopatra added a comment -
        • added default for URI class (decided against URL - HyperlinkAction is typed to handle URI only, same as Desktop)
        • added/updated tests
        • updated doc

        addendum:
        had to wrap the registration of the HyperlinkProvider into a try-catch, otherwise it blows hundreds of tests in headless environment

        fixed as of revision #3984

        Show
        kleopatra added a comment - added default for URI class (decided against URL - HyperlinkAction is typed to handle URI only, same as Desktop) added/updated tests updated doc addendum: had to wrap the registration of the HyperlinkProvider into a try-catch, otherwise it blows hundreds of tests in headless environment fixed as of revision #3984
        Hide
        Karl Schaefer added a comment -

        Instead of catching an exception can we check to see if Desktop is supported or we are headless (or both, if necessary)? I really don't like catching Exception.

        Show
        Karl Schaefer added a comment - Instead of catching an exception can we check to see if Desktop is supported or we are headless (or both, if necessary)? I really don't like catching Exception.
        Hide
        kleopatra added a comment -

        me neither - usually But here the effect is exactly the same, so I see not much value in diving into any complexer logic.

        Cheers
        Jeanette

        Show
        kleopatra added a comment - me neither - usually But here the effect is exactly the same, so I see not much value in diving into any complexer logic. Cheers Jeanette

          People

          • Assignee:
            kleopatra
            Reporter:
            kleopatra
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: