Place (Artifact artifact) { Place place = createPlaceFor(myArtifactsStructureConfigurable); if (artifact != null) { place.putPath(MasterDetailsComponent.TREE_NAME, artifact.getName()); } return place; }