@Override
	public void run(TaskMonitor myMonitor) {
		this.monitor = myMonitor;
		myMonitor.setMessage("Examining selected file(s)");
		String currentName = null;
		try {
			for (int i = 0; i < list.size() && actionID != VersionControlDialog.CANCEL; i++) {

				df = list.get(i);
				currentName = df.getName();
				newFile = true;

				if (i != 0) {
					try {
						// Give Swing a chance to update
						Thread.sleep(200);
					}
					catch (InterruptedException e2) {
						break;
					}
				}

				myMonitor.setMessage("Initiating Check In for " + currentName);
				try {
					df.checkin(this, myMonitor);
				}
				catch (VersionException e) {
					VersionExceptionHandler.showVersionError(parent, df.getName(),
						df.getContentType(), "Checkin", e);
				}
				if (myMonitor.isCancelled()) {
					break;
				}
			}
		}
		catch (CancelledException e) {
			Msg.info(this, "Check In Process was canceled");
			wasCanceled = true;
		}
		catch (IOException e) {
			RepositoryAdapter repo = df.getParent().getProjectData().getRepository();
			ClientUtil.handleException(repo, e, "Check In Process", parent);
		}
	}
Construct a new CheckInTask.
@param tool tool that has the files to be checked in
@param list list of domain files to be checked in
@param parent parent of error dialog if an error occurs
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/datatree/CheckInTask.java