mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[go] GOQA-134 move profiler tool window to common components
GitOrigin-RevId: 2fe02fdae436e5955b2dc66dced4839433494311
This commit is contained in:
committed by
intellij-monorepo-bot
parent
e6b86f229b
commit
331d5b2dbd
+14
@@ -0,0 +1,14 @@
|
||||
package com.intellij.driver.sdk.ui.components.common.toolwindows
|
||||
|
||||
import com.intellij.driver.sdk.ui.components.ComponentData
|
||||
import com.intellij.driver.sdk.ui.components.common.IdeaFrameUI
|
||||
|
||||
fun IdeaFrameUI.profilerToolWindow(action: ProfilerToolWindowUi.() -> Unit = {}): ProfilerToolWindowUi =
|
||||
x(ProfilerToolWindowUi::class.java) {
|
||||
componentWithChild(
|
||||
byClass("InternalDecoratorImpl"),
|
||||
byAccessibleName("Profiler")
|
||||
)
|
||||
}.apply(action)
|
||||
|
||||
class ProfilerToolWindowUi(data: ComponentData) : ToolWindowUiComponent(data)
|
||||
-10
@@ -1,10 +0,0 @@
|
||||
package com.intellij.driver.sdk.ui.components.python
|
||||
|
||||
import com.intellij.driver.sdk.ui.components.ComponentData
|
||||
import com.intellij.driver.sdk.ui.components.common.IdeaFrameUI
|
||||
import com.intellij.driver.sdk.ui.components.common.toolwindows.ToolWindowUiComponent
|
||||
|
||||
fun IdeaFrameUI.profilerToolWindow(func: ProfilerToolWindowUi.() -> Unit = {}) =
|
||||
x(ProfilerToolWindowUi::class.java) { componentWithChild(byClass("InternalDecoratorImpl"), byAccessibleName("Profiler")) }.apply(func)
|
||||
|
||||
class ProfilerToolWindowUi(data: ComponentData) : ToolWindowUiComponent(data)
|
||||
Reference in New Issue
Block a user