1 2 25 26 package org.aspectj.ajde.ui; 27 28 import java.util.*; 29 import org.aspectj.asm.*; 30 31 37 public class FileStructureView extends StructureView { 38 39 private String sourceFilePath = null; 40 41 public FileStructureView(StructureViewProperties viewProperties) { 42 super.viewProperties = viewProperties; 43 } 44 public String getSourceFile() { 45 return sourceFilePath; 46 } 47 48 public void setSourceFile(String sourceFile) { 49 this.sourceFilePath = sourceFile; 50 } 51 52 public void setRootNode(StructureViewNode rootNode) { 53 super.setRootNode(rootNode); 54 notifyViewUpdated(); 55 } 56 57 public String getName() { 58 return "File view for: " + sourceFilePath; 59 } 60 } 61 62 | Popular Tags |