void (CompositePackagingElement<?> rootElement) { myContext.getOrCreateModifiableArtifactModel().getOrCreateModifiableArtifact(myOriginalArtifact).setRootElement(rootElement); myTreeStructure.updateRootElement(); rebuildTree(); myArtifactsEditor.getSourceItemsTree().rebuildTree(); }