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