@Override
	public void launch(IEditorPart editor, String mode) {
		IEditorInput input = editor.getEditorInput();
		IResource resource = input.getAdapter(IResource.class);
		if (resource != null) {
			launch(resource.getProject(), mode);
		}
	}
Creates a new PyGhidra launch shortcut associated with the given launch configuration type ID.

@param launchConfigTypeId The launch configuration type ID of this PyGhidra launch shortcut.
@param launchConfigNameSuffix A string to append to the name of the launch configuration.
GhidraBuild/EclipsePlugins/GhidraDev/GhidraDevPlugin/src/main/java/ghidradev/ghidraprojectcreator/launchers/AbstractPyGhidraLaunchShortcut.java