예제 #1
0
 public EditorCell performUpdate() {
   ReferencedNodeContext currentContext = ReferencedNodeContext.createNodeContext(getNode());
   myContextStack.push(currentContext);
   EditorContext editorContext = getUpdater().getEditorContext();
   editorContext.getCellFactory().pushCellContext();
   try {
     editorContext.getCellFactory().addCellContextHints(getInitialEditorHints(editorContext));
     String[] explicitHintsForNode = getExplicitHintsForNode(getNode());
     if (explicitHintsForNode != null) {
       editorContext.getCellFactory().addCellContextHints(explicitHintsForNode);
     }
     return EditorManager.getInstanceFromContext(editorContext)
         .createRootCell(
             getNode(), getModelModifications(), currentContext, editorContext.isInspector());
   } finally {
     editorContext.getCellFactory().popCellContext();
     myContextStack.pop();
   }
 }