mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-01-08 15:09:39 +07:00
git: initial implementation for FUS action id holder
GitOrigin-RevId: 418a1335c1abcfa65d1c7248aec7307f0aa90393
This commit is contained in:
committed by
intellij-monorepo-bot
parent
a6bed50d36
commit
7a7cbcc0fa
@@ -656,6 +656,7 @@
|
||||
<statistics.counterUsagesCollector implementationClass="git4idea.GitRefreshUsageCollector"/>
|
||||
<statistics.counterUsagesCollector implementationClass="git4idea.GitOperationsCollector"/>
|
||||
<statistics.notificationIdsHolder implementation="git4idea.GitNotificationIdsHolder"/>
|
||||
<statistics.actionIdsHolder implementation="git4idea.GitActionIdsHolder"/>
|
||||
<vcsRepositoryInitializer implementation="git4idea.repo.GitRepositoryInitializer"/>
|
||||
<gitRepositoryInitializer implementation="git4idea.repo.GitRepositoryInitializerImpl"/>
|
||||
<gitSilentFileAdder implementation="git4idea.repo.GitSilentFileAdderProviderImpl"/>
|
||||
|
||||
18
plugins/git4idea/src/git4idea/GitActionIdsHolder.kt
Normal file
18
plugins/git4idea/src/git4idea/GitActionIdsHolder.kt
Normal file
@@ -0,0 +1,18 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package git4idea
|
||||
|
||||
import com.intellij.internal.statistic.collectors.fus.actions.persistence.ActionIdsHolder
|
||||
|
||||
class GitActionIdsHolder : ActionIdsHolder {
|
||||
|
||||
enum class Id(@JvmField val id: String) {
|
||||
|
||||
// rebase process
|
||||
ABORT("git4idea.rebase.abort"),
|
||||
CONTINUE("git4idea.rebase.continue"),
|
||||
RETRY("git4idea.rebase.retry"),
|
||||
RESOLVE("git4idea.rebase.resolve")
|
||||
}
|
||||
|
||||
override fun getActionsIds(): List<String> = Id.entries.map(Id::id).toList()
|
||||
}
|
||||
Reference in New Issue
Block a user