mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
fix roaming type for Project View settings
This commit is contained in:
+6
-3
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
* Copyright 2000-2016 JetBrains s.r.o.
|
||||
* Copyright 2000-2017 JetBrains s.r.o.
|
||||
*
|
||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||
* you may not use this file except in compliance with the License.
|
||||
@@ -15,14 +15,17 @@
|
||||
*/
|
||||
package com.intellij.ide.projectView.impl
|
||||
|
||||
import com.intellij.openapi.components.*
|
||||
import com.intellij.openapi.components.PersistentStateComponent
|
||||
import com.intellij.openapi.components.ServiceManager
|
||||
import com.intellij.openapi.components.State
|
||||
import com.intellij.openapi.components.Storage
|
||||
import com.intellij.util.xmlb.XmlSerializerUtil
|
||||
|
||||
/**
|
||||
* @author Konstantin Bulenkov
|
||||
*/
|
||||
@State(name = "ProjectViewSharedSettings",
|
||||
storages = arrayOf(Storage(value = "projectView.xml", roamingType = RoamingType.PER_OS)))
|
||||
storages = arrayOf(Storage(value = "projectView.xml")))
|
||||
|
||||
class ProjectViewSharedSettings : PersistentStateComponent<ProjectViewSharedSettings> {
|
||||
var flattenPackages = false
|
||||
|
||||
Reference in New Issue
Block a user