Uploaded image for project: 'Pivot'
  1. Pivot
  2. PIVOT-794

Add BlockingDialog to WTK

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 2.0
    • 2.5
    • wtk, wtk-terra
    • any

    Description

      I've written an additional BlockingDialog class which can host any Dialog outside of the normal HostFrame.
      This way, awt is used to do the

      {@link #open(Display)}

      in a blocking way,
      i. e. the flow of control doesn't return before the content Dialog is closed.

      The content can be set in the constructor or (e. g. via bxml) using

      {@link #setContent(Dialog)}

      .

      A small change to DesktopApplicationContext is necessary: static class HostDialog has to be given package access.

      Attachments

        1. patches.zip
          4 kB
          Thomas Guretzki

        Activity

          People

            smartini Sandro Martini
            guretzki Thomas Guretzki
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 0.5h
                0.5h
                Remaining:
                Remaining Estimate - 0.5h
                0.5h
                Logged:
                Time Spent - Not Specified
                Not Specified