private void openDomainFiles(List<DomainFile> domainFiles) {
		if (CollectionUtils.isBlank(domainFiles)) {
			plugin.getActiveWorkspace().runTool(template);
		}
		else {
			PluginTool tool = toolServices.launchTool(template.getName(), domainFiles);
			if (tool == null) {
				Msg.showError(this, getParent(), "Failed to Launch Tool",
					"Failed to launch " + template.getName() + " tool.\nSee log for details.");
			}
		}
	}
Fix the button state after dragging/dropping, since this is broken in Java
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/ToolButton.java