Skip to main content



      Home
Home » Eclipse Projects » WindowBuilder » BugReport(lambda EventHandler)
BugReport [message #1784562] Thu, 29 March 2018 07:19 Go to next message
Eclipse UserFriend
Hi,

today i found out, that if I replace the following code:
rdbtn.addActionListener(new ActionListener() {
	public void actionPerformed(ActionEvent e) {} });


with this one (Lambda):
rdbtn.addActionListener(e -> {});


Switching to the Design View. Right click on the rdbtn => no event handler.

So the windowBuilder can`t work with Lambda? Is there a new Version somewhere?
I use the Eclipse Oxygen.2 Release (4.7.2) with the WindowBuilder Core 1.9.0.
Re: BugReport [message #1784836 is a reply to message #1784562] Wed, 04 April 2018 11:46 Go to previous messageGo to next message
Eclipse UserFriend
The WindowBuilder parser does not understand that syntax, so you have to use the older style if you want WindowBuilder to recognize that.

There are no current plans to update the parser to understand that syntax. That said, WindowBuilder is completely open source here at Eclipse, so a patch to extend the WindowBuilder parser to do that would be very welcome.

We are also always looking for folks who would like to become Eclipse committers and contribute to the project.
Re: BugReport [message #1784851 is a reply to message #1784836] Wed, 04 April 2018 15:23 Go to previous message
Eclipse UserFriend
Eric,
You wrote
Quote:
We are also always looking for folks who would like to become Eclipse committers and contribute to the project.

I downloaded the source code from Git but I don't think it is the entire source code. Where can I get the entire source code?

Thanks.
Previous Topic:Component Orientation Bug
Next Topic:Invisible garbage chars in text input into Eclipse
Goto Forum:
  


Current Time: Thu Jul 10 23:28:16 EDT 2025

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

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

Back to the top