private void createActions() {

		// Interrupt Interpreter
		DockingAction interruptAction = new DockingAction("Interrupt Interpreter", getName()) {
			@Override
			public void actionPerformed(ActionContext context) {
				interrupt();
			}
		};
		interruptAction.setDescription("Interrupt Interpreter");
		interruptAction.setToolBarData(
			new ToolBarData(Icons.NOT_ALLOWED_ICON, null));
		interruptAction.setEnabled(true);
		interruptAction.setKeyBindingData(
			new KeyBindingData(KeyEvent.VK_I, DockingUtils.CONTROL_KEY_MODIFIER_MASK));
		interruptAction.setHelpLocation(new HelpLocation(getTitle(), "Interrupt_Interpreter"));
		console.addAction(interruptAction);

		// Reset Interpreter
		DockingAction resetAction = new DockingAction("Reset Interpreter", getName()) {
			@Override
			public void actionPerformed(ActionContext context) {
				reset();
			}
		};
		resetAction.setDescription("Reset Interpreter");
		resetAction.setToolBarData(
			new ToolBarData(Icons.REFRESH_ICON, null));
		resetAction.setEnabled(true);
		resetAction.setKeyBindingData(
			new KeyBindingData(KeyEvent.VK_D, DockingUtils.CONTROL_KEY_MODIFIER_MASK));
		resetAction.setHelpLocation(new HelpLocation(getTitle(), "Reset_Interpreter"));
		console.addAction(resetAction);
	}
Creates various actions for the plugin.
Ghidra/Features/Jython/src/main/java/ghidra/jython/JythonPlugin.java