@Override
	protected void okCallback() {
		Object[] objs = handlerComboBox.getSelectedObjects();
		if (objs != null && objs.length > 0) {
			handler = (AnnotationHandler) objs[0];
		}
		success = true;
		close();
	}
A simple dialog to select the language export type.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/datamgr/actions/AnnotationHandlerDialog.java