mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
cleanup
GitOrigin-RevId: 449d2d35c18b3c66431c029c9b6f340561ca0560
This commit is contained in:
committed by
intellij-monorepo-bot
parent
f4fb72c397
commit
5fac34663d
@@ -92,17 +92,15 @@ class ToolWindowImpl internal constructor(val toolWindowManager: ToolWindowManag
|
||||
}
|
||||
}))
|
||||
|
||||
if (decorator == null) {
|
||||
decorator = InternalDecorator(this)
|
||||
decorator!!.applyWindowInfo(windowInfo)
|
||||
decorator!!.addComponentListener(object : ComponentAdapter() {
|
||||
override fun componentResized(e: ComponentEvent) {
|
||||
toolWindowManager.resized(e.component as InternalDecorator)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
decorator!!.addContentComponent(canWorkInDumbMode, contentManager)
|
||||
val decorator = InternalDecorator(this)
|
||||
this.decorator = decorator
|
||||
decorator.applyWindowInfo(windowInfo)
|
||||
decorator.addComponentListener(object : ComponentAdapter() {
|
||||
override fun componentResized(e: ComponentEvent) {
|
||||
toolWindowManager.resized(e.component as InternalDecorator)
|
||||
}
|
||||
})
|
||||
decorator.addContentComponent(canWorkInDumbMode, contentManager)
|
||||
|
||||
toolWindowFocusWatcher = ToolWindowManagerImpl.ToolWindowFocusWatcher(this, contentManager.component)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user