@Override
	public PluginTool[] getConsumerTools() {
		ArrayList<PluginTool> consumers = new ArrayList<>(TYPICAL_NUM_TOOLS);
		PluginTool[] runningTools = getRunningTools();
		for (PluginTool tool : runningTools) {
			if (tool.getConsumedToolEventNames().length > 0) {
				consumers.add(tool);
			}
		}
		PluginTool[] tools = new PluginTool[consumers.size()];
		consumers.toArray(tools);
		return tools;
	}
Registers the new instance of the tool in the namesMap and returns the total number of
running instances of that tool
@param toolName the name of the tool being registers
@param tool the tool being registered
Ghidra/Framework/Project/src/main/java/ghidra/framework/project/tool/ToolManagerImpl.java