Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » Visual Editor (VE) » Property check
Property check [message #610433] Mon, 29 August 2005 17:23
Eclipse UserFriend
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
Previous Topic:How to VE with Eclipse 3.0.0
Next Topic:"Error trying to set new file into editor" problem
Goto Forum:
  


Current Time: Thu Apr 25 07:47:01 GMT 2024

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

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

Back to the top