void (ArtifactProblemDescription problem) { PackagingElementNode<?> node = myArtifactEditor.getLayoutTreeComponent().getRootNode(); final List<PackagingElement<?>> pathToPlace = problem.getPathToPlace(); if (node != null && pathToPlace != null) { List<PackagingElementNode<?>> nodes = node.getNodesByPath(pathToPlace.subList(1, pathToPlace.size())); for (PackagingElementNode<?> elementNode : nodes) { myProblemsForNodes.put(elementNode, problem); } } }