mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
Remove factory
GitOrigin-RevId: 87846c8bf8768c3f14cc02f51b5b78505e341c7e
This commit is contained in:
committed by
intellij-monorepo-bot
parent
89f90cb9e7
commit
fccb01ec87
-8
@@ -1,8 +0,0 @@
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.wm.impl.status
|
||||
|
||||
import com.intellij.openapi.wm.StatusBarWidget
|
||||
|
||||
interface TogglePopupHintsPanelFactory {
|
||||
fun create() : StatusBarWidget
|
||||
}
|
||||
-12
@@ -1,12 +0,0 @@
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.wm.impl.status
|
||||
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.wm.StatusBarWidget
|
||||
|
||||
class TogglePopupHintsPanelFactoryImpl(val project: Project) : TogglePopupHintsPanelFactory {
|
||||
override fun create(): StatusBarWidget {
|
||||
return TogglePopupHintsPanel(project)
|
||||
}
|
||||
|
||||
}
|
||||
+1
-2
@@ -1,7 +1,6 @@
|
||||
// Copyright 2000-2019 JetBrains s.r.o. Use of this source code is governed by the Apache 2.0 license that can be found in the LICENSE file.
|
||||
package com.intellij.openapi.wm.impl.status
|
||||
|
||||
import com.intellij.openapi.components.ServiceManager
|
||||
import com.intellij.openapi.project.Project
|
||||
import com.intellij.openapi.wm.StatusBar
|
||||
import com.intellij.openapi.wm.StatusBarWidget
|
||||
@@ -9,7 +8,7 @@ import com.intellij.openapi.wm.StatusBarWidgetProvider
|
||||
|
||||
class TogglePopupHintsPanelProvider : StatusBarWidgetProvider {
|
||||
override fun getWidget(project: Project): StatusBarWidget? {
|
||||
return ServiceManager.getService(project, TogglePopupHintsPanelFactory::class.java).create()
|
||||
return TogglePopupHintsPanel(project)
|
||||
}
|
||||
|
||||
override fun getAnchor(): String {
|
||||
|
||||
@@ -1254,9 +1254,6 @@
|
||||
|
||||
<editorFactoryListener implementation="com.intellij.codeInsight.daemon.impl.EditorTracker$MyAppLevelEditorFactoryListener"/>
|
||||
|
||||
<projectService serviceInterface="com.intellij.openapi.wm.impl.status.TogglePopupHintsPanelFactory"
|
||||
serviceImplementation="com.intellij.openapi.wm.impl.status.TogglePopupHintsPanelFactoryImpl"/>
|
||||
|
||||
<projectService serviceInterface="com.intellij.codeInsight.daemon.impl.HectorComponentFactory"
|
||||
serviceImplementation="com.intellij.codeInsight.daemon.impl.HectorComponentFactoryImpl"/>
|
||||
</extensions>
|
||||
|
||||
Reference in New Issue
Block a user