예제 #1
0
 @Override
 public <T> T updateReferencedNodeCell(Computable<T> update, SNode node, String role) {
   ReferencedNodeContext currentContext = myContextStack.peek();
   myContextStack.push(
       currentContext.contextWithOneMoreReference(node, currentContext.getNode(), role));
   try {
     return update.compute();
   } finally {
     myContextStack.pop();
   }
 }