EntrySupport origSupport = original.getChildren().entrySupport(); synchronized (org.openide.nodes.Children.class) { if (getEntrySupport() == support && support.originalSupport() != origSupport) {
private boolean checkSupportChanged() { FilterChildrenSupport support = (FilterChildrenSupport) entrySupport(); EntrySupport origSupport = original.getChildren().entrySupport(); if (support.originalSupport() != origSupport) { assert Children.MUTEX.isWriteAccess() : "Should be called only under write access"; // NOI18N changeSupport(null); return true; } else { return false; } }