Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » VE code generation customization, palette, beanInfo questions
VE code generation customization, palette, beanInfo questions [message #610854] Fri, 23 September 2005 18:21
Adrian Pang is currently offline Adrian PangFriend
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
Previous Topic:Is there a ve download for eclipse version 3.0 ?
Next Topic:Restricting my control to appear only in AWT/Swing?
Goto Forum:
  


Current Time: Thu Apr 25 14:32:55 GMT 2024

Powered by FUDForum. Page generated in 0.02522 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top