Skip to main content



      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] Tue, 07 January 2014 23:28 Go to next message
Eclipse UserFriend
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 03:27 Go to previous messageGo to next message
Eclipse UserFriend
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 16:03 Go to previous message
Eclipse UserFriend
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 16:05] by Moderator

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


Current Time: Tue Apr 22 13:02:43 EDT 2025

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

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

Back to the top