@Override
	protected void applyCallback() {
		preComment = preField.getText();
		postComment = postField.getText();
		eolComment = eolField.getText();
		plateComment = plateField.getText();
		repeatableComment = repeatableField.getText();

		plugin.updateComments(codeUnit, preComment, postComment, eolComment, plateComment,
			repeatableComment);

		wasChanged = false;
		setApplyEnabled(false);
	}
Display this dialog.
@param cu code unit
@param type comment type
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/comments/CommentsDialog.java