static @Nullable UndoManager fromContext(DataContext dataContext) {
      javax.swing.undo.UndoManager swingUndoManager =
        SwingUndoUtil.getUndoManager(PlatformCoreDataKeys.CONTEXT_COMPONENT.getData(dataContext));
      return swingUndoManager != null ? new SwingUndoManagerWrapper(swingUndoManager) : null;
    }
static @Nullable UndoManager fromContext(DataContext dataContext)