private void createContextMenuActions() {
		String owner = getClass().getSimpleName();

		InstructionSearchPlugin plugin = getPlugin();
		PluginTool tool = plugin.getTool();
		tool.setMenuGroup(new String[] { "Copy Special" }, actionMenuGroup, "1");

		createCopyNoSpacesAction(owner);
		copyNoSpacesAction.setPopupMenuData(
			new MenuData(new String[] { "Copy Special", "Selected instructions (no spaces)" },
				Icons.COPY_ICON, actionMenuGroup,
				MenuData.NO_MNEMONIC, Integer.toString(1)));

		createCopyInstructionAction(owner);
		copyInstructionAction.setPopupMenuData(
			new MenuData(new String[] { "Copy Special", "Selected Instructions" },
				Icons.COPY_ICON, actionMenuGroup,
				MenuData.NO_MNEMONIC, Integer.toString(1)));

		createCopyInstructionWithCommentsAction(owner);
		copyInstructionWithCommentsAction.setPopupMenuData(
			new MenuData(new String[] { "Copy Special", "Selected Instructions (with comments)" },
				Icons.COPY_ICON, actionMenuGroup,
				MenuData.NO_MNEMONIC, Integer.toString(1)));

		dialog.addAction(copyNoSpacesAction);
		dialog.addAction(copyInstructionAction);
		dialog.addAction(copyInstructionWithCommentsAction);
	}
Updates the table to display preview data as either hex or binary
(depends on the setting of 'currentView').
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/instructionsearch/ui/PreviewTable.java