public static OpenWithTarget getDefault(PluginTool tool) {
		Project project = tool.getProject();
		if (project == null) {
			return null;
		}
		ProgramManager pm = tool.getService(ProgramManager.class);
		if (pm != null) {
			return new OpenWithTarget(tool.getName(), pm, tool.getIcon());
		}
		if (AppInfo.getFrontEndTool().getDefaultLaunchMode() == DefaultLaunchMode.REUSE_TOOL) {
			List<OpenWithTarget> runningTargets = getRunningTargets(project);
			if (!runningTargets.isEmpty()) {
				return runningTargets.get(0);
			}
		}
		ToolTemplate defaultTT = project.getToolServices()
				.getDefaultToolTemplate(ProgramContentHandler.PROGRAM_CONTENT_TYPE);
		return new OpenWithTarget(defaultTT.getName(), null, defaultTT.getIcon());
	}
Returns an OpenWithTarget, or null, that represents the specified tool's default ability 
to open a {@link DomainFile}.

@param tool a {@link PluginTool}
@return a {@link OpenWithTarget}, or null if the specified tool can't open a domain file
Ghidra/Features/Base/src/main/java/ghidra/plugins/fsbrowser/OpenWithTarget.java