@Nonnull
	private Dockable createCommentEditDockable(@Nonnull PathNode<?> path, @Nonnull String title,
	                                           @Nonnull DockableIconFactory graphicFactory, @Nonnull ClassInfo classInfo) {
		// Create content for the dockable.
		CommentEditPane content = documentationPaneProvider.get();
		content.onUpdatePath(path);

		// Place the tab in a region with other comments if possible.
		DockablePath docPanePath = null;
		for (DockablePath dockablePath : dockingManager.getBento().getAllDockables()) {
			Dockable dockable = dockablePath.dockable();
			Node node = dockable.nodeProperty().get();
			if (node instanceof DocumentationPane) {
				docPanePath = dockablePath;
				break;
			}
		}
		TabbedDockSpace space = docPanePath != null ?
				(TabbedDockSpace) docPanePath.space() :
				dockingManager.getPrimaryTabbedSpace();

		// Build the dockable.
		Dockable dockable = createDockable(space, title, graphicFactory, content);
		space.addDockable(dockable);
		dockable.withCachedContextMenu(true).withContextMenuFactory(d -> {
			ContextMenu menu = new ContextMenu();
			ObservableList<MenuItem> items = menu.getItems();
			addCloseActions(menu, dockable);
			return menu;
		});
		return dockable;
	}
Prompts the user to document the given class into.

@param workspace
		Containing workspace.
@param resource
		Containing resource.
@param bundle
		Containing bundle.
@param declaringClass
		Containing class.
@param member
		Member to document.
recaf-ui/src/main/java/software/coley/recaf/services/navigation/Actions.java