Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Sirius » Turn grey a sub menu instead of hiding it
Turn grey a sub menu instead of hiding it [message #1794350] Wed, 29 August 2018 12:02 Go to next message
David CHARLET is currently offline David CHARLETFriend
Messages: 12
Registered: January 2018
Junior Member
Hi,

I would like to disable some operations in my Popup Menu if some conditions are met.
I want the operation to turn grey but remain visible.

I managed to hide the menu using Preconditions but can't figure out how to turn it grey just to notify the user that the condition are not met thus the action is not available.

To sum up I would like something like the pic attached.

https://www.eclipse.org/forums/index.php?t=getfile&id=33765&


Does anyone have a clue ?
  • Attachment: kek.png
    (Size: 12.24KB, Downloaded 330 times)

[Updated on: Wed, 29 August 2018 14:25]

Report message to a moderator

Re: Turn grey a sub menu instead of hiding it [message #1794597 is a reply to message #1794350] Mon, 03 September 2018 14:03 Go to previous messageGo to next message
Pierre Guilet is currently offline Pierre GuiletFriend
Messages: 250
Registered: June 2017
Senior Member
Hi,

This is currently not possible with Sirius.
If you want to have this functionality you can make a Sirius ticket https://bugs.eclipse.org/bugs/enter_bug.cgi?product=Sirius but can't tell you for the moment if it will be looked for.

Regards,



Pierre Guilet - Obeo
Need training or professional services for Sirius?
http://www.obeodesigner.com/sirius
Re: Turn grey a sub menu instead of hiding it [message #1795214 is a reply to message #1794597] Tue, 18 September 2018 13:46 Go to previous message
David CHARLET is currently offline David CHARLETFriend
Messages: 12
Registered: January 2018
Junior Member
Hi,

I understand, thank you for your answer.

Regards,
Previous Topic:Edge creation based on source and target nodes
Next Topic:Hidding double links
Goto Forum:
  


Current Time: Tue Apr 23 15:53:21 GMT 2024

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

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

Back to the top