Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New transient attribute for @BoundPropertySupport #150

Open
rguillens opened this issue Oct 19, 2015 · 0 comments
Open

New transient attribute for @BoundPropertySupport #150

rguillens opened this issue Oct 19, 2015 · 0 comments

Comments

@rguillens
Copy link

It would be nice to have a way of configuring the change support implementation class. In Java Swing applications, developers may replace PropertyChangeSupport class with the extension SwingPropertyChangeSupport to ensure notifications are sent over AWT Event Dispatch Thread.
Instead deprecating the annotation @BountPropertySupport, it shoud allow to configure globally setter's AccessLevel too.

I think the solution would look like this:

@BountPropertySupport(type=SwingPropertyChangeSupport.class, level=AccessLevel.PACKAGE) //Default values are PropertyChangeSupport.class and AccessLevel.PUBLIC
public class Example {
...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant