@Override
	public void actionPerformed(ActionContext context) {
		if (!isEnabledForContext(context)) {
			return;
		}

		provider.editorPanel.comitEntryChanges();

		try {
			model.apply();
		}
		catch (EmptyCompositeException | InvalidDataTypeException e) {
			model.setStatus(e.getMessage(), true);
		}
	}
ApplyAction is an action for applying editor changes.
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/ApplyAction.java