public void addWorkspaceListeners() {
		Workspace workspace = rootPath.getValue();

		// Add listeners
		workspace.addWorkspaceModificationListener(this);
		for (WorkspaceResource resource : workspace.getAllResources(false))
			resource.addListener(this);
	}
Register listeners on the associated {@link Workspace} to facilitate automatic updates to this tree model.
recaf-ui/src/main/java/software/coley/recaf/ui/control/tree/WorkspaceRootTreeNode.java