void createCompareAction() {
		compareAction = new ActionBuilder("Compare Functions", plugin.getName())
				.description("Create Function Comparison")
				.helpLocation(new HelpLocation("FunctionComparison", "Function_Comparison"))
				.toolBarIcon(COMPARISON_ICON)
				.toolBarGroup("Comparison")
				.enabledWhen(c -> functionTable.getSelectedRowCount() > 1)
				.onAction(c -> compareSelectedFunctions())
				.buildAndInstallLocal(this);
	}
Constructor

@param plugin the function window plugin
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/functionwindow/FunctionWindowProvider.java