VE code generation customization, palette, beanInfo questions [message #610854] |
Fri, 23 September 2005 18:21 |
Adrian Pang Messages: 10 Registered: July 2009 |
Junior Member |
|
|
Hi,
I have a few questions on extending the VE:
1. Is it possible to customize the code generation behavior when a control
is dropped (not just for changing attribute)? For example, I would like to
open a wizard when my control is dropped, and add custom code so instead of
just:
if (instance == null)
instance = new MyControl();
return instance;
I want:
if (instance == null) {
instance = new MyControl();
instance.init();
}
return instance;
2. My control appears on the palette when the user adds my library to the
project. Is there a way to reverse this process, so it appears on the
palette by default, and when the user uses it the library is added?
3. The tutorial mentions that I can have beanInfo in other jars/packages.
Can you provide an example on how I can "hook" the BeanInfo class to the
actual class?
4. Any way to specify tooltips for properties view, and the Palette entry?
Thank you for your time!
Adrian
|
|
|
Powered by
FUDForum. Page generated in 0.02522 seconds