diff --git a/platform/platform-api/src/com/intellij/execution/ui/FragmentedSettings.kt b/platform/platform-api/src/com/intellij/execution/ui/FragmentedSettings.kt index 15052f1a4c5b..92b94c265626 100644 --- a/platform/platform-api/src/com/intellij/execution/ui/FragmentedSettings.kt +++ b/platform/platform-api/src/com/intellij/execution/ui/FragmentedSettings.kt @@ -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