コード例 #1
0
 protected ArtifactConfigurableBase(
     Artifact originalArtifact,
     ArtifactsStructureConfigurableContextImpl artifactsStructureContext,
     Runnable updateTree,
     final boolean nameEditable) {
   super(nameEditable, updateTree);
   myOriginalArtifact = originalArtifact;
   myArtifactsStructureContext = artifactsStructureContext;
   myProjectStructureElement =
       myArtifactsStructureContext.getOrCreateArtifactElement(myOriginalArtifact);
 }
コード例 #2
0
 protected Artifact getArtifact() {
   return myArtifactsStructureContext.getArtifactModel().getArtifactByOriginal(myOriginalArtifact);
 }