Finding Bean Info [message #15777] |
Tue, 20 January 2004 08:23  |
Eclipse User |
|
|
|
I have my own suite of visual Java beans that all have their own bean info
classes, which specify property editors
and customizers.
The bean info classes are all contained in the same package as the beans
themselves.
From the documentation, this seems to imply that I do not need to edit bean
info
class paths for these bean info classes to be found.
I create a new panel (JPanel subclass) and add some of my beans to this
panel. It seems that the bean info classes are not
being found as I cannot customize my beans (or access the custom property
editors).
The project containing the beaninfo classes depends on other
projects and so on.
If I simplify the interproject dependencies by making the project with the
bean info's in look
at external jars instead of other projects in the workspace, then the bean
infos are found successfully,
for any panel that contains the beans.
I think there is a problem with finding bean info classes when your bean
info classes are in a project
which has dependencies on other projects in the workspace.
I have tried debugging the Visual Editor, but as I cannot view variable
values with everything in jars,
I'm having trouble figuring out what is happening.
Has anyone got any ideas about this, or experienced similar behaviour?
|
|
|
Re: Finding Bean Info [message #15797 is a reply to message #15777] |
Tue, 20 January 2004 09:54  |
Eclipse User |
|
|
|
I've solved the problem, so ignore this
"Darren Hurt" <darren.hurt@coexis.com> wrote in message
news:buja3h$j1p$1@eclipse.org...
> I have my own suite of visual Java beans that all have their own bean info
> classes, which specify property editors
> and customizers.
> The bean info classes are all contained in the same package as the beans
> themselves.
> From the documentation, this seems to imply that I do not need to edit
bean
> info
> class paths for these bean info classes to be found.
>
> I create a new panel (JPanel subclass) and add some of my beans to
this
> panel. It seems that the bean info classes are not
> being found as I cannot customize my beans (or access the custom property
> editors).
> The project containing the beaninfo classes depends on
other
> projects and so on.
> If I simplify the interproject dependencies by making the project with the
> bean info's in look
> at external jars instead of other projects in the workspace, then the
bean
> infos are found successfully,
> for any panel that contains the beans.
>
> I think there is a problem with finding bean info classes when your bean
> info classes are in a project
> which has dependencies on other projects in the workspace.
>
> I have tried debugging the Visual Editor, but as I cannot view variable
> values with everything in jars,
> I'm having trouble figuring out what is happening.
> Has anyone got any ideas about this, or experienced similar behaviour?
>
>
>
>
|
|
|
Re: Finding Bean Info [message #578629 is a reply to message #15777] |
Tue, 20 January 2004 09:54  |
Eclipse User |
|
|
|
I've solved the problem, so ignore this
"Darren Hurt" <darren.hurt@coexis.com> wrote in message
news:buja3h$j1p$1@eclipse.org...
> I have my own suite of visual Java beans that all have their own bean info
> classes, which specify property editors
> and customizers.
> The bean info classes are all contained in the same package as the beans
> themselves.
> From the documentation, this seems to imply that I do not need to edit
bean
> info
> class paths for these bean info classes to be found.
>
> I create a new panel (JPanel subclass) and add some of my beans to
this
> panel. It seems that the bean info classes are not
> being found as I cannot customize my beans (or access the custom property
> editors).
> The project containing the beaninfo classes depends on
other
> projects and so on.
> If I simplify the interproject dependencies by making the project with the
> bean info's in look
> at external jars instead of other projects in the workspace, then the
bean
> infos are found successfully,
> for any panel that contains the beans.
>
> I think there is a problem with finding bean info classes when your bean
> info classes are in a project
> which has dependencies on other projects in the workspace.
>
> I have tried debugging the Visual Editor, but as I cannot view variable
> values with everything in jars,
> I'm having trouble figuring out what is happening.
> Has anyone got any ideas about this, or experienced similar behaviour?
>
>
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.08498 seconds