mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-03-22 06:50:54 +07:00
[platform] refactoring: move IntelliJIdeaUpdateStrategyCustomization to platform (IJPL-204)
There are other IDEs that enable showWhatIsNewPageAfterUpdate option, so it's better to reuse the implementation. GitOrigin-RevId: 64aa54c0a088f920d00c09d7c0eca09861b3b553
This commit is contained in:
committed by
intellij-monorepo-bot
parent
93093eaa9a
commit
2dab26b9c4
@@ -20,7 +20,7 @@
|
||||
serviceImplementation="com.intellij.idea.customization.base.IntelliJIdeaExternalResourceUrls"
|
||||
overrides="true"/>
|
||||
<applicationService serviceInterface="com.intellij.openapi.updateSettings.UpdateStrategyCustomization"
|
||||
serviceImplementation="com.intellij.idea.customization.base.IntelliJIdeaUpdateStrategyCustomization"
|
||||
serviceImplementation="com.intellij.openapi.updateSettings.base.ShowWhatIsNewPageAfterUpdateCustomization"
|
||||
overrides="true"/>
|
||||
</extensions>
|
||||
</idea-plugin>
|
||||
|
||||
@@ -1,8 +0,0 @@
|
||||
package com.intellij.idea.customization.base
|
||||
|
||||
import com.intellij.openapi.updateSettings.UpdateStrategyCustomization
|
||||
|
||||
class IntelliJIdeaUpdateStrategyCustomization : UpdateStrategyCustomization() {
|
||||
override val showWhatIsNewPageAfterUpdate: Boolean
|
||||
get() = true
|
||||
}
|
||||
@@ -0,0 +1,9 @@
|
||||
// Copyright 2000-2023 JetBrains s.r.o. and contributors. Use of this source code is governed by the Apache 2.0 license.
|
||||
package com.intellij.openapi.updateSettings.base
|
||||
|
||||
import com.intellij.openapi.updateSettings.UpdateStrategyCustomization
|
||||
|
||||
class ShowWhatIsNewPageAfterUpdateCustomization : UpdateStrategyCustomization() {
|
||||
override val showWhatIsNewPageAfterUpdate: Boolean
|
||||
get() = true
|
||||
}
|
||||
Reference in New Issue
Block a user