Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse 4 » EventBus cannot be resolved to a type
EventBus cannot be resolved to a type [message #1758783] Sun, 02 April 2017 23:39 Go to next message
Henri Boucher is currently offline Henri BoucherFriend
Messages: 40
Registered: September 2015
Member
I've seen and would like to use:

@PostConstruct
public void initUI(BorderPane pane, EventBus eventBus) {}

After organize imports I get - EventBus cannot be resolved to a type.
When I type in the import statement I get - The import org.eclipse.fx.core.event cannot be resolved

I'm using Neon.3 and e(fx)clipse - IDE 2.4.0

Please provide detailed instructions if this can be fixed.
Just curious, where would I find the .jar file on eclipse.org?
Re: EventBus cannot be resolved to a type [message #1758784 is a reply to message #1758783] Sun, 02 April 2017 23:41 Go to previous messageGo to next message
Henri Boucher is currently offline Henri BoucherFriend
Messages: 40
Registered: September 2015
Member
Sorry, wrong forum. Please ignore or delete.
Re: EventBus cannot be resolved to a type [message #1758785 is a reply to message #1758784] Sun, 02 April 2017 23:54 Go to previous messageGo to next message
Henri Boucher is currently offline Henri BoucherFriend
Messages: 40
Registered: September 2015
Member
I can't make this post to e(fx)clipse because the system detects duplicate posts. If you can please move this topic to e(fx)clipse forum.

Thanks
Re: EventBus cannot be resolved to a type [message #1758790 is a reply to message #1758785] Mon, 03 April 2017 07:39 Go to previous message
Christoph Keimel is currently offline Christoph KeimelFriend
Messages: 478
Registered: December 2010
Location: Germany
Senior Member
Add org.eclipse.fx.core.event to the "imported packages" in your MANIFEST.MF
Previous Topic:MCompositePart Closeable?
Next Topic:Creating Part stack within part stack
Goto Forum:
  


Current Time: Mon Sep 25 13:24:47 GMT 2017

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

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