FragmentedSettings.Option must be BaseState

GitOrigin-RevId: e538e77a66b758b0352fbf53fb733bc9b2b36409
This commit is contained in:
Vladimir Krivosheev
2021-03-10 19:15:17 +00:00
committed by intellij-monorepo-bot
parent 57cbf83433
commit 5575a15b95
@@ -1,22 +1,23 @@
// Copyright 2000-2020 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.
// Copyright 2000-2021 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.execution.ui
import com.intellij.openapi.components.BaseState
import com.intellij.util.xmlb.annotations.Attribute
import com.intellij.util.xmlb.annotations.Tag
interface FragmentedSettings {
@Tag("option")
class Option() {
class Option() : BaseState() {
constructor(name: String, visible: Boolean): this() {
this.name = name
this.visible = visible
}
@get:Attribute("name")
var name: String = ""
var name by string()
@get:Attribute("visible")
var visible: Boolean = true
var visible by property(true)
}
var selectedOptions: MutableList<Option>