[
https://issues.apache.org/jira/browse/PIVOT-884?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Karel Hübl updated PIVOT-884:
-----------------------------
Attachment: Pivot-sample.zip
The sample application main class is com.gemsystem.kpimanager.KpiApplication.
The sample application contains also prototype implementation of dependency
injection, which I will file as separate "New feature request".
> Add support for dynamic construction of ListerList<CustomListener>
> ------------------------------------------------------------------
>
> Key: PIVOT-884
> URL: https://issues.apache.org/jira/browse/PIVOT-884
> Project: Pivot
> Issue Type: New Feature
> Components: core-beans
> Affects Versions: 2.1, 2.0.3
> Reporter: Karel Hübl
> Priority: Minor
> Fix For: 2.1
>
> Attachments: Pivot-sample.zip
>
>
> As a Pivot application developer I would like to have option to dynamically
> create ListenerList implementation to support my custom Listener interface. I
> do not want to implement for each application Listener interface event
> dispatching logic. I use custom Listener interfaces to enable property
> binding between my application model classes and Pivot components in BXML.
> I implemented prototype of org.apache.pivot.util.listener.DynaListenerList
> class, which accepts Listener interface in constructor and provides event
> dispatcher in getEventDispatcher() method. Source will be attached, please
> consider this functionality in next Pivot release.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira