Is it possible to add a new property to the property page of a Control that generates some custom statements?
Why I want this? We have a framework for GUI controls that separates GUI from the GUIModel. The Model is a java.util.Properties like structure a client of a dialog uses. If you add a Control-name pair to the GUIModel, there will be automatically listeners added to the control that keep the state of the control in sync with the GUIModel like datastructure. So the line, I would want to generate looks like this:
- Code: Select all
(not really important, I can add the line by hand in the code, but it would be cool