private String getDefaultToolAssociation(String contentType) {

		try {
			ContentHandler<?> contentHandler = DomainObjectAdapter.getContentHandler(contentType);
			return contentHandler.getDefaultToolName();
		}
		catch (IOException e) {
			// Failed to identify content handler
			Msg.error(this, e.getMessage());
		}
		return null;
	}
Implementation of service used to manipulate tools.
Ghidra/Framework/Project/src/main/java/ghidra/framework/project/tool/ToolServicesImpl.java