Remove default handlers for checkout commands
commit4d9648d08db5669b7db7d75b50a0a47b2a38ced6
authorThomas Wolf <thomas.wolf@paranor.ch>
Sat, 4 Feb 2017 08:10:36 +0000 (4 09:10 +0100)
committerMatthias Sohn <matthias.sohn@sap.com>
Sun, 5 Feb 2017 14:42:42 +0000 (5 15:42 +0100)
tree61139ea21245cbf99d6b66b6fb5f7f185f74f25f
parent2e91bf9550e583dbcf5dbcf093730bcc9ac406c2
Remove default handlers for checkout commands

Provide dedicated handlers with appropriate activeWhen clauses
instead.

The remaining default handler for org.eclipse.egit.ui.commit.Checkout
cannot be removed (yet). The command is used for the checkout button
in the CommitEditor's toolbar. This is in the header of a
SharedHeaderFormEditor, and the usual technique for eliminating
default handlers doesn't work in that case: the button always
remains disabled. Something strange with the site or the selection
provider is going on, or these toolbar buttons need some more
hook-up, but I don't see what's missing.

Bug: 495064
Bug: 511635
Change-Id: Ied73a4f921c57d7b6b1f5f3b6cf09812d10a50ba
Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
org.eclipse.egit.ui/plugin.xml