mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-10-01 09:03:31 +07:00
[ABExperiment] EA-1450234 Run demo action on BGT
GitOrigin-RevId: 46ec7191daf4514f83574aea5b06eb822df1e8a1
This commit is contained in:
committed by
intellij-monorepo-bot
parent
2c7e3837e6
commit
166da4103d
+5
@@ -1,6 +1,7 @@
|
||||
// Copyright 2000-2024 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.platform.experiment.ab.demo
|
||||
|
||||
import com.intellij.openapi.actionSystem.ActionUpdateThread
|
||||
import com.intellij.openapi.actionSystem.AnAction
|
||||
import com.intellij.openapi.actionSystem.AnActionEvent
|
||||
import com.intellij.platform.experiment.ab.impl.bundle.ABExperimentBundle
|
||||
@@ -14,4 +15,8 @@ internal class ABExperimentDemoAction : AnAction(ABExperimentBundle.message("exp
|
||||
println("User experiment option id is: " + service.getUserExperimentOptionId())
|
||||
println("Is control experiment option enabled: " + service.isControlExperimentOptionEnabled())
|
||||
}
|
||||
|
||||
override fun getActionUpdateThread(): ActionUpdateThread {
|
||||
return ActionUpdateThread.BGT
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user