use of com.jetbrains.actionscript.profiler.file.CpuSnapshotFileType in project intellij-plugins by JetBrains.
the class CPUSnapshotNode method getNavigatable.
@Override
public Navigatable getNavigatable() {
if (navigatableCache == null) {
final String name = runConfigurationName + " " + getTitle();
VirtualFile virtualFile = new LightVirtualFile(name, new CpuSnapshotFileType(), "") {
@NotNull
@Override
public String getPath() {
return getName();
}
};
virtualFile.putUserData(ProfileData.CALL_TREE_KEY, callTree);
navigatableCache = new OpenFileDescriptor(module.getProject(), virtualFile);
}
return navigatableCache;
}
Aggregations