public abstract class FileColorManager
extends java.lang.Object
Constructor and Description |
---|
FileColorManager() |
Modifier and Type | Method and Description |
---|---|
abstract void |
addScopeColor(java.lang.String scopeName,
java.lang.String colorName,
boolean isProjectLevel) |
abstract java.awt.Color |
getColor(java.lang.String name) |
abstract java.util.Collection<java.lang.String> |
getColorNames() |
abstract java.awt.Color |
getFileColor(VirtualFile file) |
static FileColorManager |
getInstance(Project project) |
abstract Project |
getProject() |
abstract java.awt.Color |
getRendererBackground(PsiFile file) |
abstract java.awt.Color |
getRendererBackground(VirtualFile file) |
abstract java.awt.Color |
getScopeColor(java.lang.String scopeName) |
abstract boolean |
isEnabled() |
abstract boolean |
isEnabledForProjectView() |
abstract boolean |
isEnabledForTabs() |
abstract boolean |
isShared(java.lang.String scopeName) |
abstract void |
setEnabled(boolean enabled) |
public static FileColorManager getInstance(Project project)
public abstract boolean isEnabled()
public abstract void setEnabled(boolean enabled)
public abstract boolean isEnabledForTabs()
public abstract boolean isEnabledForProjectView()
public abstract Project getProject()
public abstract java.awt.Color getColor(java.lang.String name)
public abstract java.util.Collection<java.lang.String> getColorNames()
public abstract java.awt.Color getFileColor(VirtualFile file)
public abstract java.awt.Color getScopeColor(java.lang.String scopeName)
public abstract boolean isShared(java.lang.String scopeName)
public abstract java.awt.Color getRendererBackground(VirtualFile file)
public abstract java.awt.Color getRendererBackground(PsiFile file)
public abstract void addScopeColor(java.lang.String scopeName, java.lang.String colorName, boolean isProjectLevel)