SourceItemPresentation (@NotNull ArtifactEditorContext context) { final ArtifactPointer pointer = ArtifactPointerManager.getInstance(context.getProject()).createPointer(myArtifact, context.getArtifactModel()); return new DelegatedSourceItemPresentation(new ArtifactElementPresentation(pointer, context)) { @Override public int getWeight() { return SourceItemWeights.ARTIFACT_WEIGHT; } }; }