| <?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> |
| <wizard |
| category="org.eclipse.egit.ui.internal.clone.gitclonecategory" |
| icon="icons/obj16/import_prj.png" |
| class="org.eclipse.egit.ui.internal.clone.SmartImportGitWizard" |
| id="org.eclipse.egit.ui.internal.clone.SmartImportGitWizard" |
| name="%SmartImportGitWizard_label"> |
| <description>%SmartImportGitWizard_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" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.ui.IURIEditorInput" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.egit.core.internal.storage.GitFileHistoryProvider" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.core.resources.IResource" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.core.runtime.Path" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.ui.IWorkingSet" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.egit.ui.internal.commit.RepositoryCommit" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.egit.core.internal.IRepositoryCommit" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.egit.ui.internal.history.HistoryPageInput" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.egit.ui.internal.reflog.ReflogItem" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.egit.core.internal.rebase.RebaseInteractivePlan$PlanElement" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.egit.core.info.GitInfo" |
| class="org.eclipse.egit.ui.history.GitHistoryAdapterFactory"> |
| <adapter type="org.eclipse.team.ui.history.IHistoryPageSource" /> |
| </factory> |
| <factory |
| adaptableType="org.eclipse.ui.IWorkingSet" |
| class="org.eclipse.egit.ui.internal.factories.GitAdapterFactory"> |
| <adapter type="org.eclipse.jgit.lib.Repository" /> |
| </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.history.FileDiff" |
| 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> |
| <test property="GitRepository.isBare" value="false" /> |
| </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> |
| <test property="GitRepository.fetchExists" value="false" /> |
| </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> |
| <test property="GitRepository.pushExists" value="false" /> |
| </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.fileOrFolderFetchFromGitHub"> |
| <or> |
| <test |
| property="GitSelection.fileOrFolderInRepository" |
| args="hasGitHubConfiguration"> |
| </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.hasGitHubConfiguration"> |
| </test> |
| </adapt> |
| </with> |
| </with> |
| </or> |
| </definition> |
| <definition id="org.eclipse.egit.ui.fileOrFolderFetchFromGitLab"> |
| <or> |
| <test |
| property="GitSelection.fileOrFolderInRepository" |
| args="hasGitLabConfiguration"> |
| </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.hasGitLabConfiguration"> |
| </test> |
| </adapt> |
| </with> |
| </with> |
| </or> |
| </definition> |
| <definition id="org.eclipse.egit.ui.fileOrFolderFetchFromGitea"> |
| <or> |
| <test |
| property="GitSelection.fileOrFolderInRepository" |
| args="hasGiteaConfiguration"> |
| </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.hasGiteaConfiguration"> |
| </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> |
| <definition |
| id="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"> |
| <iterate ifEmpty="false" |
| operator="and"> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryGroupNode" /> |
| </iterate> |
| </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.GitPreferences"> |
| </keywordReference> |
| </page> |
| <page name="%GitPreferences_DiffTools_name" |
| category="org.eclipse.egit.ui.GitPreferences" |
| class="org.eclipse.egit.ui.internal.preferences.DiffPreferencePage" |
| id="org.eclipse.egit.ui.DiffPreferencePage"> |
| <keywordReference |
| id="org.eclipse.egit.ui.DiffPreferencePage"> |
| </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.internal.preferences.ProjectsPreferencePage"> |
| </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.internal.preferences.WindowCachePreferencePage"> |
| </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.internal.preferences.DateFormatPreferencePage"> |
| </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.internal.preferences.GitDecoratorPreferencePage"> |
| </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.internal.preferences.GlobalConfigurationPreferencePage"> |
| </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.internal.preferences.CommittingPreferencePage"> |
| </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.internal.preferences.StagingViewPreferencePage"> |
| </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.internal.preferences.DialogsPreferencePage"> |
| </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.internal.preferences.SynchronizePreferencePage"> |
| </keywordReference> |
| </page> |
| <page |
| category="org.eclipse.egit.ui.GitPreferences" |
| class="org.eclipse.egit.ui.internal.preferences.GitServersPreferencePage" |
| id="org.eclipse.egit.ui.internal.preferences.GitServersPreferencePage" |
| name="%GitServersPreferencePage.name"> |
| <keywordReference |
| id="org.eclipse.egit.ui.internal.preferences.GitServersPreferencePage"> |
| </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.internal.preferences.HistoryPreferencePage"> |
| </keywordReference> |
| </page> |
| <page |
| category="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage" |
| class="org.eclipse.egit.ui.internal.preferences.HistoryColumnsPreferencePage" |
| id="org.eclipse.egit.ui.internal.preferences.HistoryColumnsPreferencePage" |
| name="%HistoryColumnsPreferencePage.name"> |
| <keywordReference |
| id="org.eclipse.egit.ui.internal.preferences.HistoryColumnsPreferencePage"> |
| </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.GitPreferences" |
| label="%GitPreferences_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.ProjectsPreferencePage" |
| label="%ProjectsPreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.WindowCachePreferencePage" |
| label="%WindowCachePreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.DateFormatPreferencePage" |
| label="%DateFormatPreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.GitDecoratorPreferencePage" |
| label="%GitDecoratorPreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.GlobalConfigurationPreferencePage" |
| label="%GlobalConfigurationPreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.CommittingPreferencePage" |
| label="%CommittingPreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.StagingViewPreferencePage" |
| label="%StagingViewPreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.DialogsPreferencePage" |
| label="%DialogsPreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.SynchronizePreferencePage" |
| label="%SynchronizePreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.GitServersPreferencePage" |
| label="%GitServersPreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.HistoryPreferencePage" |
| label="%HistoryPreferencePage_keywords"> |
| </keyword> |
| <keyword |
| id="org.eclipse.egit.ui.internal.preferences.HistoryColumnsPreferencePage" |
| label="%HistoryColumnsPreferencePage_keywords"> |
| </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> |
| <decorator |
| lightweight="true" |
| adaptable="false" |
| label="%Repo_decorator_name" |
| class="org.eclipse.egit.ui.internal.repository.RepositoryTreeNodeDecorator" |
| state="true" |
| location="BOTTOM_RIGHT" |
| id="org.eclipse.egit.ui.internal.repository.RepositoryTreeNodeDecorator"> |
| <enablement> |
| <objectClass name="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"/> |
| </enablement> |
| <description> |
| %Repo_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 |
| categoryId="org.eclipse.egit.ui.GitTheme" |
| id="org.eclipse.egit.ui.CommitMessageCommentColor" |
| isEditable="true" |
| label="%Theme_CommitMessageCommentColor_label" |
| value="63,127,95"> |
| <description> |
| %Theme_CommitMessageCommentColor_description |
| </description> |
| </colorDefinition> |
| <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" |
| defaultHandler="org.eclipse.egit.ui.internal.commands.shared.FetchChangeFromServerCommandFactory:GITHUB" |
| id="org.eclipse.egit.ui.FetchGitHubPR" |
| name="%FetchFromGitHubCommand.name"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| defaultHandler="org.eclipse.egit.ui.internal.commands.shared.FetchChangeFromServerCommandFactory:GITLAB" |
| id="org.eclipse.egit.ui.FetchGitLabMergeRequest" |
| name="%FetchFromGitLabCommand.name"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| defaultHandler="org.eclipse.egit.ui.internal.commands.shared.FetchChangeFromServerCommandFactory:GITEA" |
| id="org.eclipse.egit.ui.FetchGiteaPullRequest" |
| name="%FetchFromGiteaCommand.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.InstallLfsLocal" |
| name="%InstallLfsLocalCommand.label"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.team.Disconnect" |
| name="%DisconnectCommand.name"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.team.CherryPick" |
| name="%CherryPickCommand.name"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.team.Revert" |
| name="%RevertCommand.name"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.commit.DiffEditorQuickOutlineCommand" |
| name="%UnifiedDiffQuickOutlineCommand.name" |
| description="%UnifiedDiffQuickOutlineCommand.description"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.internal.merge.ToggleCurrentChangesCommand" |
| name="%ToggleCurrentChangesCommand.name" |
| description="%ToggleCurrentChangesCommand.description"> |
| </command> |
| </extension> |
| <extension |
| point="org.eclipse.ui.handlers"> |
| <handler |
| commandId="org.eclipse.egit.ui.CheckoutCommand"> |
| <class |
| class="org.eclipse.egit.ui.internal.reflog.command.CheckoutHandler"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="1" /> |
| <iterate> |
| <adapt type="org.eclipse.jgit.lib.ReflogEntry" /> |
| </iterate> |
| </and> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand"> |
| <class |
| class="org.eclipse.egit.ui.internal.reflog.command.OpenInCommitViewerHandler"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="1" /> |
| <iterate> |
| <adapt type="org.eclipse.jgit.lib.ReflogEntry" /> |
| </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" /> |
| <iterate> |
| <adapt type="org.eclipse.jgit.lib.ReflogEntry" /> |
| </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> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"> |
| </instanceof> |
| <not> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode"> |
| </instanceof> |
| </not> |
| <test property="GitRepository.isBare" value="false" /> |
| </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.ui.edit.findReplace"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.FilterCommand"> |
| </class> |
| <activeWhen> |
| <and> |
| <with variable="activePartId"> |
| <equals value="org.eclipse.egit.ui.RepositoriesView" /> |
| </with> |
| <count value="1" /> |
| <iterate> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagsNode" /> |
| </iterate> |
| </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> |
| <not> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode"> |
| </instanceof> |
| </not> |
| </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> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"> |
| </instanceof> |
| <not> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode"> |
| </instanceof> |
| </not> |
| <test property="GitRepository.isBare" value="false" /> |
| </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> |
| <test property="GitRepository.isRefCheckedOut" value="false" /> |
| </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> |
| <iterate> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"> |
| </instanceof> |
| <not> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode"> |
| </instanceof> |
| </not> |
| </iterate> |
| </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" /> |
| <iterate> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode" /> |
| <not> |
| <instanceof value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode" /> |
| </not> |
| </iterate> |
| </and> |
| <and> |
| <count value="2" /> |
| <iterate> |
| <or> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RefNode" /> |
| </or> |
| </iterate> |
| <test property="GitSelection.selectionSingleRepository" /> |
| </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> |
| <iterate> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.RepositoryTreeNode"> |
| </instanceof> |
| <not> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.selection.RepositoryVirtualNode"> |
| </instanceof> |
| </not> |
| </iterate> |
| </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.paste"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.PasteCommand"> |
| </class> |
| <activeWhen> |
| <with variable="activePart"> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.RepositoriesView" /> |
| </with> |
| </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 |
| class="org.eclipse.egit.ui.internal.repository.tree.command.RenameBranchCommand"> |
| </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.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> |
| <test property="GitRepository.isSubmodule" value="false" /> |
| <test property="GitRepository.isBare" value="false" /> |
| </and> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.SubmodulesNode"> |
| </instanceof> |
| </or> |
| </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> |
| <test property="GitRepository.isBare" value="false" /> |
| <test property="GitRepository.isSafe" /> |
| </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 |
| commandId="org.eclipse.egit.ui.team.InstallLfsLocal"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.InstallLfsLocalCommand"> |
| </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.canEnableLfs"> |
| </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.CompareWithHead"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.CompareWithHeadCommand"> |
| </class> |
| <activeWhen> |
| <and> |
| <test property="GitSelection.selectionSingleRepository" /> |
| <iterate> |
| <or> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FolderNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" /> |
| </or> |
| </iterate> |
| </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.CompareWithCommit"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.CompareWithCommitCommand"> |
| </class> |
| <activeWhen> |
| <and> |
| <test property="GitSelection.selectionSingleRepository" /> |
| <iterate> |
| <or> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FolderNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" /> |
| </or> |
| </iterate> |
| </and> |
| </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.CompareWithRef"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.CompareWithRefCommand"> |
| </class> |
| <activeWhen> |
| <and> |
| <test property="GitSelection.selectionSingleRepository" /> |
| <iterate> |
| <or> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FolderNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" /> |
| </or> |
| </iterate> |
| </and> |
| </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="!isBare,hasHead" /> |
| </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.team.ReplaceWithOurs"> |
| <class |
| class="org.eclipse.egit.ui.internal.actions.ReplaceWithOursActionHandler"> |
| </class> |
| <activeWhen> |
| <test property="GitSelection.conflictsInSingleRepository" /> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.team.ReplaceWithTheirs"> |
| <class |
| class="org.eclipse.egit.ui.internal.actions.ReplaceWithTheirsActionHandler"> |
| </class> |
| <activeWhen> |
| <test property="GitSelection.conflictsInSingleRepository" /> |
| </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> |
| <test property="GitRepository.isBare" value="false" /> |
| </iterate> |
| </and> |
| <and> |
| <count |
| value="+"> |
| </count> |
| <iterate> |
| <or> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.FolderNode"> |
| </instanceof> |
| </or> |
| <test property="GitRepository.isBare" value="false" /> |
| </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.RepositoriesViewCreateBranch"> |
| <class |
| class="org.eclipse.egit.ui.internal.commit.command.CreateBranchHandler"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="1" /> |
| <iterate> |
| <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit"> |
| <test property="Git.isStash" value="false" /> |
| </adapt> |
| </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.RepositoriesViewRemove"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.RemoveCommand"> |
| </class> |
| <activeWhen> |
| <iterate |
| ifEmpty="false" |
| operator="and"> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" /> |
| <test property="GitRepository.isSubmodule" value="false" /> |
| </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> |
| <test property="GitRepository.isRefCheckedOut" value="false" /> |
| <test property="GitRepository.isBare" value="false" /> |
| </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.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.CheckoutCommand"> |
| <class |
| class="org.eclipse.egit.ui.internal.commit.command.CheckoutHandler"> |
| </class> |
| <activeWhen> |
| <and> |
| <with variable="activePart"> |
| <instanceof value="org.eclipse.egit.ui.internal.commit.CommitEditor" /> |
| </with> |
| <count value="1" /> |
| <iterate> |
| <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit"> |
| <test property="Git.isStash" value="false" /> |
| <test property="Git.canCommit" /> |
| </adapt> |
| </iterate> |
| </and> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.team.ShowHistory"> |
| <class |
| class="org.eclipse.egit.ui.internal.commit.command.ShowInHistoryHandler"> |
| </class> |
| <activeWhen> |
| <and> |
| <with variable="activePart"> |
| <instanceof value="org.eclipse.egit.ui.internal.commit.CommitEditor" /> |
| </with> |
| <count value="1" /> |
| <iterate> |
| <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit"> |
| <test property="Git.isStash" value="false" /> |
| </adapt> |
| </iterate> |
| </and> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.team.CherryPick"> |
| <class |
| class="org.eclipse.egit.ui.internal.commit.command.CherryPickHandler"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="1" /> |
| <iterate> |
| <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit"> |
| <test property="Git.isStash" value="false" /> |
| <test property="Git.isSafe" /> |
| </adapt> |
| </iterate> |
| </and> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.team.Revert"> |
| <class |
| class="org.eclipse.egit.ui.internal.commit.command.RevertHandler"> |
| </class> |
| <activeWhen> |
| <iterate ifEmpty="false"> |
| <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit"> |
| <test property="Git.isStash" value="false" /> |
| <test property="Git.isBare" value="false" /> |
| </adapt> |
| </iterate> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.team.stash.apply"> |
| <class |
| class="org.eclipse.egit.ui.internal.commit.command.StashApplyHandler"> |
| </class> |
| <activeWhen> |
| <or> |
| <and> |
| <count value="1" /> |
| <iterate> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode" /> |
| <test property="GitRepository.isBare" value="false" /> |
| <test property="GitRepository.isSafe" /> |
| </iterate> |
| </and> |
| <and> |
| <with variable="activePart"> |
| <instanceof value="org.eclipse.egit.ui.internal.commit.CommitEditor" /> |
| </with> |
| <count value="1" /> |
| <iterate> |
| <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit"> |
| <test property="Git.isStash" /> |
| <test property="Git.isBare" value="false" /> |
| <test property="Git.isSafe" /> |
| </adapt> |
| </iterate> |
| </and> |
| </or> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.team.stash.drop"> |
| <class |
| class="org.eclipse.egit.ui.internal.commit.command.StashDropHandler"> |
| </class> |
| <activeWhen> |
| <and> |
| <with variable="activePart"> |
| <instanceof value="org.eclipse.egit.ui.internal.commit.CommitEditor" /> |
| </with> |
| <count value="1" /> |
| <iterate> |
| <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit"> |
| <test property="Git.isStash" /> |
| <test property="Git.isBare" value="false" /> |
| <test property="Git.isSafe" /> |
| </adapt> |
| </iterate> |
| </and> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.team.Tag"> |
| <class |
| class="org.eclipse.egit.ui.internal.actions.TagActionHandler"> |
| </class> |
| <activeWhen> |
| <or> |
| <test property="GitSelection.projectsSingleRepository" args="canCheckout" /> |
| <and> |
| <count value="1" /> |
| <iterate> |
| <or> |
| <and> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagsNode" /> |
| <test property="GitRepository.canCheckout" /> |
| </and> |
| <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit"> |
| <test property="Git.isStash" value="false" /> |
| </adapt> |
| </or> |
| </iterate> |
| </and> |
| </or> |
| </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> |
| <or> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" /> |
| </or> |
| <test property="GitRepository.isBare" value="false" /> |
| </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.OpenInCommitViewerCommand"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.OpenInCommitViewerCommand"> |
| </class> |
| <activeWhen> |
| <or> |
| <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.AdditionalRefNode" /> |
| <and> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" /> |
| <test property="GitRepository.isCommit" /> |
| </and> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode" /> |
| </or> |
| </iterate> |
| </and> |
| <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.AdditionalRefNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.TagNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode" /> |
| </or> |
| </iterate> |
| </and> |
| </or> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand"> |
| <class |
| class="org.eclipse.egit.ui.internal.commit.command.UnifiedDiffHandler"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="2" /> |
| <iterate> |
| <adapt type="org.eclipse.egit.core.internal.IRepositoryCommit" /> |
| </iterate> |
| </and> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand"> |
| <class |
| class="org.eclipse.egit.ui.internal.reflog.command.ReflogUnifiedDiffHandler"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="2" /> |
| <iterate> |
| <adapt type="org.eclipse.jgit.lib.ReflogEntry" /> |
| </iterate> |
| </and> |
| </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"> |
| <test property="Git.isBare" value="false" /> |
| </adapt> |
| </iterate> |
| </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.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.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.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.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" /> |
| </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.CompareVersions"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.CompareCommand"> |
| </class> |
| <activeWhen> |
| <or> |
| <and> |
| <count value="2" /> |
| <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> |
| </iterate> |
| <test property="GitSelection.selectionSingleRepository" /> |
| </and> |
| <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> |
| <test property="GitRepository.isBare" value="false" /> |
| </iterate> |
| </and> |
| </or> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.history.CompareVersionsInTree"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.CompareInTreeCommand"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="2" /> |
| <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> |
| </iterate> |
| <test property="GitSelection.selectionSingleRepository" /> |
| </and> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.CompareUnifiedCommand"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="2" /> |
| <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> |
| </iterate> |
| <test property="GitSelection.selectionSingleRepository" /> |
| </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> |
| <handler |
| commandId="org.eclipse.egit.ui.RepositoriesViewShowInSystemExplorer"> |
| <class |
| class="org.eclipse.egit.ui.internal.actions.ShowInSystemExplorerActionHandler"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="1" /> |
| <iterate> |
| <or> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FolderNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" /> |
| </or> |
| </iterate> |
| </and> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.ui.edit.rename"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.RenameRepositoryGroupCommand"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="1"/> |
| <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/> |
| </and> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.ui.edit.delete"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.DeleteRepositoryGroupCommand"> |
| </class> |
| <activeWhen> |
| <and> |
| <count value="+"/> |
| <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/> |
| </and> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.RepositoriesCreateGroup"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.CreateRepositoryGroupCommand"> |
| </class> |
| <activeWhen> |
| <with variable="activePart"> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.RepositoriesView" /> |
| </with> |
| </activeWhen> |
| </handler> |
| <handler |
| commandId="org.eclipse.egit.ui.RepositoriesViewCollapseWorkingTree"> |
| <class |
| class="org.eclipse.egit.ui.internal.repository.tree.command.CollapseWorkingTreeCommand"> |
| </class> |
| <activeWhen> |
| <iterate> |
| <or> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FileNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.FolderNode" /> |
| <instanceof value="org.eclipse.egit.ui.internal.repository.tree.WorkingDirNode" /> |
| </or> |
| </iterate> |
| </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"> |
| <description> |
| %GitRepositoryPerspective_description |
| </description> |
| </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.RepositoriesViewExtensionFactory: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.RepositoryTreeNodeLabelProvider" |
| 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.RepositoryTreeNodeSorter"> |
| </commonSorter> |
| <dropAssistant |
| class="org.eclipse.egit.ui.internal.repository.DropAdapterAssistant" |
| id="org.eclipse.egit.ui.repositoriesView.dropAssistant"> |
| <possibleDropTargets> |
| <or> |
| <instanceof |
| value="org.eclipse.core.resources.IWorkspaceRoot"> |
| </instanceof> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.RepositoryGroupNode"> |
| </instanceof> |
| </or> |
| </possibleDropTargets> |
| </dropAssistant> |
| <actionProvider |
| class="org.eclipse.egit.ui.internal.repository.RepositoriesViewActionProvider"> |
| </actionProvider> |
| </navigatorContent> |
| <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.remoteBranches" |
| name="%RepoViewFilterRemoteBranches.label" description="%RepoViewFilterRemoteBranches.description" activeByDefault="false" |
| class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:REMOTETRACKING"/> |
| <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.tags" |
| name="%RepoViewFilterTags.label" description="%RepoViewFilterTags.description" activeByDefault="false" |
| class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:TAGS"/> |
| <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.references" |
| name="%RepoViewFilterReferences.label" description="%RepoViewFilterReferences.description" activeByDefault="false" |
| class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:ADDITIONALREFS"/> |
| <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.remotes" |
| name="%RepoViewFilterRemotes.label" description="%RepoViewFilterRemotes.description" activeByDefault="false" |
| class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:REMOTES"/> |
| <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.stashes" |
| name="%RepoViewFilterStashes.label" description="%RepoViewFilterStashes.description" activeByDefault="false" |
| class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:STASH"/> |
| <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.submodules" |
| name="%RepoViewFilterSubmodules.label" description="%RepoViewFilterSubmodules.description" activeByDefault="false" |
| class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:SUBMODULES"/> |
| <commonFilter id="org.eclipse.egit.ui.repositoriesView.filters.worktree" |
| name="%RepoViewFilterWorktree.label" description="%RepoViewFilterWorktree.description" activeByDefault="false" |
| class="org.eclipse.egit.ui.internal.repository.tree.filter.NodeFilterFactory:WORKINGDIR"/> |
| </extension> |
| <extension |
| point="org.eclipse.ui.navigator.viewer"> |
| <viewer |
| viewerId="org.eclipse.egit.ui.RepositoriesView"> |
| <options> |
| <property |
| name="org.eclipse.ui.navigator.hideAvailableCustomizationsDialog" |
| value="false"/> |
| <!-- Hide the "Content" tab of the "Available Customizations" dialog --> |
| <property |
| name="org.eclipse.ui.navigator.hideAvailableExtensionsTab" |
| value="true"/> |
| <!-- Hide the "Link with Editor" action from the toolbar of the viewer --> |
| <!-- We implement our own "Link with Editor and Selection"; the built-in --> |
| <!-- ILinkHelper works only for linking with an active editor, but not --> |
| <!-- for synchronizing the selection with that in other views. --> |
| <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"> <!-- switch to --> |
| </insertionPoint> |
| <insertionPoint |
| name="repo-1" |
| separator="true"> <!-- commit, stash, apply stash --> |
| </insertionPoint> |
| <insertionPoint |
| name="repo-commit" |
| separator="true"> |
| </insertionPoint> |
| <insertionPoint |
| name="repo-2" |
| separator="true"> <!-- merge, rebase, reset --> |
| </insertionPoint> |
| <insertionPoint |
| name="repo-3" |
| separator="true"> <!-- add to index, delete, import projects --> |
| </insertionPoint> |
| <insertionPoint |
| name="group.open" |
| separator="true"> |
| </insertionPoint> |
| <insertionPoint |
| name="group.show" |
| separator="false"> |
| </insertionPoint> |
| <insertionPoint |
| name="repo-4" |
| separator="true"> <!-- clean, gc, lfs, delete, remove --> |
| </insertionPoint> |
| <insertionPoint |
| name="repo-5" |
| separator="true"> <!-- submodule add, sync, update --> |
| </insertionPoint> |
| <insertionPoint |
| name="repo-6" |
| separator="true"> <!-- copy path, paste URL --> |
| </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.repositoriesView.filters.remoteBranches"> |
| </contentExtension> |
| <contentExtension |
| pattern="org.eclipse.egit.ui.repositoriesView.filters.tags"> |
| </contentExtension> |
| <contentExtension |
| pattern="org.eclipse.egit.ui.repositoriesView.filters.references"> |
| </contentExtension> |
| <contentExtension |
| pattern="org.eclipse.egit.ui.repositoriesView.filters.remotes"> |
| </contentExtension> |
| <contentExtension |
| pattern="org.eclipse.egit.ui.repositoriesView.filters.stashes"> |
| </contentExtension> |
| <contentExtension |
| pattern="org.eclipse.egit.ui.repositoriesView.filters.submodules"> |
| </contentExtension> |
| <contentExtension |
| pattern="org.eclipse.egit.ui.repositoriesView.filters.worktree"> |
| </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="%HistoryCompareWithWorkingTree.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" |
| tooltip="%OpenInCommitViewerCommand.tooltip" |
| 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> |
| <command |
| commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand" |
| label="%HistoryShowUnifiedDiff.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| <separator name="##Checkout" visible="true" /> |
| <command |
| commandId="org.eclipse.egit.ui.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.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.RepositoriesViewCreateBranch" |
| 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.team.Tag" |
| 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.team.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.team.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" |
| tooltip="%OpenInCommitViewerCommand.tooltip" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand" |
| label="%RebaseInteractiveShowUnifiedDiff.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| </menuContribution> |
| <menuContribution |
| locationURI="popup:org.eclipse.egit.ui.internal.reflogview.popup"> |
| <command |
| commandId="org.eclipse.egit.ui.history.OpenInCommitViewerCommand" |
| label="%RefLogViewOpenInCommitViewer.label" |
| tooltip="%OpenInCommitViewerCommand.tooltip" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand" |
| label="%RefLogShowUnifiedDiff.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| <separator |
| name="##Checkout" visible="true"> |
| </separator> |
| <command |
| commandId="org.eclipse.egit.ui.CheckoutCommand" |
| label="%RefLogViewCheckout.label" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.internal.reflog.CopyCommand" |
| label="%ReflogCopyCommand.label" |
| style="push"> |
| </command> |
| <!-- Reset submenu --> |
| <menu |
| icon="icons/obj16/reset.png" |
| id="org.eclipse.egit.ui.reflog.resetMenu" |
| label="%ReflogResetMenu.label"> |
| <command |
| commandId="org.eclipse.egit.ui.history.Reset" |
| label="%ReflogResetSoft.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="%ReflogResetMixed.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="%ReflogResetHard.label" |
| style="push"> |
| <parameter name="org.eclipse.egit.ui.history.ResetMode" value="HARD" /> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| </menu> |
| </menuContribution> |
| <menuContribution |
| locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=branch"> |
| <command |
| commandId="org.eclipse.egit.ui.CheckoutCommand" |
| 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" |
| 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> |
| <reference |
| definitionId="org.eclipse.egit.ui.singleRefNode"> |
| </reference> |
| </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" /> |
| </or> |
| <test property="GitRepository.isRefCheckedOut" value="false" /> |
| </and> |
| </iterate> |
| </and> |
| </visibleWhen> |
| </command> |
| <separator |
| name="##Branch-2" |
| visible="true"> |
| </separator> |
| <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.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> |
| <test property="GitRepository.isBare" value="false" /> |
| </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> |
| <test property="GitRepository.isBare" value="false" /> |
| </and> |
| </iterate> |
| </and> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.history.CompareVersions" |
| label="%RepoViewCompareVersions.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.history.CompareVersionsInTree" |
| label="%RepoViewCompareVersionsInTree.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand" |
| label="%RepoViewCompareUnified.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </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" |
| label="%RepoViewCreateTag.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </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> |
| <command |
| commandId="org.eclipse.ui.edit.findReplace" |
| label="%RepoViewFilterTagCommand.label" |
| icon="icons/elcl16/find.png" |
| tooltip="%RepoViewFilterTagCommand.tooltip" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </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"> |
| <command |
| commandId="org.eclipse.egit.ui.RepositoriesViewAddRepository" |
| style="push" |
| tooltip="%RepoViewAddRepository.tooltip"> |
| <visibleWhen checkEnabled="false"> |
| <count value="0" /> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.RepositoriesViewClone" |
| style="push" |
| tooltip="%RepoViewCloneRepository.tooltip"> |
| <visibleWhen checkEnabled="false"> |
| <count value="0" /> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository" |
| style="push" |
| tooltip="%RepoViewCreateRepository.tooltip"> |
| <visibleWhen checkEnabled="false"> |
| <count value="0" /> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.RepositoriesCreateGroup" |
| label="%CreateRepositoryGroupCommand.label" |
| style="push"> |
| <visibleWhen checkEnabled="false"> |
| <count value="0" /> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.ui.edit.paste" |
| label="%RepoViewPastePath.label" |
| style="push"> |
| <visibleWhen checkEnabled="false"> |
| <count value="0" /> |
| </visibleWhen> |
| </command> |
| <menu |
| icon="icons/obj16/branches_obj.png" |
| label="%SwitchToMenuMultiple.label"> |
| <dynamic |
| class="org.eclipse.egit.ui.internal.actions.SwitchToMenu" |
| id="org.eclipse.egit.ui.switchToMenu"> |
| </dynamic> |
| <visibleWhen |
| checkEnabled="false"> |
| <and> |
| <iterate |
| ifEmpty="false" |
| operator="and"> |
| <and> |
| <or> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.RepositoryGroupNode"> |
| </instanceof> |
| <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> |
| <test property="GitRepository.isBare" value="false" /> |
| </and> |
| </iterate> |
| <test |
| property="GitSelection.selectionMultipleRepositories"> |
| </test> |
| </and> |
| </visibleWhen> |
| </menu> |
| <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.RepositoryGroupNode"> |
| </instanceof> |
| <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> |
| <test property="GitRepository.isBare" value="false" /> |
| </and> |
| </iterate> |
| <test |
| property="GitSelection.selectionMultipleRepositories" value="false"> |
| </test> |
| </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> |
| <test property="GitRepository.isBare" value="false" /> |
| </and> |
| </iterate> |
| </and> |
| </visibleWhen> |
| </command> |
| <menu |
| label="%StashesMenu.label" |
| icon="icons/obj16/stash.png"> |
| <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> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode"> |
| </instanceof> |
| <test property="GitRepository.isSubmodule" value="false" /> |
| <test property="GitRepository.isBare" value="false" /> |
| <test property="GitRepository.canStash" /> |
| <test property="GitRepository.containsHead" /> |
| </iterate> |
| </and> |
| </visibleWhen> |
| </menu> |
| <command |
| commandId="org.eclipse.egit.ui.team.stash.apply" |
| label="%StashApplyCommand.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| <command |
| commandId="org.eclipse.ui.edit.delete" |
| label="%StashDropCommand.label" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <and> |
| <count |
| value="+"> |
| </count> |
| <iterate> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.StashedCommitNode"> |
| </instanceof> |
| <test property="GitRepository.isBare" value="false" /> |
| <test property="GitRepository.isSafe" /> |
| </iterate> |
| </and> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.ui.edit.delete" |
| label="%DeleteRepositoryGroupCommand.label" |
| style="push"> |
| <visibleWhen checkEnabled="true"> |
| <and> |
| <count value="+"/> |
| <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/> |
| </and> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.ui.edit.rename" |
| label="%RenameRepositoryGroupCommand.label" |
| style="push"> |
| <visibleWhen> |
| <and> |
| <count value="1"/> |
| <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/> |
| </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> |
| <command |
| commandId="org.eclipse.egit.ui.FetchGitHubPR" |
| label="%FetchFromGitHubCommand.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.hasGitHubConfiguration"> |
| </test> |
| </and> |
| </iterate> |
| </and> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.FetchGitLabMergeRequest" |
| label="%FetchFromGitLabCommand.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.hasGitLabConfiguration"> |
| </test> |
| </and> |
| </iterate> |
| </and> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.FetchGiteaPullRequest" |
| label="%FetchFromGiteaCommand.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.hasGiteaConfiguration"> |
| </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> |
| <or> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode"> |
| </instanceof> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.RepositoryGroupNode"> |
| </instanceof> |
| </or> |
| <test |
| property="GitRepository.canMerge"> |
| </test> |
| </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.RepositoriesViewAddRepository" |
| style="push" |
| tooltip="%RepoViewAddRepository.tooltip"> |
| <visibleWhen> |
| <and> |
| <count value="1"/> |
| <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/> |
| </and> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.RepositoriesViewClone" |
| style="push" |
| tooltip="%RepoViewCloneRepository.tooltip"> |
| <visibleWhen> |
| <and> |
| <count value="1"/> |
| <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/> |
| </and> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository" |
| style="push" |
| tooltip="%RepoViewCreateRepository.tooltip"> |
| <visibleWhen> |
| <and> |
| <count value="1"/> |
| <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/> |
| </and> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.ui.edit.paste" |
| label="%RepoViewPastePath.label" |
| style="push"> |
| <visibleWhen> |
| <and> |
| <count value="1"/> |
| <reference definitionId="org.eclipse.egit.ui.repoGroups.onlyGroupsSelected"/> |
| </and> |
| </visibleWhen> |
| </command> |
| <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 property="GitRepository.isRefCheckedOut" value="false" /> |
| </and> |
| </iterate> |
| </and> |
| </visibleWhen> |
| </command> |
| <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.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> |
| <test property="GitRepository.isRefCheckedOut" value="false" /> |
| </and> |
| </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> |
| <command |
| commandId="org.eclipse.egit.ui.team.RenameBranch" |
| label="%RepoViewRenameBranch.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| <menu id="org.eclipse.egit.ui.repositorygroupmenu" |
| label="%RepositoryGroupMenu.label"> |
| <dynamic |
| class="org.eclipse.egit.ui.internal.actions.RepositoryGroupsMenu" |
| id="org.eclipse.egit.ui.repositorygroupmenu.items"> |
| </dynamic> |
| <visibleWhen checkEnabled="false"> |
| <and> |
| <iterate ifEmpty="false" |
| operator="and"> |
| <instanceof |
| value="org.eclipse.egit.ui.internal.repository.tree.RepositoryNode"> |
| </instanceof> |
| <not> |
| <test |
| property="GitRepository.isSubmodule"> |
| </test> |
| </not> |
| </iterate> |
| </and> |
| </visibleWhen> |
| </menu> |
| <command |
| commandId="org.eclipse.egit.ui.team.InstallLfsLocal" |
| label="%InstallLfsLocalCommand.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.history.OpenInCommitViewerCommand" |
| label="%RepoViewOpenInCommitViewer.label" |
| tooltip="%OpenInCommitViewerCommand.tooltip" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| </menuContribution> |
| <menuContribution |
| locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=group.show"> |
| <command |
| commandId="org.eclipse.egit.ui.RepositoriesViewShowInSystemExplorer" |
| label="%ShowInSystemExplorer.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| </menuContribution> |
| <menuContribution |
| locationURI="popup:org.eclipse.egit.ui.RepositoriesView?after=repo-4"> |
| <command |
| commandId="org.eclipse.egit.ui.team.clean" |
| label="%CleanCommand.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.team.GarbageCollect" |
| label="%GarbageCollectCommand.label" |
| icon="icons/elcl16/trash_flat.png" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <and> |
| <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> |
| <test property="GitRepository.isSubmodule" value="false" /> |
| <test property="GitRepository.isBare" value="false" /> |
| </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> |
| </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" |
| tooltip="%RepoViewLinkWithSelection.tooltip" |
| 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="%RepoViewAddRepository.label" |
| tooltip="%RepoViewAddRepository.tooltip" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.RepositoriesViewClone" |
| label="%RepoViewCloneRepository.label" |
| tooltip="%RepoViewCloneRepository.tooltip" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.RepositoriesViewCreateRepository" |
| label="%RepoViewCreateRepository.label" |
| tooltip="%RepoViewCreateRepository.tooltip" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.RepositoriesCreateGroup" |
| label="%CreateRepositoryGroupCommand.label" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.ui.edit.paste" |
| label="%RepoViewPastePath.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" |
| icon="icons/obj16/stash.png"> |
| <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> |
| <separator |
| name="org.eclipse.egit.ui.pullPushSeparator" |
| visible="true"> |
| </separator> |
| <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> |
| <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> |
| <command |
| commandId="org.eclipse.egit.ui.FetchGitHubPR" |
| label="%FetchFromGitHubCommand.label" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <test |
| property="GitSelection.projectsSingleRepository" |
| args="hasGitHubConfiguration"> |
| </test> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.FetchGitLabMergeRequest" |
| label="%FetchFromGitLabCommand.label" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <test |
| property="GitSelection.projectsSingleRepository" |
| args="hasGitLabConfiguration"> |
| </test> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.FetchGiteaPullRequest" |
| label="%FetchFromGiteaCommand.label" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <test |
| property="GitSelection.projectsSingleRepository" |
| args="hasGiteaConfiguration"> |
| </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> |
| <separator |
| name="org.eclipse.egit.ui.remote.group1" |
| visible="true"> |
| </separator> |
| <command |
| commandId="org.eclipse.egit.ui.team.ConfigurePush" |
| label="%ConfigurePushToUpstreamCommand.label" |
| style="push"> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.team.ConfigureFetch" |
| 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> |
| <menu |
| id="egit.menu.switchMultiple" |
| label="%SwitchToMenuMultiple.label" |
| icon="icons/obj16/branches_obj.png"> |
| <dynamic |
| class="org.eclipse.egit.ui.internal.actions.SwitchToMenu" |
| id="org.eclipse.egit.ui.switchToMenuMultiple"> |
| </dynamic> |
| <visibleWhen |
| checkEnabled="false"> |
| <test |
| property="GitSelection.resourcesMultipleRepositories"> |
| </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> |
| <command |
| commandId="org.eclipse.egit.ui.FetchGitHubPR" |
| label="%FetchFromGitHubCommand.label" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <reference |
| definitionId="org.eclipse.egit.ui.fileOrFolderFetchFromGitHub"> |
| </reference> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.FetchGitLabMergeRequest" |
| label="%FetchFromGitLabCommand.label" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <reference |
| definitionId="org.eclipse.egit.ui.fileOrFolderFetchFromGitLab"> |
| </reference> |
| </visibleWhen> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.FetchGiteaPullRequest" |
| label="%FetchFromGiteaCommand.label" |
| style="push"> |
| <visibleWhen |
| checkEnabled="false"> |
| <reference |
| definitionId="org.eclipse.egit.ui.fileOrFolderFetchFromGitea"> |
| </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" /> |
| </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" |
| 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="true" /> |
| </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" |
| 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?before=Linenumbers.Toggle"> |
| <command |
| commandId="org.eclipse.egit.ui.team.ShowBlame" |
| label="%ShowBlameAction_label" |
| style="push"> |
| <visibleWhen checkEnabled="false"> |
| <and> |
| <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 variable="activeEditor"> |
| <test property="org.eclipse.egit.ui.EditorProperty.canShowRevisions" args="notAlready" /> |
| </with> |
| </and> |
| </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="true" /> |
| </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="true" /> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.team.CompareWithCommit" |
| label="%CompareWithCommitAction.label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </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> |
| <command |
| commandId="org.eclipse.egit.ui.team.ReplaceWithOurs" |
| label="%ReplaceWithOursAction_label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </command> |
| <command |
| commandId="org.eclipse.egit.ui.team.ReplaceWithTheirs" |
| label="%ReplaceWithTheirsAction_label" |
| style="push"> |
| <visibleWhen checkEnabled="true" /> |
| </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" |
| description="%AddRepositoryCommand.description"> |
| </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" |
| description="%CloneRepositoryCommand.description"> |
| <commandParameter |
| id="repositoryUri" |
| name="%RepositoriesViewClone_repositoryUri_Name" |
| optional="true"> |
| </commandParameter> |
| </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="%CreateRepositoryCommand" |
| description="%CreateRepositoryCommand.description"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.RepositoriesViewCopyPath" |
| name="%CopyPathCommand"> |
| </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" |
| defaultHandler="org.eclipse.egit.ui.internal.commands.ToggleCommand" |
| 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" |
| id="org.eclipse.egit.ui.RepositoriesViewDelete" |
| name="%DeleteRepositoryCommand.name"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.RepositoriesViewCollapseWorkingTree" |
| name="%RepoViewCollapseWorktreeCommand.label"> |
| description="%RepoViewCollapseWorktreeCommand.description"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.RepositoriesCreateGroup" |
| name="%CreateRepositoryGroupCommand.name" |
| description="%CreateRepositoryGroupCommand.description"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.RepositoriesToggleBranchHierarchy" |
| defaultHandler="org.eclipse.egit.ui.internal.commands.ToggleCommand" |
| 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" |
| id="org.eclipse.egit.ui.RepositoriesToggleBranchCommit" |
| defaultHandler="org.eclipse.egit.ui.internal.commands.ToggleCommand" |
| 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> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.RepositoriesViewShowInSystemExplorer" |
| name="%ShowInSystemExplorerCommand.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.team.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.team.stash.drop" |
| 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.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.PushCommit" |
| icon="icons/obj16/push.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.team.ConfigureFetch" |
| icon="icons/obj16/fetch.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.team.ConfigurePush" |
| 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.FetchGitHubPR" |
| icon="icons/obj16/fetch.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.FetchGitLabMergeRequest" |
| icon="icons/obj16/fetch.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.FetchGiteaPullRequest" |
| icon="icons/obj16/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.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.history.CompareVersions" |
| icon="icons/elcl16/compare_view.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.history.CompareVersionsInTree" |
| icon="icons/elcl16/compare_view.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.team.Revert" |
| icon="icons/obj16/revert.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.team.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_flat.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.team.Disconnect" |
| icon="icons/obj16/disconnect_co.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.RepositoriesViewRemoveRemote" |
| icon="icons/obj16/delete_obj.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.team.Untrack" |
| icon="icons/obj16/untrack.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.team.OpenCommit" |
| icon="icons/obj16/open-commit.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.RepositoriesViewOpenInEditor" |
| icon="icons/elcl16/goto_input.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.team.CompareWithCommit" |
| icon="icons/obj16/changelog_obj.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.team.ReplaceWithCommit" |
| icon="icons/obj16/changelog_obj.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.team.submodule.add" |
| icon="icons/obj16/submodules.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.team.ReplaceWithRef" |
| icon="icons/obj16/branches_obj.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.team.CompareWithRef" |
| icon="icons/obj16/branches_obj.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.RepositoriesCreateGroup" |
| icon="icons/etool16/newgroup_wiz.png"> |
| </image> |
| <image |
| commandId="org.eclipse.egit.ui.commit.UnifiedDiffCommand" |
| icon="icons/obj16/changelog_obj.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,canCheckout,canCommit,canAmend,canResetHead,canStash,isRefCheckedOut,isLocalBranch,fetchExists,pushExists,canMerge,canAbortRebase,canContinueRebase,isSubmodule,containsHead,hasGitHubConfiguration,hasGitLabConfiguration,hasGiteaConfiguration,hasGerritConfiguration,canFetchFromGerrit,canPushToGerrit,canEnableLfs,isCommit" |
| 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,canCheckout,canCommit,canAmend,canResetHead,canAbortRebase,canContinueRebase,hasGitHubConfiguration,hasGitLabConfiguration,hasGiteaConfiguration,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="conflictsInSingleRepository,projectsSingleRepository,projectsWithRepositories,resourcesSingleRepository,resourcesMultipleRepositories,fileOrFolderInRepository,resourcesAllInRepository,selectionSingleRepository,selectionMultipleRepositories" |
| 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,isStash" |
| 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> |
| <propertyTester |
| class="org.eclipse.egit.ui.internal.expressions.EditorPropertyTester" |
| id="org.eclipse.egit.ui.EditorPropertyTester" |
| namespace="org.eclipse.egit.ui.EditorProperty" |
| properties="canShowRevisions" |
| type="org.eclipse.ui.IEditorPart"> |
| <!-- Type cannot be restricted to text editors because of multi-page editors. --> |
| </propertyTester> |
| </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" |
| description="%BranchCommand.description"> |
| </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" |
| id="org.eclipse.egit.ui.team.ReplaceWithOurs" |
| name="%ReplaceWithOursCommand.name"> |
| </command> |
| <command |
| categoryId="org.eclipse.egit.ui.commandCategory" |
| id="org.eclipse.egit.ui.team.ReplaceWithTheirs" |
| name="%ReplaceWithTheirsCommand.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" |
| 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 |
| 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.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> |
| <key |
| commandId="org.eclipse.egit.ui.team.RenameBranch" |
| contextId="org.eclipse.egit.ui.RepositoriesView.SingleRepository" |
| schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
| sequence="F2"> |
| </key> |
| <key |
| commandId="org.eclipse.egit.ui.RepositoriesViewCollapseWorkingTree" |
| contextId="org.eclipse.egit.ui.RepositoriesView" |
| schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
| sequence="M1+ARROW_LEFT"> |
| </key> |
| <key |
| commandId="org.eclipse.egit.ui.commit.DiffEditorQuickOutlineCommand" |
| contextId="org.eclipse.egit.ui.DiffViewer" |
| schemeId="org.eclipse.ui.defaultAcceleratorConfiguration" |
| sequence="M1+O"> |
| </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.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.DeleteBranch" |
| name="%DeleteBranchCommand.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.OpenInTextEditorCommand" |
| name="%OpenInTextEditorCommand.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.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" |
| description="%OpenInCommitViewerCommand.tooltip"> |
| </command> |
| <command |
| id="org.eclipse.egit.ui.commit.UnifiedDiffCommand" |
| name="%ShowUnifiedDiffCommand.name"> |
| </command> |
| </extension> |
| <extension |
| name="%CommitViewerCommands.extension.name" |
| point="org.eclipse.ui.commands"> |
| <command |
| id="org.eclipse.egit.ui.history.ShowBlame" |
| name="%ShowBlameCommand.name"> |
| </command> |
| </extension> |
| <extension |
| name="%CompareViewerCommands.extension.name" |
| point="org.eclipse.ui.commands"> |
| <command |
| id="org.eclipse.egit.ui.CompareWithEachOther" |
| name="%CompareWithEachOtherCommand.name" |
| categoryId="org.eclipse.compare.ui.category.compare" |
| description="%CompareWithEachOtherCommand.description"> |
| </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"> |
| <description> |
| %CreateRepositoryWizard.description |
| </description> |
| </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.RepositoriesView.SingleRepository" |
| name="%RepositoriesViewContext.name" |
| parentId="org.eclipse.egit.ui.RepositoriesView"> |
| </context> |
| <context |
| id="org.eclipse.egit.ui.ReflogView" |
| name="%ReflogViewContext" |
| parentId="org.eclipse.ui.contexts.window"> |
| </context> |
| <context |
| id="org.eclipse.egit.ui.DiffViewer" |
| name="%DiffViewerContext" |
| parentId="org.eclipse.ui.textEditorScope"> |
| </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> |
| <editor |
| class="org.eclipse.egit.ui.internal.commit.DiffEditor" |
| contributorClass="org.eclipse.ui.texteditor.BasicTextEditorActionContributor" |
| default="false" |
| icon="icons/obj16/changelog_obj.png" |
| id="org.eclipse.egit.ui.diffEditor" |
| name="%DiffEditor.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> |
| <part |
| id="org.eclipse.egit.ui.diffEditor"> |
| </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> |
| <actionSet |
| label="%GitSearchActionSet.label" |
| description="%GitSearchActionSet.description" |
| visible="false" |
| id="org.eclipse.egit.ui.SearchActionSet"> |
| <!-- |
| Menu re-declaration needed because of bug 567910. Needs to be consistent |
| with the base declaration in org.eclipse.search. Note that other bundles, |
| for instance org.eclipse.jdt.ui, employ the same work-around. |
| --> |
| <menu |
| id="org.eclipse.search.menu" |
| label="%searchMenu.label" |
| path="navigate"> |
| <groupMarker name="internalDialogGroup"/> <!-- not to be used by clients --> |
| <groupMarker name="dialogGroup"/> <!-- to be used by clients --> |
| <separator name="fileSearchContextMenuActionsGroup"/> <!-- to be used by clients --> |
| <separator name="contextMenuActionsGroup"/> <!-- to be used by clients --> |
| <separator name="occurencesActionsGroup"/> <!-- to be used by clients --> |
| <separator name="extraSearchGroup"/> <!-- to be used by clients --> |
| </menu> |
| <action |
| label="%OpenCommitSearchPageAction.label" |
| icon="icons/obj16/search-commit.png" |
| class="org.eclipse.egit.ui.internal.search.OpenCommitSearchPageAction" |
| menubarPath="org.eclipse.search.menu/dialogGroup" |
| id="org.eclipse.egit.ui.actions.OpenCommitSearchPage"> |
| </action> |
| </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> |
| <part |
| id="org.eclipse.team.sync.views.SynchronizeView"> |
| </part> |
| </actionSetPartAssociation> |
| <actionSetPartAssociation |
| targetID="org.eclipse.egit.ui.SearchActionSet"> |
| <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> |
| <part |
| id="org.eclipse.team.sync.views.SynchronizeView"> |
| </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.debug.ui.stringVariablePresentations"> |
| <variablePresentation |
| argumentSelector="org.eclipse.debug.internal.ui.stringsubstitution.ResourceSelector" |
| variableName="git_dir"> |
| </variablePresentation> |
| <variablePresentation |
| argumentSelector="org.eclipse.debug.internal.ui.stringsubstitution.ResourceSelector" |
| variableName="git_repo_relative_path"> |
| </variablePresentation> |
| <variablePresentation |
| argumentSelector="org.eclipse.debug.internal.ui.stringsubstitution.ResourceSelector" |
| variableName="git_work_tree"> |
| </variablePresentation> |
| <variablePresentation |
| argumentSelector="org.eclipse.debug.internal.ui.stringsubstitution.ResourceSelector" |
| variableName="git_branch"> |
| </variablePresentation> |
| </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.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/egit.css" /> |
| <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> |
| </plugin> |