@Nonnull
	public Navigable openMethodCallGraph(@Nonnull Workspace workspace,
	                                     @Nonnull WorkspaceResource resource,
	                                     @Nonnull JvmClassBundle bundle,
	                                     @Nonnull JvmClassInfo declaringClass,
	                                     @Nonnull MethodMember method) {
		return createContent(() -> {
			// Create text/graphic for the tab to create.
			String title = Lang.get("menu.view.methodcallgraph") + ": " + method.getName();
			DockableIconFactory graphicFactory = d -> new FontIconView(CarbonIcons.FLOW);

			// Create content for the tab.
			MethodCallGraphsPane content = callGraphsPaneProvider.get();
			content.onUpdatePath(PathNodes.memberPath(workspace, resource, bundle, declaringClass, method));

			// Build the tab.
			return createDockable(dockingManager.getPrimaryTabbedSpace(), title, graphicFactory, content);
		});
	}
Exports a class, prompting the user to select a location to save the class to.

@param workspace
		Containing workspace.
@param resource
		Containing resource.
@param bundle
		Containing bundle.
@param declaringClass
		Class declaring the method
@param method
		Method to show the incoming/outgoing calls of.

@return Navigable reference to the call graph pane.
recaf-ui/src/main/java/software/coley/recaf/services/navigation/Actions.java