boolean (RestorableStateNode treeNode) { if (treeNode instanceof XValueNodeImpl) { XValuePresentation presentation = ((XValueNodeImpl)treeNode).getValuePresentation(); if (presentation instanceof XValueExtendedPresentation) { if (((XValueExtendedPresentation)presentation).isModified()) { treeNode.markChanged(); } return true; } } return false; }