Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Custom container beans with editable children?
Custom container beans with editable children? [message #607056] Fri, 08 April 2005 10:13
Carsten Lergenmüller is currently offline Carsten LergenmüllerFriend
Messages: 9
Registered: July 2009
Junior Member
Hi all,

we are planning a new application. The idea we have is to provide the
dialog developers with a set of custom beans which serve as building
blocks to construct the dialogs with. Some of the custom beans are
containers (derived from JPanel) which already contain some child
components (Labels, TestFields, etc.). The developer then can choose a
container with "Choose Bean", then he gets it with the most important
children already in it, and then he can add other children he might need.

This all works OK, but the problem I have is that VE does not allow me
to edit the child components which were added by the custom container
bean (in it's initialize method). The custom container bean is
recognized to be a container and can have new children added and the
children created by the container bean are rendered OK, but they can't
be selected.

I fiddled around with some things (added public getters for the children
in the custom container bean, created an initialize method for it,
created a BeanInfo for it, created it new with VE's "Create new JPanel
visual class"), still I can't get VE to recognize that there are Beans
in the container which have properties that could be set.

Is there (or will there be) a way to do this ?

Thanks in advance,
Carsten
Previous Topic:Problems with rendering visual components in VE
Next Topic:Moving from JBuilder to Eclipse
Goto Forum:
  


Current Time: Thu Apr 25 15:21:50 GMT 2024

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

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

Back to the top