ItemPresentation () { return new ItemPresentation() { @Override public String getPresentableText() { return PropertiesFileStructureViewElement.this.getPresentableText(); } @Override public Icon getIcon(boolean open) { return getElement().getIcon(0); } }; }