Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » e(fx)clipse » contribute to context menu from E3 plugin in FXML view?
contribute to context menu from E3 plugin in FXML view? [message #1228799] Wed, 08 January 2014 04:28 Go to next message
Jim Klo is currently offline Jim KloFriend
Messages: 49
Registered: September 2012
Member
I've got an FXML view part that builds a pretty complex UI - however much simpler than what it would have been to do using SWT.

Now I've got a challenge that I'm not sure how to deal with. Within the FXML view there are a couple different ListViews that I'd like to add context menus. And then from another plugin I want to be able to contribute to those menus.

Is there a right/recommended way to do this?

Thanks,

JK
Re: contribute to context menu from E3 plugin in FXML view? [message #1228862 is a reply to message #1228799] Wed, 08 January 2014 08:27 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
So what underlying version of Eclipse 3.x or 4.x is this? In 4.x all the
information is stored in the EMF-Model hence you could in theory get
access to it.

You can naturally always read the 3.x menu-extension point yourself and
makeup a context-menu in your FXMLs controller.

But I'm wondering if it would not be easier to roll your own extension
point.

Tom

On 08.01.14 05:28, Jim Klo wrote:
> I've got an FXML view part that builds a pretty complex UI - however
> much simpler than what it would have been to do using SWT.
>
> Now I've got a challenge that I'm not sure how to deal with. Within the
> FXML view there are a couple different ListViews that I'd like to add
> context menus. And then from another plugin I want to be able to
> contribute to those menus.
>
> Is there a right/recommended way to do this?
>
> Thanks,
> JK
Re: contribute to context menu from E3 plugin in FXML view? [message #1229160 is a reply to message #1228862] Wed, 08 January 2014 21:03 Go to previous message
Jim Klo is currently offline Jim KloFriend
Messages: 49
Registered: September 2012
Member
Hi Thomas,

That seems to be the approach I'm thinking I'll have to do... however I think I have a bigger problem in that that I can't seem to actually get ContextMenus to actually work within my E3 plugin.

The underlying framework is E3... so my view part extends the FXView.

[Updated on: Wed, 08 January 2014 21:05]

Report message to a moderator

Previous Topic:JavaFX Preview Problem
Next Topic:Access FXML locate in another Package.
Goto Forum:
  


Current Time: Tue Apr 16 12:09:02 GMT 2024

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

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

Back to the top