@Override
	protected boolean isEnabledForContext(ListingActionContext context) {
		return plugin.isCreateDataAllowed(context);
	}
Get the maximum number of elements that will fit.  This means the undefined
bytes available up to the next instruction or end of defined memory.

@return the maximum number of elements for an array of the given data type
Ghidra/Features/Base/src/main/java/ghidra/app/plugin/core/data/CreateArrayAction.java