boolean () { CompositeAppearance oldAppearance = myAppearance; myAppearance = new CompositeAppearance(); myAppearance.getEnding().addText(myBuildFile.getPresentableName(), SimpleTextAttributes.REGULAR_ATTRIBUTES); final AntBuildModelBase buildModel = myBuildFile.getModelIfRegistered(); if (buildModel != null) { AntTargetNodeDescriptor.addShortcutText(buildModel.getDefaultTargetActionId(), myAppearance); } myAppearance.setIcon(AntIcons.Build); myName = myBuildFile.getPresentableName(); return !Comparing.equal(myAppearance, oldAppearance); }