mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-02-04 23:39:07 +07:00
IDEA-352824 Support Multiple Projects for Maven and Gradle
no background for workspace node GitOrigin-RevId: 958c6aa3e1c7cb64a57a5e60540068d708e75f7f
This commit is contained in:
committed by
intellij-monorepo-bot
parent
b5ed49e0f7
commit
5b3986df4b
@@ -24,6 +24,7 @@ import com.intellij.openapi.vfs.VirtualFile
|
||||
import com.intellij.project.stateStore
|
||||
import com.intellij.psi.PsiDirectory
|
||||
import com.intellij.psi.PsiManager
|
||||
import java.awt.Color
|
||||
import kotlin.io.path.invariantSeparatorsPathString
|
||||
|
||||
private val WORKSPACE_NODE = DataKey.create<Boolean>("project.view.workspace.node")
|
||||
@@ -111,6 +112,8 @@ internal class WorkspaceTreeStructureProvider(val project: Project) : TreeStruct
|
||||
data.setIcon(ExpUiIcons.Nodes.Workspace)
|
||||
}
|
||||
|
||||
override fun computeBackgroundColor(): Color? = null
|
||||
|
||||
override fun contains(file: VirtualFile): Boolean {
|
||||
return projectNode.contains(file)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user