boolean () { boolean changed = false; // special handling for roots with names (e.g. web roots) if (myName == null || myComment == null) { final String newName = myFileElement.toString(); if (!newName.equals(myName)) changed = true; myName = newName; } VirtualFile file = myFileElement.getFile(); if (file == null) return true; setIcon(myOriginalIcon); if (myFileElement.isHidden()) { Icon icon = getIcon(); if (icon != null) { setIcon(IconLoader.getTransparentIcon(icon)); } } myColor = myFileElement.isHidden() ? SimpleTextAttributes.DARK_TEXT.getFgColor() : null; return changed; }