blob: 7702fa1400b054b2c55f8c130d8a50292046b8a0 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<?eclipse version="3.0"?>
<plugin>
<extension-point id="commitMessageProvider" name="%CommitMessageProviderExtension-point.name" schema="schema/commitMessageProvider.exsd"/>
<extension-point id="cloneSourceProvider" name="%CloneSourceProviderExtension-point.name" schema="schema/cloneSourceProvider.exsd"/>
<extension-point id="branchNameProvider" name="%BranchNameProviderExtension-point.name" schema="schema/branchNameProvider.exsd"/>
<extension point="org.eclipse.core.runtime.preferences">
<initializer class="org.eclipse.egit.ui.PluginPreferenceInitializer"/>
</extension>
<extension point="org.eclipse.ui.importWizards">
<category name="%Git_clone_category"
id="org.eclipse.egit.ui.internal.clone.gitclonecategory"/>
<wizard name="%Git_clone_wizard"
icon="icons/obj16/import_obj.png"
class="org.eclipse.egit.ui.internal.clone.GitImportWizard"
id="org.eclipse.egit.ui.internal.clone.GitCloneWizard"
category="org.eclipse.egit.ui.internal.clone.gitclonecategory">
<description>%Git_clone_description</description>
</wizard>
</extension>
<extension point="org.eclipse.team.ui.configurationWizards">
<wizard name="%SharingWizard_name"
icon="icons/etool16/newconnect_wiz.png"
class="org.eclipse.egit.ui.internal.sharing.SharingWizard"
id="org.eclipse.egit.ui.internal.sharing.SharingWizard">
</wizard>
</extension>
<extension point="org.eclipse.ui.popupMenus">
<objectContribution id="org.eclipse.egit.ui.containerContributions"
objectClass="org.eclipse.core.resources.IContainer"
adaptable="true">
<filter name="projectPersistentProperty"
value="org.eclipse.team.core.repository=org.eclipse.egit.core.GitProvider">
</filter>
<action
class="org.eclipse.egit.ui.internal.actions.SynchronizeWorkspaceAction"
id="org.eclipse.egit.ui.internal.actions.SynchronizeWorkspace"
icon="$nl$/icons/obj16/synchronize.png"
label="%SynchronizeWorkspace_label"
menubarPath="team.main/group3"/>
</objectContribution>
<objectContribution
adaptable="true"
id="org.eclipse.egit.ui.resourceContributions"
objectClass="org.eclipse.core.resources.IResource">
<filter name="projectPersistentProperty"
value="org.eclipse.team.core.repository=org.eclipse.egit.core.GitProvider">
</filter>
<action
class="org.eclipse.egit.ui.internal.actions.ApplyPatchAction"
definitionId="org.eclipse.egit.ui.team.ApplyPatch"
enablesFor="*"
id="org.eclipse.egit.ui.internal.actions.applyPatch"
label="%ApplyPatchAction_label"
menubarPath="team.main/applyPatchGroup"
overrideActionId="org.eclipse.team.ui.applyPatch">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.MergeToolAction"
definitionId="org.eclipse.egit.ui.team.MergeTool"
icon="icons/obj16/mergetool.png"
id="org.eclipse.egit.ui.internal.actions.MergeTool"
label="%MergeToolAction.label"
menubarPath="team.main/group4">
</action>
</objectContribution>
</extension>
<extension
point="org.eclipse.core.runtime.adapters">
<factory
adaptableType="org.eclipse.ui.IURIEditorInput"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="java.io.File" />
<adapter type="org.eclipse.jgit.lib.Repository" />
<adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
</factory>
<factory
adaptableType="org.eclipse.egit.core.internal.storage.GitFileHistoryProvider"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.team.ui.history.IHistoryPageSource">
</adapter>
</factory>
<factory
adaptableType="org.eclipse.core.resources.IResource"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.team.ui.history.IHistoryPageSource">
</adapter>
</factory>
<factory
adaptableType="org.eclipse.ui.IWorkingSet"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="org.eclipse.team.ui.history.IHistoryPageSource" />
<adapter type="org.eclipse.jgit.lib.Repository" />
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.team.ui.history.IHistoryPageSource">
</adapter>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.commit.RepositoryCommit"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.team.ui.history.IHistoryPageSource">
</adapter>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.history.HistoryPageInput"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.team.ui.history.IHistoryPageSource">
</adapter>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.reflog.ReflogItem"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.team.ui.history.IHistoryPageSource">
</adapter>
</factory>
<factory
adaptableType="org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan$PlanElement"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.team.ui.history.IHistoryPageSource">
</adapter>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelRoot"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.ui.model.IWorkbenchAdapter"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelRepository"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.ui.model.IWorkbenchAdapter"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCommit"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.ui.model.IWorkbenchAdapter"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCache"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.ui.model.IWorkbenchAdapter"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelWorkingTree"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.ui.model.IWorkbenchAdapter"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelTree"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.ui.model.IWorkbenchAdapter"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter
type="org.eclipse.ui.model.IWorkbenchAdapter"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelObject"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
<adapter type="org.eclipse.core.resources.IResource"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelRepository"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCommit"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelCache"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelWorkingTree"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelTree"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
<adapter type="org.eclipse.core.resources.IResource"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="org.eclipse.core.resources.mapping.ResourceMapping"/>
<adapter type="org.eclipse.core.resources.IResource"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="org.eclipse.ui.model.IWorkbenchAdapter"/>
</factory>
<factory
adaptableType="org.eclipse.team.ui.history.IHistoryView"
class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory">
<adapter type="org.eclipse.ui.part.IShowInSource"/>
</factory>
<factory
adaptableType="org.eclipse.egit.ui.internal.staging.StagingEntry"
class="org.eclipse.egit.ui.internal.staging.StagingEntryAdapterFactory">
<adapter type="org.eclipse.core.resources.IResource"/>
<adapter type="org.eclipse.core.runtime.IPath"/>
<adapter type="org.eclipse.jgit.lib.Repository"/>
</factory>
</extension>
<extension
point="org.eclipse.core.expressions.definitions">
<definition
id="org.eclipse.egit.ui.repositoryTreePathNode">
<and>
<count
value="1">
</count>
<iterate>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
</instanceof>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
</instanceof>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
</and>
</or>
</iterate>
</and>
</definition>
<definition id="org.eclipse.egit.ui.repositoryTreePushFetchNode">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
</instanceof>
</or>
</iterate>
</and>
</definition>
<definition id="org.eclipse.egit.ui.repositoriesViewCanConfigureFetch">
<and>
<count
value="1">
</count>
<iterate>
<or>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
<not>
<test
property="GitRepository.fetchExists">
</test>
</not>
</and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
</instanceof>
</or>
</iterate>
</and>
</definition>
<definition id="org.eclipse.egit.ui.repositoriesViewCanConfigurePush">
<and>
<count
value="1">
</count>
<iterate>
<or>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
<not>
<test
property="GitRepository.pushExists">
</test>
</not>
</and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
</instanceof>
</or>
</iterate>
</and>
</definition>
<definition id="org.eclipse.egit.ui.singleRefNode">
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
</iterate>
</and>
</definition>
<definition id="org.eclipse.egit.ui.resourcesSingleRepository">
<or>
<test
property="GitSelection.resourcesSingleRepository">
</test>
<with variable="activePart">
<instanceof
value="org.eclipse.ui.IEditorPart">
</instanceof>
<with
variable="activeEditorInput">
<adapt
type="org.eclipse.core.resources.IResource">
<test
property="GitResource.isShared">
</test>
</adapt>
</with>
</with>
</or>
</definition>
<definition id="org.eclipse.egit.ui.fileOrFolderInRepository">
<or>
<test
property="GitSelection.fileOrFolderInRepository">
</test>
<with variable="activePart">
<instanceof
value="org.eclipse.ui.IEditorPart">
</instanceof>
<with
variable="activeEditorInput">
<adapt
type="org.eclipse.core.resources.IResource">
<test
property="GitResource.isShared">
</test>
</adapt>
</with>
</with>
</or>
</definition>
<definition id="org.eclipse.egit.ui.fileOrFolderPushToGerrit">
<or>
<test
property="GitSelection.fileOrFolderInRepository"
args="canPushToGerrit">
</test>
<with variable="activePart">
<instanceof
value="org.eclipse.ui.IEditorPart">
</instanceof>
<with
variable="activeEditorInput">
<adapt
type="org.eclipse.core.resources.IResource">
<test
property="GitResource.isShared">
</test>
<test
property="GitResource.canPushToGerrit">
</test>
</adapt>
</with>
</with>
</or>
</definition>
<definition id="org.eclipse.egit.ui.fileOrFolderFetchFromGerrit">
<or>
<test
property="GitSelection.fileOrFolderInRepository"
args="canFetchFromGerrit">
</test>
<with variable="activePart">
<instanceof
value="org.eclipse.ui.IEditorPart">
</instanceof>
<with
variable="activeEditorInput">
<adapt
type="org.eclipse.core.resources.IResource">
<test
property="GitResource.isShared">
</test>
<test
property="GitResource.canFetchFromGerrit">
</test>
</adapt>
</with>
</with>
</or>
</definition>
<definition
id="org.eclipse.egit.ui.resourcesAllInRepository">
<test
property="GitSelection.resourcesAllInRepository">
</test>
</definition>
<definition
id="org.eclipse.egit.ui.singleRepositoryCommit">
<and>
<count value="1" />
<iterate>
<adapt type="org.eclipse.egit.ui.internal.commit.RepositoryCommit" />
</iterate>
</and>
</definition>
<definition
id="org.eclipse.egit.ui.singleFileCommit">
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
<with variable="activePart">
<test property="GitHistory.isSingleFileHistory" />
</with>
</and>
</definition>
</extension>
<extension point="org.eclipse.ui.preferencePages">
<page name="%GitPreferences_name"
category="org.eclipse.team.ui.TeamPreferences"
class="org.eclipse.egit.ui.internal.preferences.GitPreferenceRoot"
id="org.eclipse.egit.ui.GitPreferences">
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
<keywordReference
id="org.eclipse.egit.ui.keyword.refresh">
</keywordReference>
</page>
<page name="%GitPreferences_ProjectPreferencePage_name"
category="org.eclipse.egit.ui.GitPreferences"
class="org.eclipse.egit.ui.internal.preferences.ProjectsPreferencePage"
id="org.eclipse.egit.ui.internal.preferences.ProjectsPreferencePage" >
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
</page>
<page name="%GitPreferences_WindowCachePreferencePage_name"
category="org.eclipse.egit.ui.GitPreferences"
class="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage"
id="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage" >
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
</page>
<page name="%GitPreferences_DateFormatPreferencePage_name"
category="org.eclipse.egit.ui.GitPreferences"
class="org.eclipse.egit.ui.internal.preferences.DateFormatPreferencePage"
id="org.eclipse.egit.ui.internal.preferences.DateFormatPreferencePage" >
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
<keywordReference
id="org.eclipse.egit.ui.keyword.date">
</keywordReference>
</page>
<page name="%GitPreferences_DecoratorPreferencePage_name"
category="org.eclipse.egit.ui.GitPreferences"
class="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage"
id="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage" >
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
</page>
<page
category="org.eclipse.egit.ui.GitPreferences"
class="org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage"
id="org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage"
name="%ConfigurationPage.name">
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
</page>
<page
category="org.eclipse.egit.ui.GitPreferences"
class="org.eclipse.egit.ui.internal.preferences.CommittingPreferencePage"
id="org.eclipse.egit.ui.internal.preferences.CommittingPreferencePage"
name="%GitPreferences_CommittingPreferencePage_name">
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
</page>
<page
category="org.eclipse.egit.ui.GitPreferences"
class="org.eclipse.egit.ui.internal.preferences.StagingViewPreferencePage"
id="org.eclipse.egit.ui.internal.preferences.StagingViewPreferencePage"
name="%GitPreferences_StagingViewPreferencePage_name">
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
</page>
<page
category="org.eclipse.egit.ui.GitPreferences"
class="org.eclipse.egit.ui.internal.preferences.DialogsPreferencePage"
id="org.eclipse.egit.ui.internal.preferences.DialogsPreferencePage"
name="%DialogsPreferencePage.name">
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
</page>
<page
category="org.eclipse.egit.ui.GitPreferences"
class="org.eclipse.egit.ui.internal.preferences.SynchronizePreferencePage"
id="org.eclipse.egit.ui.internal.preferences.SynchronizePreferencePage"
name="%SynchronizePreferencePage.name">
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
</page>
<page
category="org.eclipse.egit.ui.GitPreferences"
class="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage"
id="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage"
name="%HistoryPreferencePage.name">
<keywordReference
id="org.eclipse.egit.ui.keyword.git">
</keywordReference>
</page>
</extension>
<extension point="org.eclipse.ui.propertyPages">
<page
name="%Git"
class="org.eclipse.egit.ui.internal.preferences.GitProjectPropertyPage"
id="org.eclipse.egit.ui.preferences.GitProjectPropertyPage">
<enabledWhen>
<adapt type="org.eclipse.core.resources.IResource">
<test
property="org.eclipse.core.resources.projectPersistentProperty"
args="org.eclipse.team.core.repository, org.eclipse.egit.core.GitProvider">
</test>
</adapt>
</enabledWhen>
</page>
<page
class="org.eclipse.egit.ui.internal.repository.RepositoryPropertyPage"
id="org.eclipse.egit.ui.property.RepositoryPropertyPage"
name="%RepositoryConfigPropertyPage">
<enabledWhen>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
</enabledWhen>
</page>
<page
class="org.eclipse.egit.ui.internal.repository.RepositoryStatisticsPage"
id="org.eclipse.egit.ui.property.RepositoryStatisticsPage"
name="%RepositoryStatisticsPage">
<enabledWhen>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
</enabledWhen>
</page>
</extension>
<extension point="org.eclipse.ui.keywords">
<keyword
id="org.eclipse.egit.ui.keyword.git"
label="%GitKeyword_label">
</keyword>
<keyword
id="org.eclipse.egit.ui.keyword.refresh"
label="%GitKeyword_Refresh_label">
</keyword>
<keyword
id="org.eclipse.egit.ui.keyword.date"
label="%GitKeyword_Date_label">
</keyword>
</extension>
<extension point="org.eclipse.ui.decorators">
<decorator
lightweight="true"
adaptable="true"
label="%Decorator_name"
class="org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator"
state="true"
location="BOTTOM_RIGHT"
id="org.eclipse.egit.ui.internal.decorators.GitLightweightDecorator">
<enablement>
<objectClass name="org.eclipse.core.resources.mapping.ResourceMapping"/>
</enablement>
<description>
%Decorator_description
</description>
</decorator>
</extension>
<extension point="org.eclipse.ui.themes">
<themeElementCategory
id="org.eclipse.egit.ui.GitTheme"
label="%Theme_label"/>
<fontDefinition
id="org.eclipse.egit.ui.CommitGraphNormalFont"
categoryId="org.eclipse.egit.ui.GitTheme"
label="%Theme_CommitGraphNormalFont_label"
defaultsTo="org.eclipse.jface.dialogfont">
<description>
%Theme_CommitGraphNormalFont_description
</description>
</fontDefinition>
<fontDefinition
id="org.eclipse.egit.ui.CommitGraphHighlightFont"
categoryId="org.eclipse.egit.ui.GitTheme"
label="%Theme_CommitGraphHighlightFont_label"
defaultsTo="org.eclipse.jface.dialogfont">
<description>
%Theme_CommitGraphHighlightFont_description
</description>
</fontDefinition>
<fontDefinition
id="org.eclipse.egit.ui.CommitMessageFont"
categoryId="org.eclipse.egit.ui.GitTheme"
label="%Theme_CommitMessageFont_label"
defaultsTo="org.eclipse.jface.textfont">
<description>
%Theme_CommitMessageFont_description
</description>
</fontDefinition>
<colorDefinition
id="org.eclipse.egit.ui.UncommittedChangeForegroundColor"
categoryId="org.eclipse.egit.ui.GitTheme"
label="%Theme_UncommittedChangeForegroundColor_label"
value="COLOR_LIST_FOREGROUND">
<description>
%Theme_UncommittedChangeForegroundColor_description
</description>
</colorDefinition>
<colorDefinition
id="org.eclipse.egit.ui.UncommittedChangeBackgroundColor"
categoryId="org.eclipse.egit.ui.GitTheme"
label="%Theme_UncommittedChangeBackgroundColor_label"
value="COLOR_LIST_BACKGROUND">
<description>
%Theme_UncommittedChangeBackgroundColor_description
</description>
</colorDefinition>
<fontDefinition
id="org.eclipse.egit.ui.UncommittedChangeFont"
categoryId="org.eclipse.egit.ui.GitTheme"
label="%Theme_UncommittedChangeFont_label">
<description>
%Theme_UncommittedChangeFont_description
</description>
</fontDefinition>
<fontDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
defaultsTo="org.eclipse.jface.textfont"
id="org.eclipse.egit.ui.CommitMessageEditorFont"
label="%Theme_CommitMessageEditorFont_label">
<description>
%Theme_CommitMessageEditorFont_description
</description>
</fontDefinition>
<colorDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
id="org.eclipse.egit.ui.DiffHunkBackgroundColor"
isEditable="true"
label="%Theme_DiffHunkBackgroundColor_label"
value="234,242,245">
<description>
%Theme_DiffHunkBackgroundColor_description
</description>
</colorDefinition>
<colorDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
id="org.eclipse.egit.ui.DiffHunkForegroundColor"
isEditable="true"
label="%Theme_DiffHunkForegroundColor_label"
value="153,153,153">
<description>
%Theme_DiffHunkForegroundColor_description
</description>
</colorDefinition>
<colorDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
id="org.eclipse.egit.ui.DiffAddBackgroundColor"
isEditable="true"
label="%Theme_DiffAddBackgroundColor_label"
value="221,255,221">
<description>
%Theme_DiffAddBackgroundColor_description
</description>
</colorDefinition>
<colorDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
id="org.eclipse.egit.ui.DiffAddForegroundColor"
isEditable="true"
label="%Theme_DiffAddForegroundColor_label"
value="COLOR_BLACK">
<description>
%Theme_DiffAddForegroundColor_description
</description>
</colorDefinition>
<colorDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
id="org.eclipse.egit.ui.DiffRemoveBackgroundColor"
isEditable="true"
label="%Theme_DiffRemoveBackgroundColor_label"
value="255,221,221">
<description>
%Theme_DiffRemoveBackgroundColor_description
</description>
</colorDefinition>
<colorDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
id="org.eclipse.egit.ui.DiffRemoveForegroundColor"
isEditable="true"
label="%Theme_DiffRemoveForegroundColor_label"
value="COLOR_BLACK">
<description>
%Theme_DiffRemoveForegroundColor_description
</description>
</colorDefinition>
<colorDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
id="org.eclipse.egit.ui.DiffHeadlineForegroundColor"
isEditable="true"
label="%Theme_DiffHeadlineForegroundColor_label"
value="COLOR_BLACK">
<description>
%Theme_DiffHeadlineForegroundColor_description
</description>
</colorDefinition>
<colorDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
id="org.eclipse.egit.ui.DiffHeadlineBackgroundColor"
isEditable="true"
label="%Theme_DiffHeadlineBackgroundColor_label"
value="170,170,170">
<description>
%Theme_DiffHeadlineBackgroundColor_description
</description>
</colorDefinition>
<fontDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
defaultsTo="org.eclipse.jface.textfont"
id="org.eclipse.egit.ui.DiffHeadlineFont"
label="%Theme_DiffHeadlineFont_label">
<description>
%Theme_DiffHeadlineFont_description
</description>
</fontDefinition>
<colorDefinition
id="org.eclipse.egit.ui.IgnoredResourceForegroundColor"
categoryId="org.eclipse.egit.ui.GitTheme"
label="%Theme_IgnoredResourceForegroundColor_label"
value="COLOR_LIST_FOREGROUND">
<description>
%Theme_IgnoredResourceForegroundColor_description
</description>
</colorDefinition>
<colorDefinition
id="org.eclipse.egit.ui.IgnoredResourceBackgroundColor"
categoryId="org.eclipse.egit.ui.GitTheme"
label="%Theme_IgnoredResourceBackgroundColor_label"
value="COLOR_LIST_BACKGROUND">
<description>
%Theme_IgnoredResourceBackgroundColor_description
</description>
</colorDefinition>
<fontDefinition
categoryId="org.eclipse.egit.ui.GitTheme"
id="org.eclipse.egit.ui.IgnoredResourceFont"
label="%Theme_IgnoredResourceFont_label">
<description>
%Theme_IgnoredResourceFont_description
</description>
</fontDefinition>
</extension>
<!-- ********** QuickDiff text editor support ************** -->
<extension
point="org.eclipse.ui.workbench.texteditor.quickDiffReferenceProvider">
<referenceprovider
label="%GitRemoteQuickDiffProvider_label"
class="org.eclipse.egit.ui.internal.decorators.GitQuickDiffProvider"
id="org.eclipse.egit.ui.internal.decorators.GitQuickDiffProvider">
</referenceprovider>
</extension>
<extension
point="org.eclipse.ui.actionSets">
<actionSet
description="%GitActions_description"
id="org.eclipse.egit.ui.gitaction"
label="%GitActions_label"
visible="false">
<menu
id="org.eclipse.egit.ui.gitmenu"
label="%GitMenu_label"
path="additions">
<separator name="repositoryGroup" />
</menu>
<action
class="org.eclipse.egit.ui.internal.actions.PullFromUpstreamConfigAction"
definitionId="org.eclipse.egit.ui.team.Pull"
icon="icons/obj16/pull.png"
id="org.eclipse.egit.ui.actionpull"
label="%PullIntoCurrentBranchMenuLabel"
menubarPath="org.eclipse.egit.ui.gitmenu/repo"
style="push"
toolbarPath="org.eclipse.egit.ui"
tooltip="%PullIntoCurrentBranch.tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.PullWithOptionsAction"
definitionId="org.eclipse.egit.ui.team.PullWithOptions"
icon="icons/obj16/pull_with_options.png"
id="org.eclipse.egit.ui.actionpullwithoptions"
label="%PullWithOptions.name"
menubarPath="org.eclipse.egit.ui.gitmenu/repo"
style="push"
toolbarPath="org.eclipse.egit.ui"
tooltip="%PullWithOptions.tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.SimpleFetchAction"
definitionId="org.eclipse.egit.ui.team.SimpleFetch"
icon="icons/obj16/fetch.png"
id="org.eclipse.egit.ui.actionfetch"
label="%FetchFromUpstreamAction.label"
menubarPath="org.eclipse.egit.ui.gitmenu/repo"
style="push"
toolbarPath="org.eclipse.egit.ui"
tooltip="%FetchAction_tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.PushUpstreamOrBranchAction"
definitionId="org.eclipse.egit.ui.team.SimplePush"
icon="icons/obj16/push.png"
id="org.eclipse.egit.ui.actionpush"
label="%PushToUpstreamAction.label"
menubarPath="org.eclipse.egit.ui.gitmenu/repo"
style="push"
toolbarPath="org.eclipse.egit.ui"
tooltip="%PushToUpstreamAction.tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.ResetAction"
definitionId="org.eclipse.egit.ui.team.Reset"
icon="icons/obj16/reset.png"
id="org.eclipse.egit.ui.actionreset"
label="%ResetAction_label"
menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
style="push"
toolbarPath="Normal/additions"
tooltip="%ResetAction_tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.MergeAction"
definitionId="org.eclipse.egit.ui.team.Merge"
icon="icons/obj16/merge.png"
id="org.eclipse.egit.ui.actionmerge"
label="%MergeAction_label"
menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
style="push"
toolbarPath="Normal/additions"
tooltip="%MergeAction_tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.RebaseAction"
definitionId="org.eclipse.egit.ui.team.Rebase"
icon="icons/obj16/rebase.png"
id="org.eclipse.egit.ui.actionrebase"
label="%RebaseAction_label"
style="pulldown"
toolbarPath="Normal/additions"
tooltip="%RebaseAction_tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.BranchAction"
definitionId="org.eclipse.egit.ui.team.Branch"
icon="icons/obj16/branch_obj.png"
id="org.eclipse.egit.ui.actionbranch"
label="%BranchAction_label"
menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
style="push"
toolbarPath="Normal/additions"
tooltip="%BranchAction_tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.StashToolbarAction"
definitionId="org.eclipse.egit.ui.team.stash.create"
icon="icons/obj16/stash.png"
id="org.eclipse.egit.ui.actionstash"
label="%StashToolbarAction_label"
style="pulldown"
toolbarPath="Normal/additions"
tooltip="%StashToolbarAction_tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.CommitAction"
definitionId="org.eclipse.egit.ui.team.Commit"
icon="icons/obj16/commit.png"
id="org.eclipse.egit.ui.actioncommit"
label="%CommitAction_label"
menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
style="push"
toolbarPath="Normal/additions"
tooltip="%CommitAction_tooltip">
</action>
<action
class="org.eclipse.egit.ui.internal.actions.AddToIndexAction"
definitionId="org.eclipse.egit.ui.team.AddToIndex"
icon="icons/obj16/add.png"
id="org.eclipse.egit.ui.actionadd"
label="%AddToIndexAction_label"
menubarPath="org.eclipse.egit.ui.gitmenu/repositoryGroup"
style="push"
toolbarPath="Normal/additions"
tooltip="%AddToIndexAction_tooltip">
</action>
</actionSet>
</extension>
<extension
name="%SharedCommandsLabel"
point="org.eclipse.ui.commands">
<command
defaultHandler="org.eclipse.egit.ui.internal.commands.ShareSingleProjectCommand"
description="%ShareProjectCommand_desc"
id="org.eclipse.egit.ui.command.shareProject"
name="%ShareProjectCommand_name">
<commandParameter
id="org.eclipse.egit.ui.command.projectNameParameter"
name="%ShareProjectCommandParameter_name"
optional="false"
values="org.eclipse.egit.ui.internal.commands.ProjectNameParameterValues">
</commandParameter>
</command>
<category
id="org.eclipse.egit.ui.commandCategory"
name="%Git">
</category>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.commands.ConfigureDebugTraceCommand"
id="org.eclipse.egit.ui.command.configureTrace"
name="%ConfigureTraceCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.commands.shared.FetchChangeFromGerritCommand"
id="org.eclipse.egit.ui.FetchGerritChange"
name="%FetchFromGerritCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Commit"
name="%CommitCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.SimpleFetch"
name="%FetchUpstreamCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.SimplePush"
name="%PushUpstreamCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Pull"
name="%TeamPullCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.PullWithOptions"
name="%PullWithOptions.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Fetch"
name="%FetchCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Push"
name="%PushCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.PushBranch"
name="%PushBranchCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.PushTags"
name="%PushTagsCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Merge"
name="%MergeCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Synchronize"
name="%SynchronizeCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.ShowHistory"
name="%ShowInHistoryCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.OpenCommit"
name="%OpenCommit.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Reset"
name="%ResetCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Rebase"
name="%RebaseCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.ShowBlame"
name="%ShowBlameCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.commands.shared.PushHeadToGerritCommand"
id="org.eclipse.egit.ui.PushHeadToGerrit"
name="%PushToGerritCommand.label">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.GarbageCollect"
name="%GarbageCollectCommand.label">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Disconnect"
name="%DisconnectCommand.name">
</command>
</extension>
<extension
point="org.eclipse.ui.handlers">
<handler
commandId="org.eclipse.egit.ui.internal.reflog.CheckoutCommand">
<class
class="org.eclipse.egit.ui.internal.reflog.command.CheckoutHandler">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate>
<adapt
type="org.eclipse.jgit.lib.ReflogEntry">
</adapt>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.internal.reflog.OpenInCommitViewerCommand">
<class
class="org.eclipse.egit.ui.internal.reflog.command.OpenInCommitViewerHandler">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate>
<adapt
type="org.eclipse.jgit.lib.ReflogEntry">
</adapt>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.Reset">
<class
class="org.eclipse.egit.ui.internal.reflog.command.ResetHandler">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate>
<adapt
type="org.eclipse.jgit.lib.ReflogEntry">
</adapt>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Commit">
<class
class="org.eclipse.egit.ui.internal.actions.CommitActionHandler">
</class>
<activeWhen>
<or>
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
<and>
<count
value="1">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
</instanceof>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
</and>
</iterate>
</and>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.SimpleFetch">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.FetchConfiguredRemoteCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<and>
<iterate>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
</or>
</iterate>
</and>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.SimpleFetch">
<class
class="org.eclipse.egit.ui.internal.actions.SimpleFetchActionHandler">
</class>
<activeWhen>
<test
property="GitSelection.resourcesSingleRepository">
</test>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.SimplePush">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.PushConfiguredRemoteCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<and>
<iterate>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
</or>
</iterate>
</and>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.SimplePush">
<class
class="org.eclipse.egit.ui.internal.actions.SimplePushActionHandler">
</class>
<activeWhen>
<test
property="GitSelection.resourcesSingleRepository">
</test>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Pull">
<class
class="org.eclipse.egit.ui.internal.actions.PullFromUpstreamActionHandler">
</class>
<activeWhen>
<or>
<test
property="GitSelection.resourcesAllInRepository">
</test>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
</instanceof>
</iterate>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.PullWithOptions">
<class
class="org.eclipse.egit.ui.internal.actions.PullWithOptionsActionHandler">
</class>
<activeWhen>
<or>
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
<and>
<count
value="1">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
</instanceof>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
</and>
</iterate>
</and>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Fetch">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.FetchCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<and>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Fetch">
<class
class="org.eclipse.egit.ui.internal.actions.FetchActionHandler">
</class>
<activeWhen>
<test
property="GitSelection.projectsSingleRepository">
</test>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Push">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.PushCommand">
</class>
<activeWhen>
<or>
<and>
<count
value="1">
</count>
<iterate>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</or>
</iterate>
</and>
<and>
<count
value="+">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
</instanceof>
</iterate>
</and>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Push">
<class
class="org.eclipse.egit.ui.internal.actions.PushActionHandler">
</class>
<activeWhen>
<test
property="GitSelection.projectsSingleRepository">
</test>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.PushBranch">
<class
class="org.eclipse.egit.ui.internal.actions.PushBranchActionHandler">
</class>
<activeWhen>
<or>
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.PushTags">
<class
class="org.eclipse.egit.ui.internal.actions.PushTagsActionHandler">
</class>
<activeWhen>
<or>
<test
property="GitSelection.projectsSingleRepository">
</test>
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagsNode">
</instanceof>
</iterate>
</and>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Merge">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.MergeCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<and>
<iterate>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</or>
</iterate>
</and>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.egit.ui.internal.repository.tree.command.AddToIndexCommand"
commandId="org.eclipse.egit.ui.team.AddToIndex">
<activeWhen>
<and>
<count
value="+">
</count>
<iterate
ifEmpty="false"
operator="and">
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
</instanceof>
</or>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.edit.delete">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteFileCommand">
</class>
<activeWhen>
<and>
<count
value="+">
</count>
<iterate
ifEmpty="false"
operator="and">
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
</instanceof>
</or>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.edit.delete">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveOrDeleteRepositoryCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.edit.delete">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteBranchCommand">
</class>
<activeWhen>
<and>
<count
value="+">
</count>
<iterate>
<and>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.BranchHierarchyNode">
</instanceof>
<test
property="GitRepository.isLocalBranch">
</test>
</or>
<not>
<test
property="GitRepository.isRefCheckedOut">
</test>
</not>
</and>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.edit.delete">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveRemoteCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.edit.delete">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteFetchCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
</instanceof>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.edit.delete">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.DeletePushCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
</instanceof>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewConfigureBranch">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureBranchCommand">
</class>
<activeWhen>
<reference
definitionId="org.eclipse.egit.ui.singleRefNode">
</reference>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewConfigureFetch">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureFetchCommand">
</class>
<activeWhen>
<reference
definitionId="org.eclipse.egit.ui.repositoriesViewCanConfigureFetch">
</reference>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewConfigurePush">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigurePushCommand">
</class>
<activeWhen>
<reference
definitionId="org.eclipse.egit.ui.repositoriesViewCanConfigurePush">
</reference>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewChangeCredentials">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.ChangeCredentialsCommand">
</class>
<activeWhen>
<reference
definitionId="org.eclipse.egit.ui.repositoryTreePushFetchNode">
</reference>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewClearCredentials">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.ClearCredentialsCommand">
</class>
<activeWhen>
<reference
definitionId="org.eclipse.egit.ui.repositoryTreePushFetchNode">
</reference>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.edit.delete">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteTagCommand">
</class>
<activeWhen>
<and>
<count
value="+">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
</instanceof>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Merge">
<class
class="org.eclipse.egit.ui.internal.actions.MergeActionHandler">
</class>
<activeWhen>
<test
property="GitSelection.projectsSingleRepository">
</test>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Rebase">
<class
class="org.eclipse.egit.ui.internal.commands.shared.RebaseCurrentRefCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<and>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
</instanceof>
</iterate>
</and>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Rebase">
<class
class="org.eclipse.egit.ui.internal.actions.RebaseActionHandler">
</class>
<activeWhen>
<test
property="GitSelection.projectsSingleRepository">
</test>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Synchronize">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.SynchronizeCommand">
</class>
<activeWhen>
<or>
<and>
<count
value="1">
</count>
<and>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
</instanceof>
</iterate>
</and>
</and>
<and>
<count
value="2">
</count>
<iterate>
<and>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
</or>
</and>
</iterate>
</and>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.ShowHistory">
<class
class="org.eclipse.egit.ui.internal.actions.ShowHistoryActionHandler">
</class>
<activeWhen>
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Reset">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.ResetCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<and>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
</instanceof>
</iterate>
</and>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Reset">
<class
class="org.eclipse.egit.ui.internal.actions.ResetActionHandler">
</class>
<activeWhen>
<test
property="GitSelection.projectsSingleRepository">
</test>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.file.refresh">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.RefreshCommand">
</class>
<activeWhen>
<with
variable="activePartId">
<equals
value="org.eclipse.egit.ui.RepositoriesView">
</equals>
</with>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewRemoveRemote">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveRemoteCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureGerritRemoteCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewCopyPath">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.CopyPathCommand">
</class>
<activeWhen>
<reference
definitionId="org.eclipse.egit.ui.repositoryTreePathNode">
</reference>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.edit.rename">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.RenameBranchCommand">
</class>
<activeWhen>
<reference
definitionId="org.eclipse.egit.ui.singleRefNode">
</reference>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.RenameBranch"
class="org.eclipse.egit.ui.internal.actions.RenameBranchActionHandler">
<activeWhen>
<test property="GitSelection.projectsSingleRepository" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.edit.rename"
class="org.eclipse.egit.ui.internal.history.command.RenameBranchOnCommitHandler">
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.hasRef" args="refs/heads/,refs/remotes" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.submodule.update">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.SubmoduleUpdateCommand">
</class>
<activeWhen>
<and>
<count
value="+">
</count>
<iterate>
<or>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<test
property="GitRepository.isSubmodule">
</test>
</and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
</instanceof>
</or>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.submodule.sync">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.SubmoduleSyncCommand">
</class>
<activeWhen>
<and>
<count
value="+">
</count>
<iterate>
<or>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<test
property="GitRepository.isSubmodule">
</test>
</and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
</instanceof>
</or>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.submodule.add">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.SubmoduleAddCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate>
<or>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<not>
<test
property="GitRepository.isSubmodule">
</test>
</not>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
</and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
</instanceof>
</or>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.stash.apply">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.StashApplyCommand">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode">
</instanceof>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
<test
property="GitRepository.isSafe">
</test>
</and>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.ui.edit.delete">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.StashDropCommand">
</class>
<activeWhen>
<and>
<count
value="+">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode">
</instanceof>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
<test
property="GitRepository.isSafe">
</test>
</and>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand">
<class
class="org.eclipse.egit.ui.internal.reflog.command.CopyHandler">
</class>
<activeWhen>
<and>
<count
value="1">
</count>
<iterate>
<adapt
type="org.eclipse.jgit.lib.ReflogEntry">
</adapt>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.GarbageCollect">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.GarbageCollectCommand">
</class>
<activeWhen>
<and>
<count
value="+">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<test
property="GitRepository.isSafe">
</test>
<test
property="GitRepository.containsHead">
</test>
</and>
</iterate>
</and>
</activeWhen>
</handler>
<handler
class="org.eclipse.egit.ui.internal.actions.UntrackActionHandler"
commandId="org.eclipse.egit.ui.team.Untrack">
<activeWhen>
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
</activeWhen>
</handler>
<handler
class="org.eclipse.egit.ui.internal.actions.DisconnectActionHandler"
commandId="org.eclipse.egit.ui.team.Disconnect">
<activeWhen>
<test
property="GitSelection.projectsWithRepositories">
</test>
</activeWhen>
</handler>
<handler
class="org.eclipse.egit.ui.internal.actions.ShowBlameActionHandler"
commandId="org.eclipse.egit.ui.team.ShowBlame">
<activeWhen>
<or>
<and>
<count value="1" />
<iterate>
<adapt type="org.eclipse.core.resources.IResource">
<instanceof value="org.eclipse.core.resources.IFile" />
<test property="GitResource.isShared" />
</adapt>
</iterate>
</and>
<with variable="activePart">
<instanceof value="org.eclipse.ui.IEditorPart" />
<with variable="activeEditorInput">
<or>
<adapt type="org.eclipse.core.resources.IFile">
<test property="GitResource.isShared" />
</adapt>
<adapt type="org.eclipse.team.core.history.IFileRevision">
<instanceof value="org.eclipse.egit.core.internal.storage.CommitFileRevision" />
</adapt>
</or>
</with>
</with>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.CompareWithHead">
<class
class="org.eclipse.egit.ui.internal.actions.CompareWithHeadActionHandler">
</class>
<activeWhen>
<and>
<test property="GitSelection.selectionSingleRepository" />
<test property="org.eclipse.egit.ui.resources.ResourceState.hasNotIgnoredResources" />
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.CompareWithIndex">
<class
class="org.eclipse.egit.ui.internal.actions.CompareWithIndexActionHandler">
</class>
<activeWhen>
<and>
<test property="GitSelection.selectionSingleRepository" />
<test property="org.eclipse.egit.ui.resources.ResourceState.hasNotIgnoredResources" />
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.CompareIndexWithHead">
<class
class="org.eclipse.egit.ui.internal.actions.CompareIndexWithHeadActionHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<test property="org.eclipse.egit.ui.resources.ResourceState.hasStagedChanges" />
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.CompareWithPrevious">
<class
class="org.eclipse.egit.ui.internal.actions.CompareWithPreviousActionHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<test property="org.eclipse.egit.ui.resources.ResourceState.hasTrackedResources" />
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.CompareWithCommit">
<class
class="org.eclipse.egit.ui.internal.actions.CompareWithCommitActionHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.resourcesSingleRepository" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.CompareWithRef">
<class
class="org.eclipse.egit.ui.internal.actions.CompareWithRefActionHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.resourcesSingleRepository" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.ReplaceWithPrevious">
<class
class="org.eclipse.egit.ui.internal.actions.ReplaceWithPreviousActionHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<test property="GitSelection.resourcesSingleRepository" args="isSafe" />
<test property="org.eclipse.egit.ui.resources.ResourceState.hasTrackedResources" />
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.Discard">
<class
class="org.eclipse.egit.ui.internal.actions.DiscardChangesActionHandler">
</class>
<activeWhen>
<test property="GitSelection.resourcesAllInRepository" args="isSafe" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.ReplaceWithHead">
<class
class="org.eclipse.egit.ui.internal.actions.ReplaceWithHeadActionHandler">
</class>
<activeWhen>
<test property="GitSelection.resourcesAllInRepository" args="isSafe" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.ReplaceWithCommit">
<class
class="org.eclipse.egit.ui.internal.actions.ReplaceWithCommitActionHandler">
</class>
<activeWhen>
<test property="GitSelection.resourcesSingleRepository" args="isSafe" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.ReplaceWithRef">
<class
class="org.eclipse.egit.ui.internal.actions.ReplaceWithRefActionHandler">
</class>
<activeWhen>
<test property="GitSelection.resourcesSingleRepository" args="isSafe" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewImportProjects">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.ImportProjectsCommand">
</class>
<activeWhen>
<or>
<and>
<count
value="1">
</count>
<iterate>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
</instanceof>
</or>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
</iterate>
</and>
<and>
<count
value="+">
</count>
<iterate>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
</instanceof>
</or>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
</iterate>
</and>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewCreateBranch">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.CreateBranchCommand">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<or>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode" />
</or>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewNewRemote">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.ConfigureRemoteCommand">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RemotesNode" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewOpenInEditor">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.OpenInEditorCommand">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewOpen">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.OpenCommand">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<or>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" />
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode" />
</or>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesLinkWithSelection">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.LinkWithSelectionCommand">
</class>
<activeWhen>
<with variable="activePart">
<instanceof value="org.eclipse.egit.ui.internal.repository.RepositoriesView" />
</with>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewRemove">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveCommand">
</class>
<activeWhen>
<iterate ifEmpty="false">
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
</iterate>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RepositoriesViewDelete">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteCommand">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.CheckoutCommand">
<class
class="org.eclipse.egit.ui.internal.repository.tree.command.CheckoutCommand">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<or>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" />
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" />
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.AdditionalRefNode" />
</or>
<not>
<test property="GitRepository.isRefCheckedOut" />
</not>
<not>
<test property="GitRepository.isBare" />
</not>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.ImportChangedProjectsCommandId">
<class
class="org.eclipse.egit.ui.internal.history.command.ImportChangedProjectsCommand">
</class>
<activeWhen>
<iterate ifEmpty="false">
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.CheckoutCommand">
<class
class="org.eclipse.egit.ui.internal.history.command.CheckoutCommitHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.canCommit" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.commit.Checkout">
<class
class="org.eclipse.egit.ui.internal.commit.command.CheckoutHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.singleRepositoryCommit" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.commit.CreateTag">
<class
class="org.eclipse.egit.ui.internal.commit.command.CreateTagHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.singleRepositoryCommit" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.commit.CreateBranch">
<class
class="org.eclipse.egit.ui.internal.commit.command.CreateBranchHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.singleRepositoryCommit" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.commit.ShowInHistory">
<class
class="org.eclipse.egit.ui.internal.commit.command.ShowInHistoryHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.singleRepositoryCommit" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.commit.CherryPick">
<class
class="org.eclipse.egit.ui.internal.commit.command.CherryPickHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.singleRepositoryCommit" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.commit.Revert">
<class
class="org.eclipse.egit.ui.internal.commit.command.RevertHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.singleRepositoryCommit" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.commit.StashApply">
<class
class="org.eclipse.egit.ui.internal.commit.command.StashApplyHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.singleRepositoryCommit" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.commit.StashDrop">
<class
class="org.eclipse.egit.ui.internal.commit.command.StashDropHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.singleRepositoryCommit" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.AbortRebase">
<class
class="org.eclipse.egit.ui.internal.commands.shared.AbortRebaseCommand">
</class>
<activeWhen>
<or>
<and>
<count value="1" />
<iterate>
<and>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
<test property="GitRepository.canAbortRebase" />
</and>
</iterate>
</and>
<test
property="GitSelection.projectsSingleRepository"
args="canAbortRebase">
</test>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.ContinueRebase">
<class
class="org.eclipse.egit.ui.internal.commands.shared.ContinueRebaseCommand">
</class>
<activeWhen>
<or>
<and>
<count value="1" />
<iterate>
<and>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
<test property="GitRepository.canContinueRebase" />
</and>
</iterate>
</and>
<test
property="GitSelection.projectsSingleRepository"
args="canContinueRebase">
</test>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.SkipRebase">
<class
class="org.eclipse.egit.ui.internal.commands.shared.SkipRebaseCommand">
</class>
<activeWhen>
<or>
<and>
<count value="1" />
<iterate>
<and>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
<test property="GitRepository.canAbortRebase" />
</and>
</iterate>
</and>
<test
property="GitSelection.projectsSingleRepository"
args="canAbortRebase">
</test>
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.team.clean">
<class
class="org.eclipse.egit.ui.internal.actions.CleanActionHandler">
</class>
<activeWhen>
<or>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
<not>
<test property="GitRepository.isBare" />
</not>
</iterate>
</and>
<test property="GitSelection.projectsSingleRepository" />
</or>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand">
<class
class="org.eclipse.egit.ui.internal.history.command.OpenInCommitViewerHandler">
</class>
<activeWhen>
<iterate operator="or" ifEmpty="false">
<adapt type="org.eclipse.egit.core.internal.IRepositoryCommit" />
</iterate>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.CompareWithWorkingTree">
<class
class="org.eclipse.egit.ui.internal.history.command.CompareWithWorkingTreeHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<adapt type="org.eclipse.egit.core.internal.IRepositoryCommit" />
</iterate>
<with variable="activePart">
<test property="GitHistory.isSingleFileHistory" value="resource" />
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.CompareWithHead">
<class
class="org.eclipse.egit.ui.internal.history.command.CompareWithWorkingTreeHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<adapt type="org.eclipse.egit.core.internal.IRepositoryCommit" />
</iterate>
<with variable="activePart">
<test property="GitHistory.isSingleFileHistory" value="file" />
</with>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.ShowVersions">
<class
class="org.eclipse.egit.ui.internal.history.command.ShowVersionsHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.ShowBlame">
<class
class="org.eclipse.egit.ui.internal.history.command.ShowBlameHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.singleFileCommit" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.OpenInTextEditorCommand">
<class
class="org.eclipse.egit.ui.internal.history.command.OpenInTextEditorHandler">
</class>
<activeWhen>
<reference definitionId="org.eclipse.egit.ui.singleFileCommit" />
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.PushCommit">
<class
class="org.eclipse.egit.ui.internal.history.command.PushCommitHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.CreateBranch">
<class
class="org.eclipse.egit.ui.internal.history.command.CreateBranchOnCommitHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<adapt type="org.eclipse.egit.core.internal.IRepositoryCommit" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.DeleteBranch">
<class
class="org.eclipse.egit.ui.internal.history.command.DeleteBranchOnCommitHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
<test property="Git.hasRef" args="refs/heads/,refs/remotes/" />
</adapt>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.CreateTag">
<class
class="org.eclipse.egit.ui.internal.history.command.CreateTagOnCommitHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<adapt type="org.eclipse.egit.core.internal.IRepositoryCommit" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.DeleteTag">
<class
class="org.eclipse.egit.ui.internal.history.command.DeleteTagOnCommitHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
<test property="Git.hasRef" args="refs/tags/" />
</adapt>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.CreatePatch">
<class
class="org.eclipse.egit.ui.internal.history.command.CreatePatchHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<adapt type="org.eclipse.egit.core.internal.IRepositoryCommit">
<or>
<test property="Git.parentCount" value="1" />
<test property="Git.parentCount" value="0" />
</or>
</adapt>
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.CherryPick">
<class
class="org.eclipse.egit.ui.internal.history.command.CherryPickHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.isSafe" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.Merge">
<class
class="org.eclipse.egit.ui.internal.history.command.MergeHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.isSafe" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RebaseCurrent">
<class
class="org.eclipse.egit.ui.internal.history.command.RebaseCurrentHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.isSafe" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.RebaseInteractiveCurrent">
<class
class="org.eclipse.egit.ui.internal.history.command.RebaseInteractiveCurrentHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.isSafe" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.Reset">
<class
class="org.eclipse.egit.ui.internal.history.command.ResetHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.Revert">
<class
class="org.eclipse.egit.ui.internal.history.command.RevertHandler">
</class>
<activeWhen>
<iterate ifEmpty="false">
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.isBare" value="false" />
</iterate>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.SetQuickdiffBaseline">
<class
class="org.eclipse.egit.ui.internal.history.command.SetQuickdiffBaselineHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.ResetQuickdiffBaseline">
<class
class="org.eclipse.egit.ui.internal.history.command.ResetQuickdiffBaselineHandler">
</class>
<activeWhen>
<iterate ifEmpty="false">
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.Reword">
<class
class="org.eclipse.egit.ui.internal.history.command.RewordHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.isSafe" />
<test property="Git.parentCount" value="1" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.Edit">
<class
class="org.eclipse.egit.ui.internal.history.command.EditHandler">
</class>
<activeWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.isSafe" />
<test property="Git.parentCount" value="1" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.Squash">
<class
class="org.eclipse.egit.ui.internal.history.command.SquashHandler">
</class>
<activeWhen>
<and>
<not>
<count value="1" />
</not>
<iterate ifEmpty="false">
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.isSafe" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.CompareVersions">
<class
class="org.eclipse.egit.ui.internal.history.command.CompareVersionsHandler">
</class>
<activeWhen>
<and>
<count value="2" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
</and>
</activeWhen>
</handler>
<handler
commandId="org.eclipse.egit.ui.history.CompareVersionsInTree">
<class
class="org.eclipse.egit.ui.internal.history.command.CompareVersionsInTreeHandler">
</class>
<activeWhen>
<and>
<count value="2" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
<with variable="activePart">
<test property="GitHistory.isSingleFileHistory" value="false" />
</with>
</and>
</activeWhen>
</handler>
</extension>
<extension
point="org.eclipse.ui.views">
<view
category="org.eclipse.egit.ui.GitCategory"
class="org.eclipse.egit.ui.internal.repository.RepositoriesView"
icon="icons/eview16/repo_rep.png"
id="org.eclipse.egit.ui.RepositoriesView"
name="%GitRepositoriesView_name"
restorable="true">
</view>
<view
category="org.eclipse.egit.ui.GitCategory"
class="org.eclipse.egit.ui.internal.staging.StagingView"
icon="icons/eview16/staging.png"
id="org.eclipse.egit.ui.StagingView"
name="%GitStagingView_name">
</view>
<view
category="org.eclipse.egit.ui.GitCategory"
class="org.eclipse.egit.ui.internal.rebase.RebaseInteractiveView"
icon="icons/eview16/rebase_interactive.png"
id="org.eclipse.egit.ui.InteractiveRebaseView"
name="%GitInteractiveRebaseView_name">
</view>
<category
id="org.eclipse.egit.ui.GitCategory"
name="%GitCategory_name">
</category>
<view
category="org.eclipse.egit.ui.GitCategory"
class="org.eclipse.egit.ui.internal.dialogs.CompareTreeView"
icon="icons/obj16/gitrepository.png"
id="org.eclipse.egit.ui.CompareTreeView"
name="%TreeCompareView.name"
restorable="false">
</view>
<view
allowMultiple="false"
category="org.eclipse.egit.ui.GitCategory"
class="org.eclipse.egit.ui.internal.reflog.ReflogView"
icon="icons/eview16/reflog.png"
id="org.eclipse.egit.ui.ReflogView"
name="%ReflogView">
</view>
</extension>
<extension
point="org.eclipse.ui.perspectives">
<perspective
class="org.eclipse.egit.ui.GitRepositoriesPerspectiveFactory"
icon="icons/obj16/gitrepository.png"
id="org.eclipse.egit.ui.GitRepositoryExploring"
name="%GitRepositoryPerspective_name">
</perspective>
</extension>
<extension
point="org.eclipse.ui.perspectiveExtensions">
<perspectiveExtension
targetID="org.eclipse.ui.resourcePerspective">
<showInPart
id="org.eclipse.egit.ui.RepositoriesView">
</showInPart>
</perspectiveExtension>
<perspectiveExtension
targetID="org.eclipse.jdt.ui.JavaPerspective">
<showInPart
id="org.eclipse.egit.ui.RepositoriesView">
</showInPart>
<view
id="org.eclipse.egit.ui.RepositoriesView"
minimized="false"
ratio="0.6"
relationship="bottom"
relative="org.eclipse.jdt.ui.PackageExplorer"
visible="false">
</view>
</perspectiveExtension>
<perspectiveExtension
targetID="org.eclipse.debug.ui.DebugPerspective">
<showInPart
id="org.eclipse.egit.ui.RepositoriesView">
</showInPart>
</perspectiveExtension>
<perspectiveExtension
targetID="org.eclipse.pde.ui.PDEPerspective">
<showInPart
id="org.eclipse.egit.ui.RepositoriesView">
</showInPart>
<view
id="org.eclipse.egit.ui.RepositoriesView"
minimized="false"
ratio="0.6"
relationship="bottom"
relative="org.eclipse.jdt.ui.PackageExplorer"
visible="false">
</view>
</perspectiveExtension>
</extension>
<extension
point="org.eclipse.ui.navigator.navigatorContent">
<navigatorContent
contentProvider="org.eclipse.egit.ui.internal.repository.RepositoriesViewContentProvider"
icon="icons/obj16/repository_rep.png"
id="org.eclipse.egit.ui.RepositoriesViewContent"
labelProvider="org.eclipse.egit.ui.internal.repository.RepositoriesViewLabelProvider"
name="%GitRepositoriesContentName">
<enablement>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
</instanceof>
<instanceof
value="org.eclipse.core.resources.IWorkspaceRoot">
</instanceof>
</or>
</enablement>
<commonSorter
class="org.eclipse.egit.ui.internal.repository.tree.RepositoriesViewSorter">
</commonSorter>
<dropAssistant
class="org.eclipse.egit.ui.internal.repository.DropAdapterAssistant"
id="org.eclipse.egit.ui.repositoriesView.dropAssistant">
<possibleDropTargets>
<instanceof
value="org.eclipse.core.resources.IWorkspaceRoot">
</instanceof></possibleDropTargets>
</dropAssistant>
<actionProvider
class="org.eclipse.egit.ui.internal.repository.RepositoriesViewActionProvider">
</actionProvider>
</navigatorContent>
</extension>
<extension
point="org.eclipse.ui.navigator.viewer">
<viewer
viewerId="org.eclipse.egit.ui.RepositoriesView">
<options>
<!-- Hide the "Available Customizations" dialog completely. This includes hiding the
filters and the available content extensions. -->
<property
name="org.eclipse.ui.navigator.hideAvailableCustomizationsDialog"
value="true"/>
<!-- Hide the "Link with Editor" action from the toolbar of the viewer -->
<property
name="org.eclipse.ui.navigator.hideLinkWithEditorAction"
value="true"/>
</options>
<popupMenu>
<insertionPoint
name="branch"
separator="true">
</insertionPoint>
<insertionPoint
name="remotes"
separator="true">
</insertionPoint>
<insertionPoint
name="tag"
separator="true">
</insertionPoint>
<insertionPoint
name="remote"
separator="true">
</insertionPoint>
<insertionPoint
name="repo-0"
separator="true">
</insertionPoint>
<insertionPoint
name="repo-1"
separator="true">
</insertionPoint>
<insertionPoint
name="repo-commit"
separator="true">
</insertionPoint>
<insertionPoint
name="repo-2"
separator="true">
</insertionPoint>
<insertionPoint
name="repo-3"
separator="true">
</insertionPoint>
<insertionPoint
name="group.open"
separator="true">
</insertionPoint>
<insertionPoint
name="group.show"
separator="false">
</insertionPoint>
<insertionPoint
name="repo-4"
separator="true">
</insertionPoint>
<insertionPoint
name="repo-5"
separator="true">
</insertionPoint>
<insertionPoint
name="repo-6"
separator="true">
</insertionPoint>
<insertionPoint
name="group.properties"
separator="true">
</insertionPoint>
</popupMenu>
</viewer>
<viewerContentBinding
viewerId="org.eclipse.egit.ui.RepositoriesView">
<includes>
<contentExtension
pattern="org.eclipse.egit.ui.RepositoriesViewContent">
</contentExtension>
<contentExtension
pattern="org.eclipse.egit.ui.RepositoriesViewLinkHelper">
</contentExtension>
</includes>
</viewerContentBinding>
<dragAssistant
viewerId="org.eclipse.egit.ui.RepositoriesView"
class="org.eclipse.egit.ui.internal.repository.RepositoryDragAssistant">
</dragAssistant>
<viewerActionBinding
viewerId="org.eclipse.egit.ui.RepositoriesView">
<includes>
<actionExtension
pattern="org.eclipse.ui.navigator.resources.UndoRedoActionProvider">
</actionExtension>
</includes>
</viewerActionBinding>
</extension>
<extension
point="org.eclipse.ui.menus">
<menuContribution
locationURI="popup:org.eclipse.egit.ui.historyPageContributions?after=history.group">
<command
commandId="org.eclipse.egit.ui.history.CompareWithWorkingTree"
label="%HistoryCompareWithWorkspace.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.CompareWithHead"
label="%HistoryCompareWithHead.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.ShowVersions"
label="%HistoryShowVersions.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.OpenInTextEditorCommand"
label="%HistoryOpenInTextEditorCommand.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.ShowBlame"
label="%HistoryShowBlame.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
label="%HistoryOpenInCommitViewer.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.CompareVersions"
label="%HistoryCompareVersions.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.CompareVersionsInTree"
label="%HistoryCompareVersionsInTree.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<separator name="##Checkout" visible="true" />
<command
commandId="org.eclipse.egit.ui.history.CheckoutCommand"
label="%HistoryCheckoutCommand.label"
style="push">
<visibleWhen>
<and>
<count value="1"/>
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.isBare" value="false" />
<test property="Git.hasMultipleRefs" args="refs/heads/" value="false" />
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.history.CheckoutCommand"
label="%HistoryCheckoutCommand.label2"
style="push">
<visibleWhen>
<and>
<count value="1"/>
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
<test property="Git.isBare" value="false" />
<test property="Git.hasMultipleRefs" args="refs/heads/"/>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.history.PushCommit"
label="%HistoryPushCommit.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<separator name="##Refs" visible="true" />
<command
commandId="org.eclipse.egit.ui.history.CreateBranch"
label="%HistoryCreateBranch.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.DeleteBranch"
label="%HistoryDeleteBranch.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.ui.edit.rename"
icon="icons/obj16/editconfig.png"
label="%HistoryRenameBranch.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.CreateTag"
label="%HistoryCreateTag.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.DeleteTag"
label="%HistoryDeleteTag.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<separator name="##Commits" visible="true" />
<command
commandId="org.eclipse.egit.ui.history.CreatePatch"
label="%HistoryCreatePatch.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.CherryPick"
label="%HistoryCherryPick.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.Merge"
label="%HistoryMerge.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.RebaseCurrent"
label="%HistoryRebaseCurrent.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.RebaseInteractiveCurrent"
label="%HistoryRebaseInteractive.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<separator name="##Reset" visible="true" />
<!-- Reset submenu -->
<menu
icon="icons/obj16/reset.png"
id="org.eclipse.egit.ui.history.resetMenu"
label="%HistoryResetMenu.label">
<visibleWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
</and>
</visibleWhen>
<command
commandId="org.eclipse.egit.ui.history.Reset"
label="%HistoryResetSoft.label"
style="push">
<parameter name="org.eclipse.egit.ui.history.ResetMode" value="SOFT" />
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.Reset"
label="%HistoryResetMixed.label"
style="push">
<parameter name="org.eclipse.egit.ui.history.ResetMode" value="MIXED" />
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.Reset"
label="%HistoryResetHard.label"
style="push">
<parameter name="org.eclipse.egit.ui.history.ResetMode" value="HARD" />
<visibleWhen checkEnabled="true" />
</command>
</menu>
<command
commandId="org.eclipse.egit.ui.history.Revert"
label="%HistoryRevert.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<separator name="##Submenus" visible="true" />
<!-- QuickDiff submenu -->
<menu
id="org.eclipse.egit.ui.history.quickDiff"
label="%HistoryQuickdiffMenu.label">
<visibleWhen>
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
</and>
</visibleWhen>
<command
commandId="org.eclipse.egit.ui.history.SetQuickdiffBaseline"
label="%HistoryQuickdiffSet.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.ResetQuickdiffBaseline"
label="%HistoryResetQuickDiffHead.label"
style="push">
<parameter name="org.eclipse.egit.ui.history.ResetQuickdiffBaselineTarget" value="HEAD" />
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.ResetQuickdiffBaseline"
label="%HistoryResetQuickDiffHeadParent.label"
style="push">
<parameter name="org.eclipse.egit.ui.history.ResetQuickdiffBaselineTarget" value="HEAD^1" />
<visibleWhen checkEnabled="true" />
</command>
</menu>
<!-- Modify submenu -->
<menu
id="org.eclipse.egit.ui.history.modify"
label="%HistoryModifyMenu.label">
<visibleWhen>
<iterate ifEmpty="false" >
<instanceof value="org.eclipse.egit.ui.internal.history.SWTCommit" />
</iterate>
</visibleWhen>
<command
commandId="org.eclipse.egit.ui.history.Reword"
label="%HistoryModifyReword.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.Edit"
label="%HistoryModifyEdit.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.history.Squash"
label="%HistoryModifySquash.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
</menu>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.egit.ui.historyPageContributions?after=additions">
<command
commandId="org.eclipse.egit.ui.ImportChangedProjectsCommandId"
icon="icons/obj16/import_prj.png"
label="%ImportChangedProjects.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.egit.ui.InteractiveRebaseView?after=additions">
<command
commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
label="%RebaseInteractiveOpenInCommitViewer.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.internal.reflogview.popup">
<command
commandId="org.eclipse.egit.ui.internal.reflog.CheckoutCommand"
icon="icons/obj16/checkout.png"
label="%RefLogViewCheckout.label"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.internal.reflog.OpenInCommitViewerCommand"
label="%RefLogViewOpenInCommitViewer.label"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand"
label="%ReflogCopyCommand.label"
style="push">
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=branch">
<command
commandId="org.eclipse.egit.ui.CheckoutCommand"
icon="icons/obj16/checkout.png"
label="%RepoViewCheckout.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.team.Push"
icon="icons/obj16/push.png"
label="%RepoViewPushBranch.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.Push"
icon="icons/obj16/push.png"
label="%RepoViewPushTag.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="+">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewCreateBranch"
icon="icons/obj16/new_branch_obj.png"
label="%RepoViewCreateBranch.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.ui.edit.rename"
icon="icons/obj16/editconfig.png"
label="%RepoViewRenameBranch.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewConfigureBranch"
label="%ConfigurBranchCommand.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.ui.edit.delete"
label="%RepoViewDeleteBranch.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="+">
</count>
<iterate>
<and>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.BranchHierarchyNode">
</instanceof>
<test
property="GitRepository.isLocalBranch">
</test>
</or>
<not>
<test
property="GitRepository.isRefCheckedOut">
</test>
</not>
</and>
</iterate>
</and>
</visibleWhen>
</command>
<separator
name="##Branch-2"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.Merge"
icon="icons/obj16/merge.png"
label="%RepoViewMergeSimple.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<and>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
</or>
<test
property="GitRepository.canMerge">
</test>
<not>
<test
property="GitRepository.isRefCheckedOut">
</test>
</not>
</and>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.ui.edit.delete"
label="%DeleteTagCommand.name"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="+">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.Rebase"
label="%RebaseCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<and>
<test
property="GitRepository.canMerge">
</test>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
<not>
<test
property="GitRepository.isRefCheckedOut">
</test>
</not>
</and>
</and>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.Synchronize"
icon="icons/obj16/synchronize.png"
label="%RepoViewSynchronize.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<and>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
</or>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
</and>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.Synchronize"
icon="icons/obj16/synchronize.png"
label="%RepoViewSynchronizeEachOther.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="2">
</count>
<iterate>
<and>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
</or>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
</and>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=remotes">
<command
commandId="org.eclipse.egit.ui.RepositoriesViewNewRemote"
label="%RepoViewCreateRemote.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.team.SimplePush"
icon="icons/obj16/push.png"
label="%RepoViewPushSimpleLabel"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
</or>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.SimpleFetch"
icon="icons/obj16/fetch.png"
label="%RepoViewFetchSimple.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
</or>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=tag">
<command
commandId="org.eclipse.egit.ui.team.Tag"
icon="icons/obj16/new_tag_obj.png"
label="%RepoViewCreateTag.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagsNode">
</instanceof>
</or>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.PushTags"
label="%PushTagsCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagsNode">
</instanceof>
</or>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=remote">
<command
commandId="org.eclipse.egit.ui.RepositoriesViewConfigureFetch"
icon="icons/obj16/editconfig.png"
label="%RepoViewConfigureFetch.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewConfigurePush"
icon="icons/obj16/editconfig.png"
label="%RepoViewConfigurePush.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewChangeCredentials"
label="%RepoViewChangeCredentialsLabel"
style="push">
<visibleWhen checkEnabled="true"/>
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewClearCredentials"
label="%RepoViewClearCredentialsLabel"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.ui.edit.delete"
label="%RepoViewDeleteFetch.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FetchNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.ui.edit.delete"
label="%RepoViewDeletePush.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.PushNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote"
label="%RepoViewConfigureGerritRemote.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.ui.edit.delete"
label="%RepoViewRemoveRemote.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RemoteNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-0">
<menu
icon="icons/obj16/branches_obj.png"
label="%SwitchToMenu.label">
<dynamic
class="org.eclipse.egit.ui.internal.actions.SwitchToMenu"
id="org.eclipse.egit.ui.switchToMenu">
</dynamic>
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<and>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.BranchesNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.LocalNode">
</instanceof>
</or>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
</and>
</iterate>
</and>
</visibleWhen>
</menu>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-1">
<command
commandId="org.eclipse.egit.ui.team.Commit"
icon="icons/obj16/commit.png"
label="%RepoViewCommit.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<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.clean"
label="%CleanCommand.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<menu
label="%StashesMenu.label">
<dynamic
class="org.eclipse.egit.ui.internal.actions.StashesMenu"
id="org.eclipse.egit.ui.stashedChanges">
</dynamic>
<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.isSubmodule">
</test>
</not>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
<test
property="GitRepository.canStash">
</test>
<test
property="GitRepository.containsHead">
</test>
</and>
</iterate>
</and>
</visibleWhen>
</menu>
<command
commandId="org.eclipse.egit.ui.team.stash.apply"
label="%StashApplyCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode">
</instanceof>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
<test
property="GitRepository.isSafe">
</test>
</and>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.ui.edit.delete"
label="%StashDropCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="+">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode">
</instanceof>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
<test
property="GitRepository.isSafe">
</test>
</and>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-commit">
<command
commandId="org.eclipse.egit.ui.team.SimplePush"
icon="icons/obj16/push.png"
label="%PushToUpstreamCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.SimpleFetch"
icon="icons/obj16/fetch.png"
label="%FetchFromUpstreamCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.PushHeadToGerrit"
label="%PushToGerritMenu.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<test
property="GitRepository.canPushToGerrit">
</test>
</and>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.FetchGerritChange"
label="%FetchFromGerritCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<test
property="GitRepository.canFetchFromGerrit">
</test>
</and>
</iterate>
</and>
</visibleWhen>
</command>
<dynamic
class="org.eclipse.egit.ui.internal.actions.PushMenu"
id="org.eclipse.egit.ui.repository.tree.popup.Push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</dynamic>
<command
commandId="org.eclipse.egit.ui.team.Pull"
icon="icons/obj16/pull.png"
label="%RepoViewPullMenu.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="+">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<test
property="GitRepository.canMerge">
</test>
</and>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.PullWithOptions"
icon="icons/obj16/pull.png"
label="%PullWithOptions.name"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<test
property="GitRepository.canMerge">
</test>
</and>
</iterate>
</and>
</visibleWhen>
</command>
<menu
label="%RemoteSubMenu.label">
<command
commandId="org.eclipse.egit.ui.team.Push"
icon="icons/obj16/push.png"
label="%RepoViewPush.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.PushTags"
label="%PushTagsCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.Fetch"
icon="icons/obj16/fetch.png"
label="%RepoViewFetch.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate
ifEmpty="false"
operator="and">
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
</menu>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-2">
<command
commandId="org.eclipse.egit.ui.team.Merge"
icon="icons/obj16/merge.png"
label="%RepoViewMerge.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<and>
<test
property="GitRepository.canMerge">
</test>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
<test
property="GitRepository.isRefCheckedOut">
</test>
</and>
</or>
</and>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.Rebase"
label="%RebaseCommand.label2"
style="push">
<visibleWhen
checkEnabled="false">
<or>
<and>
<count
value="1">
</count>
<iterate>
<and>
<test
property="GitRepository.canMerge">
</test>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</and>
</iterate>
</and>
<and>
<count
value="1">
</count>
<iterate>
<and>
<test
property="GitRepository.canMerge">
</test>
<test
property="GitRepository.isRefCheckedOut">
</test>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
<test
property="GitRepository.isLocalBranch">
</test>
</and>
</iterate>
</and>
</or>
</visibleWhen>
</command>
<menu
icon="icons/obj16/rebase.png"
label="%RebaseMenu.label">
<command
commandId="org.eclipse.egit.ui.AbortRebase"
label="%AbortCommand.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.ContinueRebase"
label="%ContinueCommand.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.SkipRebase"
label="%SkipCommand.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
</menu>
<command
commandId="org.eclipse.egit.ui.team.Reset"
icon="icons/obj16/reset.png"
label="%RepoViewReset.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<and>
<test
property="GitRepository.canResetHead">
</test>
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RefNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.TagNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</or>
</and>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-3">
<command
commandId="org.eclipse.egit.ui.team.AddToIndex"
icon="/icons/obj16/add.png"
label="%RepoViewAddToIndex.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="+">
</count>
<iterate
ifEmpty="false"
operator="and">
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode">
</instanceof>
</or>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.ui.edit.delete"
label="%RepoViewDeleteFile.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="+">
</count>
<iterate
ifEmpty="false"
operator="and">
<or>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
</instanceof>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FolderNode">
</instanceof>
</or>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewImportProjects"
icon="icons/obj16/import_prj.png"
label="%RepoViewImportProjects.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=group.open">
<command
commandId="org.eclipse.egit.ui.RepositoriesViewOpenInEditor"
label="%RepoViewOpenInEditor.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewOpen"
label="%OpenInCommitViewerCommand.name"
style="push">
<visibleWhen checkEnabled="false">
<and>
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode" />
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-4">
<!-- Use newer flat trash icon when running on Eclipse Photon or newer -->
<command
commandId="org.eclipse.egit.ui.team.GarbageCollect"
label="%GarbageCollectCommand.label"
icon="icons/elcl16/trash_flat.png"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<test property="org.eclipse.egit.ui.BundleProperty.isBundleInstalled" args="org.eclipse.ui,3.109.100" />
<count
value="+">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<!-- Use older trash icon when running on Eclipse Oxygen or older -->
<command
commandId="org.eclipse.egit.ui.team.GarbageCollect"
label="%GarbageCollectCommand.label"
icon="icons/elcl16/trash.png"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<test property="org.eclipse.egit.ui.BundleProperty.isBundleInstalled" args="org.eclipse.ui,3.109.100" value="false" />
<count
value="+">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewRemove"
label="%RepoViewRemove.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewDelete"
label="%RepoViewDeleteRepository.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-5">
<command
commandId="org.eclipse.egit.ui.team.submodule.add"
label="%SubmoduleAddCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<or>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<not>
<test
property="GitRepository.isSubmodule">
</test>
</not>
<not>
<test
property="GitRepository.isBare">
</test>
</not>
</and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
</instanceof>
</or>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.submodule.sync"
label="%SubmoduleSyncCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="+">
</count>
<iterate>
<or>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<test
property="GitRepository.isSubmodule">
</test>
</and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
</instanceof>
</or>
</iterate>
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.submodule.update"
label="%SubmoduleUpdateCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="+">
</count>
<iterate>
<or>
<and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
<test
property="GitRepository.isSubmodule">
</test>
</and>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode">
</instanceof>
</or>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-6">
<command
commandId="org.eclipse.egit.ui.RepositoriesViewCopyPath"
label="%RepoViewCopyPath.label"
style="push">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.repositoryTreePathNode">
</reference>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewPaste"
label="%RepoViewPastePath.label"
style="push">
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=group.properties">
<command
commandId="org.eclipse.ui.file.properties"
style="push">
<visibleWhen
checkEnabled="false">
<and>
<count
value="1">
</count>
<iterate>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode">
</instanceof>
</iterate>
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="toolbar:org.eclipse.egit.ui.RepositoriesView">
<separator
name="org.eclipse.egit.ui.repositoryActions"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
style="push"
tooltip="%RepoViewAddRepository.tooltip">
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewClone"
style="push"
tooltip="%RepoViewCloneRepository.tooltip">
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
style="push"
tooltip="%RepoViewCreateRepository.tooltip">
</command>
<separator
name="org.eclipse.egit.ui.viewActions"
visible="true">
</separator>
<command
commandId="org.eclipse.ui.file.refresh"
icon="icons/obj16/refresh.png"
disabledIcon="icons/obj16/refresh.png"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
style="toggle">
</command>
<separator
name="org.eclipse.egit.ui.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
helpContextId="Hierarchical Branch Representation"
style="toggle"
tooltip="%RepoViewHierarchicalBranchRepresenation.tooltip">
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
style="toggle"
tooltip="%RepoViewBranchCommit.tooltip">
</command>
</menuContribution>
<menuContribution
locationURI="menu:org.eclipse.egit.ui.RepositoriesView">
<command
commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
label="%RepoAddRepositoryViewMenu.label"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewClone"
label="%RepoCloneRepositoryViewMenu.label"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
label="%RepoCreateRepositoryViewMenu.label"
style="push">
</command>
<separator
name="org.eclipse.egit.ui.viewActions"
visible="true">
</separator>
<command
commandId="org.eclipse.ui.file.refresh"
icon="icons/obj16/refresh.png"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
label="%RepoViewLinkWithSelectionMenu.label"
style="toggle">
</command>
<separator
name="org.eclipse.egit.ui.separator2"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
label="%HierarchyLayout.label"
style="toggle">
</command>
<command
commandId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
label="%BranchCommit.label"
style="toggle">
</command>
</menuContribution>
<menuContribution
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<menu
id="team.main"
label="%TeamMenu.label">
<separator
name="group1"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.Commit"
label="%CommitAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
</visibleWhen>
</command>
<menu
id="egit.menu.stashes"
label="%StashesMenu.label">
<dynamic
class="org.eclipse.egit.ui.internal.actions.StashesMenu"
id="org.eclipse.egit.ui.stashedChanges">
</dynamic>
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</menu>
<command
commandId="org.eclipse.egit.ui.team.SimplePush"
label="%PushToUpstreamAction.label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.SimpleFetch"
label="%FetchFromUpstreamAction.label"
mnemonic="f"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</command>
<dynamic
class="org.eclipse.egit.ui.internal.actions.PushMenu"
id="org.eclipse.egit.ui.team.popup.Push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</dynamic>
<command
commandId="org.eclipse.egit.ui.team.Pull"
label="%PullIntoCurrentBranchMenuLabel"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsWithRepositories">
</test>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.PullWithOptions"
label="%PullWithOptions.name"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</command>
<separator
name="org.eclipse.egit.ui.remoteSeparator"
visible="true">
</separator>
<menu
id="egit.menu.remote"
label="%RemoteSubMenu.label">
<command
commandId="org.eclipse.egit.ui.team.Push"
label="%PushAction_label"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.team.PushTags"
label="%PushTagsCommand.label"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.team.Fetch"
label="%FetchAction_label"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.PushHeadToGerrit"
label="%PushToGerritMenu.label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository"
args="canPushToGerrit">
</test>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.FetchGerritChange"
label="%FetchFromGerritCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository"
args="canFetchFromGerrit">
</test>
</visibleWhen>
</command>
<separator
name="org.eclipse.egit.ui.remote.group1"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.ConfigureUpstreamPush"
label="%ConfigurePushToUpstreamCommand.label"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.ConfigureUpstreamFetch"
label="%ConfigureFetchFromUpstreamCommand.label"
style="push">
</command>
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</menu>
<separator
name="org.eclipse.egit.ui.branchSeparator">
</separator>
<menu
id="egit.menu.switch"
label="%SwitchToMenu.label"
icon="icons/obj16/branches_obj.png">
<dynamic
class="org.eclipse.egit.ui.internal.actions.SwitchToMenu"
id="org.eclipse.egit.ui.switchToMenu">
</dynamic>
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</menu>
<separator
name="org.eclipse.egit.ui.AdvancedSeparator">
</separator>
<menu
id="egit.menu.repo"
label="%RepositorySubMenu.label">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.fileOrFolderInRepository">
</reference>
</visibleWhen>
<separator
name="group1"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.SimplePush"
label="%PushToUpstreamAction.label"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.team.SimpleFetch"
label="%FetchFromUpstreamAction.label"
style="push">
</command>
<dynamic
class="org.eclipse.egit.ui.internal.actions.PushMenu"
id="org.eclipse.egit.ui.team.popup.Push">
</dynamic>
<command
commandId="org.eclipse.egit.ui.team.Pull"
label="%RepoViewPullMenu.label"
style="push">
</command>
<command
commandId="org.eclipse.egit.ui.PushHeadToGerrit"
label="%PushToGerritMenu.label"
style="push">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.fileOrFolderPushToGerrit">
</reference>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.FetchGerritChange"
label="%FetchFromGerritCommand.label"
style="push">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.fileOrFolderFetchFromGerrit">
</reference>
</visibleWhen>
</command>
<separator
name="group2"
visible="true">
</separator>
<menu
id="egit.menu.repo.switchto"
label="%SwitchToMenu.label"
icon="icons/obj16/branches_obj.png">
<dynamic
class="org.eclipse.egit.ui.internal.actions.SwitchToMenu"
id="org.eclipse.egit.ui.switchToMenu">
</dynamic>
</menu>
</menu>
<menu
id="egit.menu.advanced"
label="%AdvancedMenu.label">
<command
commandId="org.eclipse.egit.ui.team.RenameBranch"
label="%RenameBranchMenu.label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.DeleteBranch"
label="%DeleteBranchMenu.label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</command>
<separator
name="org.eclipse.egit.ui.SynchronizeWithSeparator"
visible="true" />
<menu
id="egit.menu.synchronize"
label="%SynchronizeWith_label"
icon="$nl$/icons/obj16/synchronize.png">
<dynamic
class="org.eclipse.egit.ui.internal.actions.SynchronizeWithMenu"
id="org.eclipse.egit.ui.synchronize">
</dynamic>
<visibleWhen checkEnabled="false">
<and>
<count value="1" />
<iterate>
<and>
<adapt type="org.eclipse.core.resources.IResource">
<and>
<test property="GitResource.isShared" />
<test property="GitResource.isContainer" />
</and>
</adapt>
</and>
</iterate>
</and>
</visibleWhen>
</menu>
<separator
name="org.eclipse.egit.ui.separator1"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.Tag"
label="%TagAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</command>
<separator
name="org.eclipse.egit.ui.separator2"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.clean"
label="%CleanCommand.label"
style="push">
<visibleWhen checkEnabled="false">
<test property="GitSelection.projectsSingleRepository" />
</visibleWhen>
</command>
<separator
name="org.eclipse.egit.ui.TeamAdvancedFileSeparator"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.AssumeUnchanged"
label="%AssumeUnchangedAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.NoAssumeUnchanged"
label="%NoAssumeUnchangedAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.Untrack"
icon="$nl$/icons/obj16/untrack.png"
label="%UntrackAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
</visibleWhen>
</command>
</menu>
<separator
name="group2"
visible="true">
</separator>
<separator
name="group3"
visible="true">
</separator>
<separator
name="group4"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.Merge"
label="%MergeAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</command>
<separator
name="group5"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.Rebase" style="push"
label="%RebaseWithDialog_label">
<visibleWhen checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository"
args="isSafe">
</test>
</visibleWhen>
</command>
<menu
icon="icons/obj16/rebase.png"
id="egit.menu.rebase"
label="%RebaseMenu.label">
<command
commandId="org.eclipse.egit.ui.AbortRebase"
style="push">
<visibleWhen>
<or>
<with variable="activeMenuSelection">
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
<test property="GitRepository.canAbortRebase" />
</iterate>
</with>
<test
property="GitSelection.projectsSingleRepository"
args="canAbortRebase">
</test>
</or>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.ContinueRebase"
style="push">
<visibleWhen>
<or>
<with variable="activeMenuSelection">
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
<test property="GitRepository.canContinueRebase" />
</iterate>
</with>
<test
property="GitSelection.projectsSingleRepository"
args="canContinueRebase">
</test>
</or>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.SkipRebase"
style="push">
<visibleWhen>
<or>
<with variable="activeMenuSelection">
<count value="1" />
<iterate>
<instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" />
<test property="GitRepository.canAbortRebase" />
</iterate>
</with>
<test
property="GitSelection.projectsSingleRepository"
args="canAbortRebase">
</test>
</or>
</visibleWhen>
</command>
</menu>
<command
commandId="org.eclipse.egit.ui.team.Reset"
label="%ResetAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsSingleRepository">
</test>
</visibleWhen>
</command>
<separator
name="group6"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.CreatePatch"
label="%CreatePatchAction.label"
style="push">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
</visibleWhen>
</command>
<separator
name="applyPatchGroup"
visible="false">
</separator>
<separator
name="group7"
visible="true">
</separator>
<separator
name="group8"
visible="true">
</separator>
<separator
name="group9"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.ShowHistory"
label="%ShowResourceInHistoryAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.ShowRepositoriesView"
label="%ShowRepositoryAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<reference
definitionId="org.eclipse.egit.ui.resourcesSingleRepository">
</reference>
</visibleWhen>
</command>
<separator
name="showAnnotationsGroup"
visible="false">
</separator>
<command
commandId="org.eclipse.egit.ui.team.ShowBlame"
label="%ShowBlameAction_label"
icon="icons/etool16/annotate.png"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<separator
name="group10"
visible="true">
</separator>
<separator
name="targetGroup"
visible="true">
</separator>
<separator
name="projectGroup"
visible="true">
</separator>
<separator
name="group11"
visible="true">
</separator>
<command
commandId="org.eclipse.egit.ui.team.Disconnect"
label="%DisconnectAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="GitSelection.projectsWithRepositories">
</test>
</visibleWhen>
</command>
<visibleWhen>
<with variable="activeMenu">
<not>
<iterate operator="or">
<or>
<equals value="#AbstractTextEditorRulerContext" />
<equals value="#OverviewRulerContext" />
</or>
</iterate>
</not>
</with>
</visibleWhen>
</menu>
</menuContribution>
<menuContribution
locationURI="popup:#AbstractTextEditorRulerContext?after=QuickDiff.Toggle">
<command
commandId="org.eclipse.egit.ui.team.ShowBlame"
label="%ShowBlameAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="activeEditorInput">
<adapt
type="org.eclipse.core.resources.IFile">
<test
property="GitResource.isShared" />
</adapt>
</with>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
locationURI="popup:#AbstractTextEditorRulerContext?after=rulers">
<command
commandId="org.eclipse.egit.ui.team.ShowBlame"
label="%ShowBlameAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<with
variable="activeEditorInput">
<adapt
type="org.eclipse.team.core.history.IFileRevision">
<instanceof
value="org.eclipse.egit.core.internal.storage.CommitFileRevision">
</instanceof>
</adapt>
</with>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:team.main?after=group8">
<command
commandId="org.eclipse.egit.ui.team.AddToIndex"
label="%AddToIndexAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="org.eclipse.egit.ui.resources.ResourceState.hasUnstagedChanges">
</test>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.RemoveFromIndex"
label="%RemoveFromIndexAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="org.eclipse.egit.ui.resources.ResourceState.hasStagedChanges">
</test>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.Ignore"
label="%IgnoreAction_label"
style="push">
<visibleWhen
checkEnabled="false">
<test
property="org.eclipse.egit.ui.resources.ResourceState.hasNotIgnoredResources">
</test>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:compareWithMenu?after=gitCompareWithGroup">
<command
commandId="org.eclipse.egit.ui.team.CompareWithHead"
label="%CompareWithHeadAction_label"
style="push">
<visibleWhen checkEnabled="false">
<and>
<test property="GitSelection.selectionSingleRepository" />
<test property="org.eclipse.egit.ui.resources.ResourceState.hasNotIgnoredResources" />
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.CompareWithIndex"
label="%CompareWithIndexAction_label"
style="push">
<visibleWhen checkEnabled="false">
<and>
<test property="GitSelection.selectionSingleRepository" />
<test property="org.eclipse.egit.ui.resources.ResourceState.hasNotIgnoredResources" />
</and>
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.CompareIndexWithHead"
label="%CompareIndexWithHeadAction_label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.team.CompareWithPrevious"
label="%CompareWithPreviousAction.label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:compareWithMenu?after=gitCompareWithGroup2">
<command
commandId="org.eclipse.egit.ui.team.CompareWithRef"
label="%CompareWithBranchOrTagAction.label"
style="push">
<visibleWhen checkEnabled="false">
<reference definitionId="org.eclipse.egit.ui.resourcesSingleRepository" />
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.CompareWithCommit"
label="%CompareWithCommitAction.label"
style="push">
<visibleWhen checkEnabled="false">
<reference definitionId="org.eclipse.egit.ui.resourcesSingleRepository" />
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:replaceWithMenu?after=gitReplaceWithGroup">
<command
commandId="org.eclipse.egit.ui.team.ReplaceWithHead"
label="%ReplaceWithHeadAction_label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.team.Discard"
label="%DiscardChangesAction_label"
style="push">
<visibleWhen checkEnabled="true" />
</command>
<command
commandId="org.eclipse.egit.ui.team.ReplaceWithPrevious"
label="%ReplaceWithPreviousVersionAction.label"
style="push">
<visibleWhen checkEnabled="false">
<and>
<count value="1" />
<test property="GitSelection.resourcesSingleRepository" args="isSafe" />
<test property="org.eclipse.egit.ui.resources.ResourceState.hasTrackedResources" />
</and>
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:replaceWithMenu?after=gitReplaceWithGroup2">
<command
commandId="org.eclipse.egit.ui.team.ReplaceWithRef"
label="%ReplaceWithRefAction_label"
style="push">
<visibleWhen checkEnabled="false">
<test property="GitSelection.resourcesSingleRepository" args="isSafe" />
</visibleWhen>
</command>
<command
commandId="org.eclipse.egit.ui.team.ReplaceWithCommit"
label="%ReplaceWithCommitAction_label"
style="push">
<visibleWhen checkEnabled="false">
<test property="GitSelection.resourcesSingleRepository" args="isSafe" />
</visibleWhen>
</command>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<menu
id="compareWithMenu"
label="%CompareWithMenu.label">
<separator
name="compareWithGroup">
</separator>
<separator
name="gitCompareWithGroup"
visible="true">
</separator>
<separator
name="gitCompareWithGroup2"
visible="true">
</separator>
<visibleWhen>
<with variable="activeMenu">
<not>
<iterate operator="or">
<or>
<equals value="#AbstractTextEditorRulerContext" />
<equals value="#OverviewRulerContext" />
</or>
</iterate>
</not>
</with>
</visibleWhen>
</menu>
</menuContribution>
<menuContribution
allPopups="false"
locationURI="popup:org.eclipse.ui.popup.any?after=additions">
<menu
id="replaceWithMenu"
label="%ReplaceWithMenu.label">
<separator
name="replaceWithGroup">
</separator>
<separator
name="gitReplaceWithGroup"
visible="true">
</separator>
<separator
name="gitReplaceWithGroup2"
visible="true">
</separator>
<visibleWhen>
<with variable="activeMenu">
<not>
<iterate operator="or">
<or>
<equals value="#AbstractTextEditorRulerContext" />
<equals value="#OverviewRulerContext" />
</or>
</iterate>
</not>
</with>
</visibleWhen>
</menu>
</menuContribution>
</extension>
<extension
name="%RepositoryCommandsLabel"
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.AddCommand"
id="org.eclipse.egit.ui.RepositoriesViewAddRepository"
name="%AddRepositoryCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.CloneCommand"
id="org.eclipse.egit.ui.RepositoriesViewClone"
name="%CloneRepositoryCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewCopyPath"
name="%CopyPathCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.PasteCommand"
id="org.eclipse.egit.ui.RepositoriesViewPaste"
name="%PastePathCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewRemove"
name="%RemoveRepositoryCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewImportProjects"
name="%ImportProjectsCommand"
description="%ImportProjectsCommand_description"
>
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.ImportChangedProjectsCommandId"
name="%ImportChangedProjectsCommand"
description="%ImportProjectsCommand_description">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewCreateBranch"
name="%CreateBranchCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewNewRemote"
name="%NewRemoteCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewConfigureFetch"
name="%ConfigureFetchCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewConfigurePush"
name="%ConfigurePushCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewRemoveRemote"
name="%DeleteRemoteCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote"
name="%ConfigureGerritRemoteCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewChangeCredentials"
name="%ChangeCredentialsCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewClearCredentials"
name="%ClearCredentialsCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewOpenInEditor"
name="%OpenInEditorCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewOpen"
name="%OpenCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
name="%LinkWithSelectionCommand">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:false"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.CheckoutCommand"
name="%CheckoutCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.CreateRepositoryCommand"
id="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
name="%RepoViewCreateRepositoryCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewDelete"
name="%DeleteRepositoryCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ToggleBranchHierarchyCommand"
id="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
name="%ToggleLayoutCommand.name">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:false"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.repository.tree.command.ToggleBranchCommitCommand"
id="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
name="%ToggleBranchCommitCommand.name">
<state
class="org.eclipse.ui.handlers.RegistryToggleState:true"
id="org.eclipse.ui.commands.toggleState">
</state>
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.AbortRebase"
name="%AbortRebaseCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.SkipRebase"
name="%SkipRebaseCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.ContinueRebase"
name="%ContinueRebaseCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.submodule.update"
name="%SubmoduleUpdateCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.submodule.sync"
name="%SubmoduleSyncCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.submodule.add"
name="%SubmoduleAddCommand.name">
</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.actions.StashCreateHandler"
name="%StashCreateCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.stash.apply"
name="%StashApplyCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.stash.drop"
name="%StashDropCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.RepositoriesViewConfigureBranch"
name="%RepoViewConfigureBranchCommand.name">
</command>
</extension>
<extension
point="org.eclipse.ui.commandImages">
<image
commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository"
icon="icons/etool16/newlocation_wiz.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesViewClone"
icon="icons/obj16/cloneGit.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesLinkWithSelection"
icon="icons/elcl16/synced.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.ShowRepositoriesView"
icon="icons/eview16/repo_rep.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.ShowHistory"
icon="icons/obj16/history.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.CreateBranch"
icon="icons/obj16/new_branch_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.CreateTag"
icon="icons/obj16/new_tag_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.CreateBranch"
icon="icons/obj16/new_branch_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.CherryPick"
icon="icons/obj16/cherry-pick.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.CherryPick"
icon="icons/obj16/cherry-pick.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.stash.apply"
icon="icons/obj16/stash-apply.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.StashApply"
icon="icons/obj16/stash-apply.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.StashDrop"
icon="icons/obj16/delete_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.Squash"
icon="icons/obj16/squash-down.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.Squash"
icon="icons/obj16/squash-down.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.Reword"
icon="icons/obj16/reword.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.Reword"
icon="icons/obj16/reword.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.Edit"
icon="icons/obj16/editconfig.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.Edit"
icon="icons/obj16/editconfig.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.Checkout"
icon="icons/obj16/checkout.png">
</image>
<image
commandId="org.eclipse.egit.ui.CheckoutCommand"
icon="icons/obj16/checkout.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesViewCreateBranch"
icon="icons/obj16/new_branch_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesViewNewRemote"
icon="icons/obj16/synchronize.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.CreateTag"
icon="icons/obj16/new_tag_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.PushCommit"
icon="icons/obj16/push.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.CheckoutCommand"
icon="icons/obj16/checkout.png">
</image>
<image
commandId="org.eclipse.egit.ui.internal.reflog.CheckoutCommand"
icon="icons/obj16/checkout.png">
</image>
<image
commandId="org.eclipse.egit.ui.ImportChangedProjectsCommandId"
icon="icons/obj16/import_prj.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesViewImportProjects"
icon="icons/obj16/import_prj.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository"
icon="icons/etool16/createRepository.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy"
icon="icons/elcl16/hierarchicalLayout.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesToggleBranchCommit"
icon="icons/obj16/changelog_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesViewDelete"
icon="icons/obj16/delete_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesViewRemove"
icon="icons/obj16/clear.png">
</image>
<image
commandId="org.eclipse.egit.ui.AbortRebase"
icon="icons/elcl16/progress_stop.png">
</image>
<image
commandId="org.eclipse.egit.ui.ContinueRebase"
icon="icons/elcl16/continue.png">
</image>
<image
commandId="org.eclipse.egit.ui.SkipRebase"
icon="icons/elcl16/skip.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.Merge"
icon="icons/obj16/merge.png">
</image>
<image
commandId="org.eclipse.egit.ui.RebaseCurrent"
icon="icons/obj16/rebase.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Fetch"
icon="icons/obj16/fetch.png">
</image>
<image
commandId="org.eclipse.egit.ui.ConfigureUpstreamFetch"
icon="icons/obj16/fetch.png">
</image>
<image
commandId="org.eclipse.egit.ui.ConfigureUpstreamPush"
icon="icons/obj16/push.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Push"
icon="icons/obj16/push.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.PushBranch"
icon="icons/obj16/push.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.PushTags"
icon="icons/obj16/push.png">
</image>
<image
commandId="org.eclipse.egit.ui.FetchGerritChange"
icon="icons/obj16/gerrit_fetch.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.AddToIndex"
icon="icons/obj16/add.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.RemoveFromIndex"
icon="icons/obj16/unstage.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Branch"
icon="icons/obj16/branch_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Commit"
icon="icons/obj16/commit.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.SimpleFetch"
icon="icons/obj16/fetch.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.SimplePush"
icon="icons/obj16/push.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Ignore"
icon="icons/obj16/ignore.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Merge"
icon="icons/obj16/merge.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.MergeTool"
icon="icons/obj16/mergetool.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Rebase"
icon="icons/obj16/rebase.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Pull"
icon="icons/obj16/pull.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.PullWithOptions"
icon="icons/obj16/pull_with_options.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Reset"
icon="icons/obj16/reset.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Synchronize"
icon="icons/obj16/synchronize.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Tag"
icon="icons/obj16/new_tag_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.AssumeUnchanged"
icon="icons/obj16/assume_unchanged.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.NoAssumeUnchanged"
icon="icons/obj16/no_assume_unchanged.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.DeleteBranch"
icon="icons/obj16/delete_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.RenameBranch"
icon="icons/obj16/editconfig.png">
</image>
<image
commandId="org.eclipse.ui.edit.rename"
icon="icons/obj16/editconfig.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.DeleteBranch"
icon="icons/obj16/delete_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.DeleteTag"
icon="icons/obj16/delete_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.internal.reflog.OpenInCommitViewerCommand"
icon="icons/obj16/open-commit.png">
</image>
<image
commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand"
icon="icons/elcl16/sha1.png">
</image>
<image
commandId="org.eclipse.egit.ui.RebaseInteractiveCurrent"
icon="icons/obj16/rebase_interactive.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
icon="icons/obj16/open-commit.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesViewOpen"
icon="icons/obj16/open-commit.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.Revert"
icon="icons/obj16/revert.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.Revert"
icon="icons/obj16/revert.png">
</image>
<image
commandId="org.eclipse.egit.ui.commit.ShowInHistory"
icon="icons/obj16/history.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.clean"
icon="icons/obj16/clean_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.stash.create"
icon="icons/obj16/stash-create.png">
</image>
<image
commandId="org.eclipse.egit.ui.history.ShowBlame"
icon="icons/etool16/annotate.png">
</image>
<image
commandId="org.eclipse.egit.ui.PushHeadToGerrit"
icon="icons/obj16/gerrit_push.png">
</image>
<image
commandId="org.eclipse.egit.ui.RepositoriesViewConfigureGerritRemote"
icon="icons/obj16/gerrit_obj.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.GarbageCollect"
icon="icons/elcl16/trash.png">
</image>
<image
commandId="org.eclipse.egit.ui.team.Disconnect"
icon="icons/obj16/disconnect_co.png">
</image>
</extension>
<extension
point="org.eclipse.core.expressions.propertyTesters">
<propertyTester
class="org.eclipse.egit.ui.internal.repository.tree.RepositoriesViewPropertyTester"
id="org.eclipse.egit.ui.RepositoryTester"
namespace="GitRepository"
properties="isBare,isSafe,canCommit,canAmend,canResetHead,canStash,isRefCheckedOut,isLocalBranch,fetchExists,pushExists,canMerge,canAbortRebase,canContinueRebase,isSubmodule,containsHead,hasGerritConfiguration,canFetchFromGerrit,canPushToGerrit"
type="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode">
</propertyTester>
<propertyTester
class="org.eclipse.egit.ui.internal.ResourcePropertyTester"
id="org.eclipse.egit.ui.ResourceTester"
namespace="GitResource"
properties="isShared,isContainer,isSafe,canCommit,canAmend,canResetHead,canAbortRebase,canContinueRebase,hasGerritConfiguration,canFetchFromGerrit,canPushToGerrit"
type="org.eclipse.core.resources.IResource">
</propertyTester>
<propertyTester
class="org.eclipse.egit.ui.internal.selection.SelectionPropertyTester"
id="org.eclipse.egit.ui.SelectionTester"
namespace="GitSelection"
properties="projectsSingleRepository,projectsWithRepositories,resourcesSingleRepository,fileOrFolderInRepository,resourcesAllInRepository,selectionSingleRepository"
type="java.util.Collection">
</propertyTester>
<propertyTester
class="org.eclipse.egit.ui.internal.resources.ResourceStatePropertyTester"
id="org.eclipse.egit.ui.ResourceStateTester"
namespace="org.eclipse.egit.ui.resources.ResourceState"
properties="hasStagedChanges,hasUnstagedChanges,hasNotIgnoredResources,hasTrackedResources"
type="java.util.Collection">
</propertyTester>
<propertyTester
class="org.eclipse.egit.ui.internal.expressions.GitPropertyTester"
id="org.eclipse.egit.ui.GitRepositoryCommitTester"
namespace="Git"
properties="parentCount,isBare,isSafe,canCommit,hasMultipleRefs,hasRef"
type="org.eclipse.egit.core.internal.IRepositoryCommit">
</propertyTester>
<propertyTester
class="org.eclipse.egit.ui.internal.expressions.GitPropertyTester"
id="org.eclipse.egit.ui.GitRepositoryTester"
namespace="Git"
properties="isBare,isSafe,canCommit"
type="org.eclipse.jgit.lib.Repository">
</propertyTester>
<propertyTester
class="org.eclipse.egit.ui.internal.expressions.GitPropertyTester"
id="org.eclipse.egit.ui.GitRevCommitTester"
namespace="Git"
properties="parentCount"
type="org.eclipse.jgit.revwalk.RevCommit">
</propertyTester>
<propertyTester
class="org.eclipse.egit.ui.internal.history.GitHistoryPropertyTester"
id="org.eclipse.egit.ui.GitHistoryTester"
namespace="GitHistory"
properties="isSingleFileHistory"
type="org.eclipse.team.ui.history.IHistoryView">
</propertyTester>
<propertyTester
class="org.eclipse.egit.ui.internal.expressions.BundlePropertyTester"
id="org.eclipse.egit.ui.BundlePropertyTester"
namespace="org.eclipse.egit.ui.BundleProperty"
properties="isBundleInstalled"
type="java.util.Collection">
</propertyTester>
</extension>
<extension
point="org.eclipse.ui.navigator.linkHelper">
<linkHelper
class="org.eclipse.egit.ui.internal.repository.tree.LinkHelper"
id="org.eclipse.egit.ui.RepositoriesViewLinkHelper">
<editorInputEnablement>
<instanceof
value="org.eclipse.ui.IURIEditorInput">
</instanceof></editorInputEnablement>
<selectionEnablement>
<instanceof
value="org.eclipse.egit.ui.internal.repository.tree.FileNode">
</instanceof>
</selectionEnablement>
</linkHelper>
</extension>
<extension
id="changeSetModel"
name="%ChangeSetModel.name"
point="org.eclipse.core.resources.modelProviders">
<modelProvider
class="org.eclipse.egit.ui.internal.synchronize.GitChangeSetModelProvider"/>
<enablement>
<instanceof
value="org.eclipse.core.resources.IResource" />
</enablement>
<extends-model id="org.eclipse.core.resources.modelProvider"/>
</extension>
<extension
point="org.eclipse.team.ui.synchronizeWizards">
<wizard
class="org.eclipse.egit.ui.internal.synchronize.GitSynchronizeWizard"
description="%gitsyncwizard.description"
icon="icons/obj16/gitrepository.png"
id="org.eclipse.egit.ui.wizard1"
name="%Synchronize_Name">
</wizard>
</extension>
<extension
point="org.eclipse.team.ui.synchronizeParticipants">
<participant
class="org.eclipse.egit.ui.internal.synchronize.GitModelSynchronizeParticipant"
id="org.eclipse.egit.ui.modelCompareParticipant"
name="%Synchronize_Name"
icon="icons/obj16/gitrepository.png"
persistent="true"/>
</extension>
<extension
point="org.eclipse.ui.navigator.navigatorContent">
<navigatorContent
activeByDefault="false"
contentProvider="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetContentProvider"
icon="$nl$/icons/obj16/changelog_obj.png"
id="org.eclipse.egit.ui.changeSetContent"
labelProvider="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetLabelProvider"
name="%Synchronize_ChangeSet"
priority="normal">
<enablement>
<or>
<instanceof value="org.eclipse.egit.ui.internal.synchronize.GitChangeSetModelProvider"/>
<instanceof value="org.eclipse.egit.ui.internal.synchronize.model.GitModelBlob"/>
<instanceof value="org.eclipse.egit.ui.internal.synchronize.model.GitModelCacheTree"/>
</or>
</enablement>
<dropAssistant
class="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetDropAdapterAssistant"
id="org.eclipse.egit.ui.changeSetDropAssistant">
<possibleDropTargets>
<instanceof value="org.eclipse.egit.ui.internal.synchronize.model.GitModelCache"/>
</possibleDropTargets>
</dropAssistant>
<commonSorter
class="org.eclipse.egit.ui.internal.synchronize.mapping.GitChangeSetSorter"/>
</navigatorContent>
</extension>
<extension
point="org.eclipse.team.ui.teamContentProviders">
<teamContentProvider
contentExtensionId="org.eclipse.egit.ui.changeSetContent"
icon="$nl$/icons/obj16/changelog_obj.png"
modelProviderId="org.eclipse.egit.ui.changeSetModel"/>
</extension>
<extension point="org.eclipse.ui.navigator.viewer">
<viewer viewerId="org.eclipse.egit.ui.compareSynchronization">
<popupMenu
allowsPlatformContributions="false"
id="org.eclipse.egit.ui.compareSynchronizationMenu">
<insertionPoint name="gitActions" separator="true"/>
<insertionPoint name="file"/>
<insertionPoint name="file-bottom"/>
<insertionPoint name="edit" separator="true"/>
<insertionPoint name="synchronize"/>
<insertionPoint name="navigate" separator="true"/>
<insertionPoint name="modelTeam" separator="true"/>
<insertionPoint name="sort" separator="true"/>
<insertionPoint name="additions" separator="true"/>
</popupMenu>
</viewer>
</extension>
<extension
name="%TeamMenuCommandsLabel"
point="org.eclipse.ui.commands">
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.AddToIndexActionHandler"
id="org.eclipse.egit.ui.team.AddToIndex"
name="%AddToIndexCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.CreatePatchActionHandler"
id="org.eclipse.egit.ui.team.CreatePatch"
name="%CreatePatchCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.RemoveFromIndexActionHandler"
id="org.eclipse.egit.ui.team.RemoveFromIndex"
name="%RemoveFromIndexCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.BranchActionHandler"
id="org.eclipse.egit.ui.team.Branch"
name="%BranchCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.CompareWithHead"
name="%CompareWithHeadCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.CompareWithIndex"
name="%CompareWithIndexCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.CompareIndexWithHead"
name="%CompareIndexWithHeadCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.CompareWithPrevious"
name="%CompareWithPreviousCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.CompareWithRef"
name="%CompareWithHistoryCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.CompareWithCommit"
name="%CompareWithCommitCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Discard"
name="%ReplaceWithIndexCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.ReplaceWithHead"
name="%ReplaceWithHeadCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.ReplaceWithCommit"
name="%ReplaceWithCommitCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.ReplaceWithRef"
name="%ReplaceWithRefCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.ReplaceWithPrevious"
name="%ReplaceWithPreviousCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.IgnoreActionHandler"
id="org.eclipse.egit.ui.team.Ignore"
name="%IgnoreCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.TagActionHandler"
id="org.eclipse.egit.ui.team.Tag"
name="%TagCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.ShowRepositoriesViewActionHandler"
id="org.eclipse.egit.ui.team.ShowRepositoriesView"
name="%ShowRepoViewCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.ApplyPatchActionHandler"
id="org.eclipse.egit.ui.team.ApplyPatch"
name="%ApplyPatchCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.MergeToolActionHandler"
id="org.eclipse.egit.ui.team.MergeTool"
name="%MergeToolCommand.name">
</command>
<command
defaultHandler="org.eclipse.egit.ui.internal.actions.ConfigureFetchActionHandler"
id="org.eclipse.egit.ui.ConfigureUpstreamFetch"
name="%ConfigureUpstreamFetchCommand.name">
</command>
<command
defaultHandler="org.eclipse.egit.ui.internal.actions.ConfigurePushActionHandler"
id="org.eclipse.egit.ui.ConfigureUpstreamPush"
name="%ConfigureUpstreamPushCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.ConfigureFetchActionHandler"
id="org.eclipse.egit.ui.team.ConfigureFetch"
name="%ConfigureUpstreamFetchCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.ConfigurePushActionHandler"
id="org.eclipse.egit.ui.team.ConfigurePush"
name="%ConfigureUpstreamPushCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.DeleteBranchActionHandler"
id="org.eclipse.egit.ui.team.DeleteBranch"
name="%DeleteBranchCommand.name">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.RenameBranch"
name="%RenameBranchCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.AssumeUnchangedActionHandler"
id="org.eclipse.egit.ui.team.AssumeUnchanged"
name="%AssumeUnchangedCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
defaultHandler="org.eclipse.egit.ui.internal.actions.NoAssumeUnchangedActionHandler"
id="org.eclipse.egit.ui.team.NoAssumeUnchanged"
name="%NoAssumeUnchangedCommand">
</command>
<command
categoryId="org.eclipse.egit.ui.commandCategory"
id="org.eclipse.egit.ui.team.Untrack"
name="%UntrackCommand.name">
</command>
</extension>
<extension
point="org.eclipse.ui.bindings">
<key
commandId="org.eclipse.egit.ui.team.Commit"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+#">
</key>
<!-- Command+Shift+3 takes a screenshot on the Mac. Delete and redefine key binding: -->
<key
platform="carbon"
commandId=""
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+#">
</key>
<key
platform="carbon"
commandId="org.eclipse.egit.ui.team.Commit"
contextId="org.eclipse.ui.contexts.window"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="COMMAND+ALT+3">
</key>
<key
commandId="org.eclipse.egit.ui.RepositoriesViewPaste"
contextId="org.eclipse.egit.ui.RepositoriesView"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+V">
</key>
<key
commandId="org.eclipse.egit.ui.RepositoriesViewCopyPath"
contextId="org.eclipse.egit.ui.RepositoriesView"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+C">
</key>
<key
commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand"
contextId="org.eclipse.egit.ui.ReflogView"
schemeId="org.eclipse.ui.defaultAcceleratorConfiguration"
sequence="M1+C">
</key>
</extension>
<extension
name="%HistoryViewCommands.extension.name"
point="org.eclipse.ui.commands">
<command
id="org.eclipse.egit.ui.history.CompareVersions"
name="%CompareCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.CompareVersionsInTree"
name="%CompareInTreeCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.CompareWithWorkingTree"
name="%CompareWithWorkTreeCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.CompareWithHead"
name="%CompareWithHeadCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.ShowVersions"
name="%ShowVersionsCommand.name">
<commandParameter
id="org.eclipse.egit.ui.history.CompareMode"
name="%CompareModeCommandParameter.name"
optional="true">
</commandParameter>
</command>
<command
id="org.eclipse.egit.ui.history.CreatePatch"
name="%CreatePatchCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.CreateBranch"
name="%CreateBranchCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.DeleteBranch"
name="%DeleteBranchCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.CreateTag"
name="%CreateTagCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.DeleteTag"
name="%DeleteTagCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.PushCommit"
name="%PushCommit.name">
</command>
<command
id="org.eclipse.egit.ui.history.Reset"
name="%ResetCommand.name">
<commandParameter
id="org.eclipse.egit.ui.history.ResetMode"
name="%ResetModeCommandParameter.name"
optional="false">
</commandParameter>
</command>
<command
id="org.eclipse.egit.ui.history.ResetQuickdiffBaseline"
name="%ResetQuickdiffCommand.name">
<commandParameter
id="org.eclipse.egit.ui.history.ResetQuickdiffBaselineTarget"
name="%ResetTargetCommandParameter.name"
optional="false">
</commandParameter>
</command>
<command
id="org.eclipse.egit.ui.history.SetQuickdiffBaseline"
name="%SetQuickdiffBaselineCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.CheckoutCommand"
name="%CheckoutCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.OpenInTextEditorCommand"
name="%OpenInTextEditorCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.CherryPick"
name="%CherryPickCommand.name">
</command>
<command
id="org.eclipse.egit.ui.commit.CherryPick"
name="%CherryPickCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.Squash"
name="%SquashCommitsCommand.name">
</command>
<command
defaultHandler="org.eclipse.egit.ui.internal.commit.command.SquashHandler"
id="org.eclipse.egit.ui.commit.Squash"
name="%SquashCommitsCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.Reword"
name="%RewordCommitCommand.name">
</command>
<command
defaultHandler="org.eclipse.egit.ui.internal.commit.command.RewordHandler"
id="org.eclipse.egit.ui.commit.Reword"
name="%RewordCommitCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.Edit"
name="%EditCommitCommand.name">
</command>
<command
defaultHandler="org.eclipse.egit.ui.internal.commit.command.EditHandler"
id="org.eclipse.egit.ui.commit.Edit"
name="%EditCommitCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.Revert"
name="%RevertCommand.name">
</command>
<command
id="org.eclipse.egit.ui.commit.Revert"
name="%RevertCommand.name">
</command>
<command
id="org.eclipse.egit.ui.commit.ShowInHistory"
name="%ShowInHistoryCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.Merge"
name="%MergeCommand.name">
</command>
<command
id="org.eclipse.egit.ui.RebaseCurrent"
name="%RebaseCurrentCommand.name">
</command>
<command
id="org.eclipse.egit.ui.RebaseInteractiveCurrent"
name="%RebaseInteractiveCurrentCommand.name">
</command>
<command
id="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"
name="%OpenInCommitViewerCommand.name">
</command>
</extension>
<extension
name="%CommitViewerCommands.extension.name"
point="org.eclipse.ui.commands">
<command
id="org.eclipse.egit.ui.commit.CreateTag"
name="%CreateTagCommand.name">
</command>
<command
id="org.eclipse.egit.ui.commit.CreateBranch"
name="%CreateBranchCommand">
</command>
<command
id="org.eclipse.egit.ui.commit.Checkout"
name="%CheckoutCommand">
</command>
<command
id="org.eclipse.egit.ui.history.ShowBlame"
name="%ShowBlameCommand.name">
</command>
<command
id="org.eclipse.egit.ui.commit.StashApply"
name="%StashApplyCommand.name">
</command>
<command
id="org.eclipse.egit.ui.commit.StashDrop"
name="%StashDropCommand.name">
</command>
</extension>
<extension
point="org.eclipse.ui.newWizards">
<wizard
category="org.eclipse.egit.ui.wizardCategory"
class="org.eclipse.egit.ui.internal.repository.NewRepositoryWizard"
hasPages="true"
icon="icons/etool16/createRepository.png"
id="org.eclipse.egit.ui.CreateRepositoryWizard"
name="%CreateRepositoryWizard.name">
</wizard>
<category
id="org.eclipse.egit.ui.wizardCategory"
name="%Git">
</category>
</extension>
<extension
point="org.eclipse.ui.contexts">
<context
id="org.eclipse.egit.ui.RepositoriesView"
name="%RepositoriesViewContext.name"
parentId="org.eclipse.ui.contexts.window">
</context>
<context
id="org.eclipse.egit.ui.ReflogView"
name="%ReflogViewContext"
parentId="org.eclipse.ui.contexts.window">
</context>
</extension>
<extension
point="org.eclipse.ui.editors">
<editor
class="org.eclipse.egit.ui.internal.commit.CommitEditor"
contributorClass="org.eclipse.egit.ui.internal.commit.CommitEditorActionBarContributor"
default="false"
icon="icons/obj16/changelog_obj.png"
id="org.eclipse.egit.ui.commitEditor"
name="%CommitEditor.name">
</editor>
</extension>
<extension
point="org.eclipse.ui.actionSetPartAssociations">
<actionSetPartAssociation
targetID="org.eclipse.ui.edit.text.actionSet.presentation">
<part
id="org.eclipse.egit.ui.commitEditor">
</part>
</actionSetPartAssociation>
</extension>
<extension
point="org.eclipse.ui.editors.annotationTypes">
<type name="org.eclipse.egit.ui.commitEditor.diffAdded" />
<type name="org.eclipse.egit.ui.commitEditor.diffRemoved" />
</extension>
<extension
point="org.eclipse.ui.editors.markerAnnotationSpecification">
<specification
annotationType="org.eclipse.egit.ui.commitEditor.diffAdded"
overviewRulerPreferenceKey="org.eclipse.egit.ui.commitEditor.diffAddedInOverviewRuler"
overviewRulerPreferenceValue="true"
verticalRulerPreferenceKey="org.eclipse.egit.ui.commitEditor.diffAddedInVerticalRuler"
verticalRulerPreferenceValue="false"
textPreferenceKey="org.eclipse.egit.ui.commitEditor.diffAddedIndication"
textPreferenceValue="false"
highlightPreferenceKey="org.eclipse.egit.ui.commitEditor.diffAddedHighlighting"
highlightPreferenceValue="false"
showInNextPrevDropdownToolbarActionKey="org.eclipse.egit.ui.commitEditor.diffAddedInNextPrevDropdownToolbarAction"
showInNextPrevDropdownToolbarAction="false"
isGoToNextNavigationTargetKey="org.eclipse.egit.ui.commitEditor.diffAddedGoToNextNavigationTarget"
isGoToNextNavigationTarget="true"
isGoToPreviousNavigationTargetKey="org.eclipse.egit.ui.commitEditor.diffAddedGoToPreviousNavigationTarget"
isGoToPreviousNavigationTarget="true"
colorPreferenceKey="org.eclipse.egit.ui.commitEditor.diffAddedColor"
colorPreferenceValue="221,255,221"
contributesToHeader="false"
presentationLayer="5"
includeOnPreferencePage="false">
</specification>
<specification
annotationType="org.eclipse.egit.ui.commitEditor.diffRemoved"
overviewRulerPreferenceKey="org.eclipse.egit.ui.commitEditor.diffRemovedInOverviewRuler"
overviewRulerPreferenceValue="true"
verticalRulerPreferenceKey="org.eclipse.egit.ui.commitEditor.diffRemovedInVerticalRuler"
verticalRulerPreferenceValue="false"
textPreferenceKey="org.eclipse.egit.ui.commitEditor.diffRemovedIndication"
textPreferenceValue="false"
highlightPreferenceKey="org.eclipse.egit.ui.commitEditor.diffRemovedHighlighting"
highlightPreferenceValue="false"
showInNextPrevDropdownToolbarActionKey="org.eclipse.egit.ui.commitEditor.diffRemovedInNextPrevDropdownToolbarAction"
showInNextPrevDropdownToolbarAction="false"
isGoToNextNavigationTargetKey="org.eclipse.egit.ui.commitEditor.diffRemovedGoToNextNavigationTarget"
isGoToNextNavigationTarget="true"
isGoToPreviousNavigationTargetKey="org.eclipse.egit.ui.commitEditor.diffRemovedGoToPreviousNavigationTarget"
isGoToPreviousNavigationTarget="true"
colorPreferenceKey="org.eclipse.egit.ui.commitEditor.diffRemovedColor"
colorPreferenceValue="255,221,221"
contributesToHeader="false"
presentationLayer="5"
includeOnPreferencePage="false">
</specification>
</extension>
<extension
point="org.eclipse.ui.editors.templates">
<resolver
class="org.eclipse.egit.ui.internal.variables.GitTemplateVariableResolver"
contextTypeId="java"
type="git_config"
description="%GitTemplateVariableResolver_GitConfigDescription">
</resolver>
</extension>
<extension
point="org.eclipse.ui.editors.templates">
<resolver
class="org.eclipse.egit.ui.internal.variables.GitTemplateVariableResolver"
contextTypeId="javadoc"
type="git_config"
description="%GitTemplateVariableResolver_GitConfigDescription">
</resolver>
</extension>
<extension
point="org.eclipse.ui.elementFactories">
<factory
class="org.eclipse.egit.ui.internal.commit.CommitEditorInputFactory"
id="org.eclipse.egit.ui.internal.commit.CommitEditorInputFactory">
</factory>
</extension>
<extension point="org.eclipse.search.searchPages">
<page
class="org.eclipse.egit.ui.internal.search.CommitSearchPage"
icon="icons/obj16/search-commit.png"
id="org.eclipse.egit.ui.commitSearchPage"
label="%CommitSearchPage.label">
</page>
</extension>
<extension
point="org.eclipse.search.searchResultViewPages">
<viewPage
class="org.eclipse.egit.ui.internal.search.CommitSearchResultsPage"
icon="icons/obj16/search-commit.png"
id="org.eclipse.egit.ui.commitSearchResultsPage"
label="%CommitSearchResults.label"
searchResultClass="org.eclipse.egit.ui.internal.search.CommitSearchResult">
</viewPage>
</extension>
<extension
point="org.eclipse.ui.actionSets">
<actionSet
id="org.eclipse.egit.ui.navigation"
label="%NavigationActionSet.label"
visible="false">
<action
class="org.eclipse.egit.ui.internal.commit.OpenCommitAction"
definitionId="org.eclipse.egit.ui.team.OpenCommit"
icon="icons/obj16/open-commit.png"
id="org.eclipse.egit.ui.commit.OpenCommitAction"
label="%OpenCommitAction.label"
menubarPath="navigate/open.ext3"
style="push"
toolbarPath="org.eclipse.search.searchActionSet/Search"
tooltip="%OpenCommitAction.tooltip"/>
</actionSet>
</extension>
<extension
point="org.eclipse.ui.actionSetPartAssociations">
<actionSetPartAssociation
targetID="org.eclipse.egit.ui.navigation">
<part
id="org.eclipse.egit.ui.RepositoriesView">
</part>
<part
id="org.eclipse.egit.ui.StagingView">
</part>
<part
id="org.eclipse.egit.ui.CompareTreeView">
</part>
<part
id="org.eclipse.egit.ui.ReflogView">
</part>
<part
id="org.eclipse.egit.ui.InteractiveRebaseView">
</part>
<part
id="org.eclipse.egit.ui.commitEditor">
</part>
<part
id="org.eclipse.team.ui.GenericHistoryView">
</part>
</actionSetPartAssociation>
</extension>
<extension
point="org.eclipse.core.variables.dynamicVariables">
<variable
description="%GitVariable_git_dir"
name="git_dir"
resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
supportsArgument="true">
</variable>
<variable
description="%GitVariable_git_repo_relative_path"
name="git_repo_relative_path"
resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
supportsArgument="true">
</variable>
<variable
description="%GitVariable__git_work_tree_description"
name="git_work_tree"
resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
supportsArgument="true">
</variable>
<variable
description="%GitVariable_git_branch_description"
name="git_branch"
resolver="org.eclipse.egit.ui.internal.variables.GitVariableResolver"
supportsArgument="true">
</variable>
</extension>
<extension
point="org.eclipse.mylyn.tasks.bugs.support">
<product
description="%support.egit.description"
id="org.eclipse.egit"
name="%support.egit.name"
icon="icons/egit.png"
providerId="org.eclipse"
url="https://www.eclipse.org/egit"/>
<mapping namespace="org.eclipse.egit.ui" productId="org.eclipse.egit">
<property name="product" value="EGit"/>
<property name="component" value="UI"/>
</mapping>
<mapping namespace="org.eclipse.egit.core" productId="org.eclipse.egit">
<property name="product" value="EGit"/>
<property name="component" value="Core"/>
</mapping>
<mapping namespace="org.eclipse.egit.mylyn" productId="org.eclipse.egit">
<property name="product" value="EGit"/>
<property name="component" value="Mylyn"/>
</mapping>
<mapping namespace="org.eclipse.egit.github" productId="org.eclipse.egit">
<property name="product" value="EGit"/>
<property name="component" value="GitHub"/>
</mapping>
<mapping namespace="org.eclipse.egit.mylyn.internal.github" productId="org.eclipse.egit">
<property name="product" value="EGit"/>
<property name="component" value="GitHub"/>
</mapping>
<mapping namespace="org.eclipse.egit.gitflow" productId="org.eclipse.egit">
<property name="product" value="EGit"/>
<property name="component" value="Gitflow"/>
</mapping>
</extension>
<extension
point="org.eclipse.egit.ui.cloneSourceProvider">
<source
hasFixLocation="true"
icon="/icons/obj16/editconfig.png"
label="%CloneUri.label">
</source>
<repositorySearchPage
class="org.eclipse.egit.ui.internal.components.RepositorySelectionPage"></repositorySearchPage>
</extension>
<extension
name="%ReflogViewCommands"
point="org.eclipse.ui.commands">
<command
id="org.eclipse.egit.ui.internal.reflog.OpenInCommitViewerCommand"
name="%OpenInCommitViewerCommand.name">
</command>
<command
id="org.eclipse.egit.ui.internal.reflog.CheckoutCommand"
name="%CheckoutCommand.name">
</command>
<command
id="org.eclipse.egit.ui.internal.reflog.CopyCommand"
name="%ReflogCopyCommandName">
</command>
</extension>
<extension
point="org.eclipse.team.core.bundleImporters">
<importer
id="org.eclipse.egit.core.importer"
name="%gitBundleImporter"
repository="org.eclipse.egit.core.GitProvider">
<supports
prefix="scm:git:">
</supports>
</importer>
</extension>
<extension
point="org.eclipse.team.ui.scmUrlImportPages">
<scmUrlImportPage
importer="org.eclipse.egit.core.importer"
page="org.eclipse.egit.ui.internal.importing.GitScmUrlImportWizardPage">
</scmUrlImportPage>
</extension>
<extension
point="org.eclipse.e4.ui.css.swt.theme">
<stylesheet
uri="css/e4-dark_egit_prefstyle.css">
<themeid
refid="org.eclipse.e4.ui.css.theme.e4_dark">
</themeid>
</stylesheet>
</extension>
<extension point="org.eclipse.core.contenttype.contentTypes">
<file-association
content-type="org.eclipse.core.runtime.text"
file-names=".gitignore"/>
<content-type
id="org.eclipse.egit.contenttype.gitignore"
base-type="org.eclipse.core.runtime.text"
file-names=".gitignore"
priority="normal"
name="%GitIgnoreContentTypeName"/>
</extension>
<extension
point="org.eclipse.ui.trace.traceComponents">
<component
id="org.eclipse.egit.ui.traceComponent"
label="%extension.traceComponent.name">
<bundle
name="org.eclipse.egit.core">
</bundle>
<bundle
name="org.eclipse.egit.ui">
</bundle>
</component>
</extension>
<extension
point="org.eclipse.core.expressions.definitions">
<definition
id="org.eclipse.egit.ui.egitOnlyResourceMapping">
<with
variable="activeMenuSelection">
<iterate
ifEmpty="false"
operator="and">
<and>
<adapt
type="org.eclipse.core.resources.mapping.ResourceMapping">
<test
args="org.eclipse.team.core.repository"
property="org.eclipse.core.resources.projectPersistentProperty"
value="org.eclipse.egit.core.GitProvider">
</test>
</adapt>
<not>
<adapt
type="org.eclipse.core.resources.IResource">
</adapt>
</not>
</and>
</iterate>
</with>
</definition>
</extension>
<extension
point="org.eclipse.ui.services">
<sourceProvider
provider="org.eclipse.egit.ui.internal.selection.RepositorySourceProvider">
<variable
name="org.eclipse.egit.ui.currentRepository"
priorityLevel="activeWorkbenchWindow">
</variable>
</sourceProvider>
</extension>
<extension
point="org.eclipse.ui.startup">
<startup
class="org.eclipse.egit.ui.internal.clone.GitCloneDropAdapter">
</startup>
</extension>
</plugin>