While traveling by train to Vienna and back I had time to invest some time into the workbench tooling and I think I added some nice and helpful things.
- “Live” Model Inspection:
The first and most important feature is that you can now inspect the model of your running workbench by hitting CTRL+SHIFT+I - Better support for Window-MainMenu and Part-ToolBar
- Adding Support for Fragment-Tooling
The tooling is not as good as I had hoped to be at this point (e.g. taking part in renaming actions is not supported and I doubt to get this ready for the July release). I’ll try to invest some more time into this but I need to feedback from people to find problems and missing features, … .
I can’t guarantee to implement all of them but your input is crucial to at least fix the most important parts.
Cool, Tom!
CTRL+SHIFT+I is a cool feature. This is very good for demos! Thanks again.
What do I have to do to make CTRL+SHIFT+I available in an e4 based RCP application?
Add the “org.eclipse.e4.tools.emf.liveeditor” to your launch config and hit “Add Required Plug-ins”
Thanks Tom. If I do this I see the console message “Created Live Dialog Handler” but the shortcut doesn’t do anything. Also if I press this combination in the latest SDK build I get: “A stack frame must be selected to provide a context for an evaluation”.
Do you have a BindingTable in your RCP-application, else the processor is not able to register a keybinding. On the SDK problem I’m not sure what you are seeing there. I’m running on CVS HEAD. Is there probably another keybinding active in the context you are hitting CTRL+SHIFT+I?
@Tom: Thanks for the clarification via IRC. I need to have bindingTables defined in my Application.e4xmi otherwise the keybinding cannot be created.
Thanks again.
Hm, I cannot get it run with the contacts demo. I have a binding table in my exmi and CTRL+SHIFT+I is not overwritten. I am using the latest head. Any hints?
we changed that to CTRL+SHIFT+F9
CTRL+SHIFT+F9 does not work either. Could you check with the latest contacts demo? Thanks!
sorry ALT+SHIFT+F9 => just tested it and it works like “charme” beside the fact that you are globally redefining the style of Controls like Label, … so the editor is not 100% useable.
On a MacBook, use and in the OSX System Preferences make sure you uncheck the ‘keys as standard function keys’ option.
On a MacBook, use FN+SHIFT+ALT/OPTION+F9 and in the OSX System Preferences make sure you uncheck the ‘keys as standard function keys’ checkbox.
Are there any new on the injection exception discussed here?
https://bugs.eclipse.org/bugs/show_bug.cgi?id=394503
I have the same problem (“Unable to process “ApplicationModelEditor.shell”: no actual value was found for the argument “Shell”.”) and would love to try the live model editor…
it’s best to ask at the bug itself.