How to set highlight color in plugin DevKit


In plugin dev kit 
I have found out how to get color of selected file: 
final Project currentProject = DataKeys.PROJECT.getData(anActionEvent.getDataContext()); 
VirtualFile[] currentFiles = DataKeys.VIRTUAL_FILE_ARRAY.getData(anActionEvent.getDataContext()); 
if(currentFiles != null) { 
Arrays.asList(currentFiles).forEach(virtualFile -> { 
FileColorManager colorManager = FileColorManager.getInstance(currentProject); 
Color color = colorManager.getFileColor(virtualFile); 


But how to SET color of selected file?


Please sign in to leave a comment.