From 5575a15b95ca8564e2c764007328d538a678acaa Mon Sep 17 00:00:00 2001 From: Vladimir Krivosheev Date: Wed, 10 Mar 2021 12:00:52 +0100 Subject: [PATCH] FragmentedSettings.Option must be BaseState GitOrigin-RevId: e538e77a66b758b0352fbf53fb733bc9b2b36409 --- .../src/com/intellij/execution/ui/FragmentedSettings.kt | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) 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