public final class FileColorsModel
extends java.lang.Object
implements java.lang.Cloneable
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
FILE_COLOR |
Modifier and Type | Method and Description |
---|---|
void |
add(com.intellij.ui.tabs.FileColorConfiguration configuration,
boolean isProjectLevel) |
void |
add(java.lang.String scopeName,
java.lang.String colorName,
boolean isProjectLevel) |
FileColorsModel |
clone() |
java.lang.String |
getColor(PsiFile psiFile) |
java.lang.String |
getColor(VirtualFile file,
Project project) |
java.util.List<com.intellij.ui.tabs.FileColorConfiguration> |
getLocalConfigurations() |
java.util.List<com.intellij.ui.tabs.FileColorConfiguration> |
getProjectLevelConfigurations() |
java.lang.String |
getScopeColor(java.lang.String scopeName,
Project project) |
boolean |
isColored(java.lang.String scopeName,
boolean isProjectLevel) |
boolean |
isProjectLevel(com.intellij.ui.tabs.FileColorConfiguration configuration) |
boolean |
isProjectLevel(java.lang.String scopeName) |
void |
load(Element e,
boolean isProjectLevel) |
void |
setConfigurations(java.util.List<? extends com.intellij.ui.tabs.FileColorConfiguration> configurations,
boolean isProjectLevel) |
public static final java.lang.String FILE_COLOR
public void load(Element e, boolean isProjectLevel)
public FileColorsModel clone() throws java.lang.CloneNotSupportedException
clone
in class java.lang.Object
java.lang.CloneNotSupportedException
public void add(com.intellij.ui.tabs.FileColorConfiguration configuration, boolean isProjectLevel)
public void add(java.lang.String scopeName, java.lang.String colorName, boolean isProjectLevel)
public boolean isProjectLevel(java.lang.String scopeName)
public java.lang.String getColor(PsiFile psiFile)
public java.lang.String getColor(VirtualFile file, Project project)
public java.lang.String getScopeColor(java.lang.String scopeName, Project project)
public boolean isProjectLevel(com.intellij.ui.tabs.FileColorConfiguration configuration)
public void setConfigurations(java.util.List<? extends com.intellij.ui.tabs.FileColorConfiguration> configurations, boolean isProjectLevel)
public boolean isColored(java.lang.String scopeName, boolean isProjectLevel)
public java.util.List<com.intellij.ui.tabs.FileColorConfiguration> getLocalConfigurations()
public java.util.List<com.intellij.ui.tabs.FileColorConfiguration> getProjectLevelConfigurations()