Bug 127861 [DataBinding] Mark API provisional
bundles/org.eclipse.jface.databinding/src/org/eclipse/jface/databinding/viewers/UpdatableTreeContentProvider.java
actuallyRemoved.add(node);
                }
            }
            if (!treeViewer.getControl().isDisposed()) {
                if (avoidViewerUpdates == 0) {
                    if (mapElementToValueTreeNode.containsKey(node)) {
                    	
                    	Method removeMethod = null;
                    	boolean haveRemoveMethod32 = false;
                    	try {
                    		removeMethod = treeViewer.getClass().getDeclaredMethod("remove", new Class[]{Object.class, Object[].class}); 
                    		if (removeMethod != null) 
                    			haveRemoveMethod32 = true;
                    	} catch (Exception e) {}
                    	if (haveRemoveMethod32) {
                    		try {
                    			removeMethod.invoke(treeViewer, new Object[] {removed.toArray()});
                    		} catch (Exception e) {
                    			
                            	treeViewer.remove(removed.toArray());
                    		}
                    	} else {
                        	treeViewer.remove(removed.toArray());
                    	}
                    }
                    
                    doFireRemove(actuallyRemoved);
                }
            }
        }