Community
Participate
Eclipse IDE
After the initial reading there is no attempt made to keep the state of the command architecture in sync with the registry.
*** Bug 96603 has been marked as a duplicate of this bug. ***
When fixing this bug, I intend only to make it so that the commands architecture reparses the entire registry when a change occurs. I'm doing this as there is a lot of consistency checking done when bindings/commands/contexts/handlers are read. This consistency checking is a little bit complicated, and would ultimately require re-examining the entire bindings/commands/contexts/handlers model anyway.
Created attachment 26476 [details] Patch to "org.eclipse.ui.workbench"
Created attachment 26477 [details] Patch to "org.eclipse.jface"
Created attachment 26479 [details] Patch to "org.eclipse.ui.tests" Partially complete patch. Only one of the seven extension points involved is tested.
Created attachment 26556 [details] Patch to "org.eclipse.ui.workbench"
Created attachment 26557 [details] Patch to "org.eclipse.ui.tests"
Created attachment 26558 [details] dynamic_classes.zip This ZIP file wasn't included in the patch to "org.eclipse.ui.tests" for some reason. Perhaps it was too large (~25KB)?
Created attachment 26561 [details] Patch to "org.eclipse.ui.workbench" Fixes a concurrent modification exception.
Kim: Can you review the patches? There's a lot of stuff, so I'm just hoping someone can look for stupid mistakes....
Created attachment 26590 [details] Patch to "org.eclipse.jface" This removes the change to the javadoc for 3.1.1 (it will appear in 3.2).
Created attachment 26591 [details] Patch to "org.eclipse.ui.workbench" Removes a println Makes sure that model objects with dependencies (e.g., bindings) are re-read when the dependencies changes as well (e.g., commands, contexts).
The patch has been applied to both the R3_1_maintenance stream and HEAD. It should appear in I20050830-0800 and M20050831-1200.
Verified by tests in 3.1.1 RC2 and 3.2 M2.