@Override
  protected ProjectStructureElement getSelectedElement() {
    PackagingElement<?> packagingElement = myLayoutTreeComponent.getSelection().getElementIfSingle();
    if (packagingElement == null) return null;

    return ArtifactProjectStructureElement.getProjectStructureElementFor(packagingElement, getContext(), myArtifactContext);
  }
@Override
  protected ProjectStructureElement getSelectedElement()