Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » WindowBuilder » WindowsBuilder deletes method called from action listener
WindowsBuilder deletes method called from action listener [message #661237] Wed, 23 March 2011 16:19 Go to next message
Thaddeus  is currently offline Thaddeus Friend
Messages: 2
Registered: March 2011
Junior Member
I just started playing with WindowBuilder after using NetBeans for GUI construction for a long time.

I have version 0.9.0.r36x201102111130 installed

I have only used it for a couple days, and it just torched a bunch of my work!

I had several methods that were called from actionlisteners on several toolbar buttons. I decided to move things around and deleted these buttons.

Not only did WindowBuilder delete the actionlisteners (as expected), it also deleted the methods I CALLED from the action listeners! (several hundred lines of functionality I would have liked to retain.)

Of course I have backups, but I am alarmed as it seems very bizarre that it would do this silently and as the default behavior.

My google-fu was not high enough today to find any other mentions of this behavior.

Can anyone tell me if this is a bug? Or is this by design? If so can this be disabled? Are there any other oddities like this I should know about before WindowBuilder goes deleting my code all willy nilly?

Thanks in advance for any insights!

-- Thaddeus
Re: WindowsBuilder deletes method called from action listener [message #661243 is a reply to message #661237] Wed, 23 March 2011 16:46 Go to previous messageGo to next message
Konstantin Scheglov is currently offline Konstantin ScheglovFriend
Messages: 555
Registered: July 2009
Senior Member
This is feature.
Look on "Delete sub event handler methods" option in preferences.
http://dl.dropbox.com/u/76691/Eclipse/images/Screenshot_20110323_124429.png


Konstantin Scheglov,
Google, Inc.
Re: WindowsBuilder deletes method called from action listener [message #661248 is a reply to message #661243] Wed, 23 March 2011 17:00 Go to previous message
Thaddeus  is currently offline Thaddeus Friend
Messages: 2
Registered: March 2011
Junior Member
Thanks for the quick response!

Previous Topic:WindowBuilder internal error when manipulating boolean properties.
Next Topic:Source code release date?
Goto Forum:
  


Current Time: Thu Dec 18 07:22:15 GMT 2014

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

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