diff options
Diffstat (limited to 'org.eclipse.egit.ui/plugin.xml')
-rw-r--r-- | org.eclipse.egit.ui/plugin.xml | 59 |
1 files changed, 59 insertions, 0 deletions
diff --git a/org.eclipse.egit.ui/plugin.xml b/org.eclipse.egit.ui/plugin.xml index 1aa71ad870..906cc25329 100644 --- a/org.eclipse.egit.ui/plugin.xml +++ b/org.eclipse.egit.ui/plugin.xml @@ -1597,6 +1597,31 @@ </activeWhen> </handler> <handler + commandId="org.eclipse.egit.ui.team.clean"> + <class + class="org.eclipse.egit.ui.internal.repository.tree.command.CleanCommand"> + </class> + <activeWhen> + <and> + <count + value="1"> + </count> + <iterate> + <and> + <instanceof + value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode"> + </instanceof> + <not> + <test + property="GitRepository.isBare"> + </test> + </not> + </and> + </iterate> + </and> + </activeWhen> + </handler> + <handler commandId="org.eclipse.egit.ui.team.stash.create"> <class class="org.eclipse.egit.ui.internal.repository.tree.command.StashCreateCommand"> @@ -2641,6 +2666,31 @@ </and> </visibleWhen> </command> + <command + commandId="org.eclipse.egit.ui.team.clean" + label="%CleanCommand.label" + style="push"> + <visibleWhen + checkEnabled="false"> + <and> + <count + value="1"> + </count> + <iterate> + <and> + <instanceof + value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode"> + </instanceof> + <not> + <test + property="GitRepository.isBare"> + </test> + </not> + </and> + </iterate> + </and> + </visibleWhen> + </command> <command commandId="org.eclipse.egit.ui.team.stash.create" label="%StashCreateCommand.label" @@ -4069,6 +4119,11 @@ </command> <command categoryId="org.eclipse.egit.ui.commandCategory" + id="org.eclipse.egit.ui.team.clean" + name="%CleanCommand.name"> + </command> + <command + categoryId="org.eclipse.egit.ui.commandCategory" id="org.eclipse.egit.ui.team.stash.create" defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.StashCreateCommand" name="%StashCreateCommand.name"> @@ -4321,6 +4376,10 @@ icon="icons/obj16/revert.gif"> </image> <image + commandId="org.eclipse.egit.ui.team.clean" + icon="icons/obj16/clean_obj.gif"> + </image> + <image commandId="org.eclipse.egit.ui.team.stash.create" icon="icons/obj16/stash-create.png"> </image> |