Replies: 3 comments 4 replies
-
Is it about context menu, or about evaluating/debugging Core Expressions in general? |
Beta Was this translation helpful? Give feedback.
1 reply
-
E4 contributions can use imperitive expressions which allows you to use regular Java code and DI |
Beta Was this translation helpful? Give feedback.
1 reply
-
As a starter you can use the pde E4 menu template which also adds a context menu |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I'd often like to add a menu item in a context sensitive way, e.g in this case "Show it only if project has a given nature and adapting it to X returns property y == some value".
This often becomes a nightmare (why the .... its not working?!?) and ends with a lots of try and error, poking around and copy snippets from here to there and in the end it is working only half-way because something was still missing.
I therefore wondering if there is some tooling that one can used that generates the required parts and is a bit more interactive than trial-and-error maybe even suggesting some usual filters, adapters and so on?
And of course for debugging as well, I think even a printout like "your action was not enabled because condition X is false" would help a lot (especially as one easily can deadlock SWT when debugging menus...)
Beta Was this translation helpful? Give feedback.
All reactions