[
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