@Override
	public boolean isEnabledForContext(DomainFileContext context) {
		List<DomainFile> domainFiles = context.getSelectedFiles();
		if (domainFiles.size() != 1) {
			return false;
		}
		if (isFileSystemBusy()) {
			return false; // don't block; we should get called again later
		}

		DomainFile domainFile = domainFiles.get(0);
		return domainFile.isVersioned();
	}
Creates an action to view the current checkouts for a single domain file in the repository.
@param plugin the plug-in that owns this action.
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/projectdata/actions/VersionControlViewCheckOutAction.java