Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » How to add a Composite to a Menu?
How to add a Composite to a Menu? [message #1712919] Thu, 29 October 2015 11:07 Go to next message
DaveLaw Missing name is currently offline DaveLaw Missing nameFriend
Messages: 6
Registered: October 2015
Junior Member
I wanted to add a Composite to a Menu.
As a leaf-node so to speak.
However, the only thing you can add to an MMenu is more Menus.
I thought of maybe wrapping a Composite in a subclass of Menu
& subclassing WorkbenchRendererFactory to handle it,
but I can't make sense of it.
Does anybody have an idea if this is at all possible?
If so can you point me to a tutorial or example?
All the best,
Dave
Re: How to add a Composite to a Menu? [message #1725029 is a reply to message #1712919] Mon, 29 February 2016 08:12 Go to previous messageGo to next message
Piero Campalani is currently offline Piero CampalaniFriend
Messages: 114
Registered: January 2015
Senior Member

Hey Dave,
did you manage to do this somehow? (How?)

*thanks* !
Re: How to add a Composite to a Menu? [message #1725031 is a reply to message #1725029] Mon, 29 February 2016 08:19 Go to previous message
Piero Campalani is currently offline Piero CampalaniFriend
Messages: 114
Registered: January 2015
Senior Member

I take the occasion to ask to the experts: how would you add an "advanced" contextual menu to a control?
I am thinking of menu items with scales or spinners, etc.

Maybe just defining the parent composite, and controlling its visibility with a listener?

[Updated on: Mon, 29 February 2016 08:20]

Report message to a moderator

Previous Topic:Dynamically Perspectives in RCP application
Next Topic:View menu with a submenu in an E4 view?
Goto Forum:
  


Current Time: Wed Dec 02 13:36:13 GMT 2020

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

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

Back to the top