public void setPackingType(PackingType packingType, int explicitValue) {
		viewDTM.withTransaction("Set Packing", () -> {
			PackingType currentPacktype = getPackingType();
			if (packingType == PackingType.DISABLED) {
				if (currentPacktype == PackingType.DISABLED) {
					return;
				}
				viewComposite.setPackingEnabled(false);
			}
			else if (packingType == PackingType.DEFAULT) {
				if (currentPacktype == PackingType.DEFAULT) {
					return;
				}
				viewComposite.setToDefaultPacking();
			}
			else {
				if (currentPacktype == PackingType.EXPLICIT &&
					explicitValue == viewComposite.getExplicitPackingValue()) {
					return;
				}
				viewComposite.setExplicitPackingValue(explicitValue);
			}
		});
		if (fixSelection()) {
			selectionChanged();
		}
		notifyCompositeChanged();
	}
Return the (minimum) alignment type for the structure or union being viewed
@return the alignment type
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/compositeeditor/CompEditorModel.java