@Override
	public void workspaceAdded(Workspace ws) {
		if (ws == null) {
			return;
		}

		String wsName = ws.getName();

		RunningToolsPanel rtp = new RunningToolsPanel(plugin, ws);
		runningToolsCardPanel.add(rtp, wsName);
		runningToolsMap.put(wsName, rtp);

		workspaceModel.addElement(wsName);

		validate();
	}
called when a workspace is added by the ToolManager
Ghidra/Framework/Project/src/main/java/ghidra/framework/main/WorkspacePanel.java