Boolean adviseOpened = stateAdvisor.adviseNodeOpened(tree);
if (null != adviseOpened) {
if (adviseOpened.booleanValue()) {
if (!componentState.isExpanded(rowKey)) {
componentState.expandNode(tree, rowKey);
}
}
else {
if (componentState.isExpanded(rowKey)) {
componentState.collapseNode(tree, rowKey);