You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@pivot.apache.org by "Thomas Guretzki (JIRA)" <ji...@apache.org> on 2011/09/12 15:17:09 UTC

[jira] [Updated] (PIVOT-794) Add BlockingDialog to WTK

     [ https://issues.apache.org/jira/browse/PIVOT-794?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Thomas Guretzki updated PIVOT-794:
----------------------------------

    Attachment: patches.zip

2 patches, one for the wtk project, the other for wtk-terra (just for testing/ demonstration)

> Add BlockingDialog to WTK
> -------------------------
>
>                 Key: PIVOT-794
>                 URL: https://issues.apache.org/jira/browse/PIVOT-794
>             Project: Pivot
>          Issue Type: New Feature
>          Components: wtk, wtk-terra
>    Affects Versions: 2.1
>         Environment: any
>            Reporter: Thomas Guretzki
>            Priority: Minor
>              Labels: patch
>         Attachments: patches.zip
>
>   Original Estimate: 0.5h
>  Remaining Estimate: 0.5h
>
> 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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira