void () { if (myParentTitle == null) return; AbstractTreeNode node = getParentNode(); if (node instanceof ProjectViewNode) { myParentTitle.setText(((ProjectViewNode<?>)node).getTitle()); } else { myParentTitle.setText(null); } }