Skip to main content



      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 08:02 Go to next message
Eclipse UserFriend
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 356 times)

[Updated on: Wed, 29 August 2018 10:25] by Moderator

Re: Turn grey a sub menu instead of hiding it [message #1794597 is a reply to message #1794350] Mon, 03 September 2018 10:03 Go to previous messageGo to next message
Eclipse UserFriend
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,

Re: Turn grey a sub menu instead of hiding it [message #1795214 is a reply to message #1794597] Tue, 18 September 2018 09:46 Go to previous message
Eclipse UserFriend
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: Sun Jul 13 21:12:36 EDT 2025

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

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

Back to the top