ActionCallback (boolean restoreExpandedPaths) { Runnable afterUpdate; final ActionCallback cb = new ActionCallback(); afterUpdate = cb.createSetDoneRunnable(); if (myAsyncSupport != null) { myAsyncSupport.updateAll(afterUpdate); } else { return ActionCallback.REJECTED; } return cb; }