Community
Participate
Working Groups
Build ID: I20040310. GEF's palette page, which due to the lack of a KeyBindingService, creates and registers its own HandlerSubmissions to enable actions. When a HandlerSubmission is created with a null argument for the IWorkbenchSite (first parameter in the constructor), the actions work on the page. When getSite() is specified instead, which returns the IPageSite for the page, the actions do not work on the page.
The site must be one of the sites reachable by workbenchWindow.getActivePage().getActivePart().getSite(). I'm sorry that isn't documented.
In that case, wouldn't it make more sense to use IWorkbenchPartSite instead of IWorkbenchSite?
One would assume that, wouldn't they? :) This is a bug with HandlerSubmission, and hence a problem with Commands. I'm going to reassign this to Chris, so he can think about what to do. We'd been talking about this before, and the final solution might be to soup up the workbench to provide a stronger concept of nesting -- allowing us to see the entire nesting chain of workbench components.
You mean nesting "tree"? See also bug 46207.
Yes, I do mean the services work.
Moving Dougs bugs
Is this still a problem in 3.3? PW
Changes requested on bug 193523
This bug hasn't had any activity in quite some time. Maybe the problem got resolved, was a duplicate of something else, or became less pressing for some reason - or maybe it's still relevant but just hasn't been looked at yet. If you have further information on the current state of the bug, please add it. The information can be, for example, that the problem still occurs, that you still want the feature, that more information is needed, or that the bug is (for whatever reason) no longer relevant.