Node baseNode = fileObject != null
? fileObject.getNodeDelegate()
: Node.EMPTY;
// TODO: Update the created node if the underlying project is reloaded.
return new FilterNode(baseNode.cloneNode()) {
@Override
public Image getIcon(int type) {
return NbIcons.getGradleIcon();
}