Property check [message #610433] |
Mon, 29 August 2005 17:23 |
Eclipse User |
|
|
|
Originally posted by: lgodl.2die4.com
Hi, I have a bean I created which throw an exception when foo (a
property of the Bean) does not respect the requirements so VE show the
exclamation mark over my component.
I also have a property named bar that should throw an exception when the
requirements are not meant. The thing is that the requirements of the
bar property needs to know what are others components of the same type
in the java application. I did this using a static variable shared
between every components of the type. So when I use VE to create an
application which use my component I add the first one, set its
properties, add the second one which recognize that there is already a
component of the type in the application. My problem is that if I delete
the first component every other component (already existing ones and new
ones) believe the first component is still in the application since no
code of my bean is being executed when the component is removed. Is there
a way to notify the other components that it is no longer present? Or is
there any method of my javabean that could be called when a component is
deleted from the application in VE?
Thanks
|
|
|
Powered by
FUDForum. Page generated in 0.03425 seconds