private void init() {
		ImageIcon icon = null;
		String menuText = null;
		String description = null;
		int height = Icons.MAKE_SELECTION_ICON.getIconHeight()/2;
		int weight = Icons.MAKE_SELECTION_ICON.getIconWidth()/2;
		MultiIconBuilder iconBuilder = new MultiIconBuilder(Icons.MAKE_SELECTION_ICON);
		if (endpoint.equals(RangeEndpoint.MIN)) {
			iconBuilder.addIcon(Icons.UP_ICON, weight, height, QUADRANT.UL);
			icon = iconBuilder.build();
			menuText = "Select Min Endpoints";
			description =
				"Makes a Program Selection from the minimum addresses in the selected rows";
		}
		else {
			iconBuilder.addIcon(Icons.DOWN_ICON, weight, height, QUADRANT.LL);
			icon = iconBuilder.build();
			menuText = "Select Max Endpoints";
			description =
				"Makes a Program Selection from the maximum addresses in the selected rows";
		}
		setPopupMenuData(new MenuData(new String[] { menuText }, icon));
		setToolBarData(new ToolBarData(icon));
		setDescription(description);
	}
Creates an action which selects the endpoint of a range based on {@code RangeEndpoint}
@param plugin plugin
@param program program
@param model model 
@param endpoint left or right endpoint
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/codebrowser/SelectEndpointsAction.java