Search in sources :

Example 1 with LiveObjectsFileType

use of com.jetbrains.actionscript.profiler.file.LiveObjectsFileType in project intellij-plugins by JetBrains.

the class LiveObjectsNode method getNavigatable.

@Override
public Navigatable getNavigatable() {
    if (navigatableCache == null) {
        final VirtualFile virtualFile = new LightVirtualFile(runConfigurationName, new LiveObjectsFileType(), "") {

            @NotNull
            @Override
            public String getPath() {
                return getName();
            }
        };
        virtualFile.putUserData(ProfileData.CONTROLLER, liveModelController);
        virtualFile.putUserData(ProfileData.PROFILING_MANAGER, profilingManager);
        navigatableCache = new OpenFileDescriptor(module.getProject(), virtualFile);
    }
    return navigatableCache;
}
Also used : VirtualFile(com.intellij.openapi.vfs.VirtualFile) LightVirtualFile(com.intellij.testFramework.LightVirtualFile) LightVirtualFile(com.intellij.testFramework.LightVirtualFile) OpenFileDescriptor(com.intellij.openapi.fileEditor.OpenFileDescriptor) LiveObjectsFileType(com.jetbrains.actionscript.profiler.file.LiveObjectsFileType)

Aggregations

OpenFileDescriptor (com.intellij.openapi.fileEditor.OpenFileDescriptor)1 VirtualFile (com.intellij.openapi.vfs.VirtualFile)1 LightVirtualFile (com.intellij.testFramework.LightVirtualFile)1 LiveObjectsFileType (com.jetbrains.actionscript.profiler.file.LiveObjectsFileType)1