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

Add BlockingDialog to WTK

    XMLWordPrintableJSON

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 2.0
    • Fix Version/s: 2.5
    • Component/s: wtk, wtk-terra
    • Labels:
    • Environment:
      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

            • Assignee:
              smartini Sandro Martini
              Reporter:
              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