本文整理汇总了Java中com.intellij.debugger.ui.impl.DebuggerTreePanel类的典型用法代码示例。如果您正苦于以下问题:Java DebuggerTreePanel类的具体用法?Java DebuggerTreePanel怎么用?Java DebuggerTreePanel使用的例子?那么, 这里精选的类代码示例或许可以为您提供帮助。
DebuggerTreePanel类属于com.intellij.debugger.ui.impl包,在下文中一共展示了DebuggerTreePanel类的7个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: getDebuggerContext
import com.intellij.debugger.ui.impl.DebuggerTreePanel; //导入依赖的package包/类
public static DebuggerContextImpl getDebuggerContext(DataContext dataContext) {
DebuggerTreePanel panel = getPanel(dataContext);
if(panel != null) {
return panel.getContext();
} else {
Project project = CommonDataKeys.PROJECT.getData(dataContext);
return project != null ? (DebuggerManagerEx.getInstanceEx(project)).getContext() : DebuggerContextImpl.EMPTY_CONTEXT;
}
}
示例2: getDebuggerContext
import com.intellij.debugger.ui.impl.DebuggerTreePanel; //导入依赖的package包/类
public static DebuggerContextImpl getDebuggerContext(DataContext dataContext) {
DebuggerTreePanel panel = getPanel(dataContext);
if(panel != null) {
return panel.getContext();
} else {
Project project = PlatformDataKeys.PROJECT.getData(dataContext);
return project != null ? (DebuggerManagerEx.getInstanceEx(project)).getContext() : DebuggerContextImpl.EMPTY_CONTEXT;
}
}
示例3: getDebuggerContext
import com.intellij.debugger.ui.impl.DebuggerTreePanel; //导入依赖的package包/类
public static DebuggerContextImpl getDebuggerContext(DataContext dataContext)
{
DebuggerTreePanel panel = getPanel(dataContext);
if(panel != null)
{
return panel.getContext();
}
else
{
Project project = dataContext.getData(CommonDataKeys.PROJECT);
return project != null ? (DebuggerManagerEx.getInstanceEx(project)).getContext() : DebuggerContextImpl.EMPTY_CONTEXT;
}
}
示例4: getPanel
import com.intellij.debugger.ui.impl.DebuggerTreePanel; //导入依赖的package包/类
@Nullable
public static DebuggerTreePanel getPanel(DataContext dataContext){
return DebuggerTreePanel.DATA_KEY.getData(dataContext);
}
示例5: getContextManager
import com.intellij.debugger.ui.impl.DebuggerTreePanel; //导入依赖的package包/类
@Nullable
public static DebuggerStateManager getContextManager(DataContext dataContext) {
DebuggerTreePanel panel = getPanel(dataContext);
return panel == null ? null : panel.getContextManager();
}
示例6: getPanel
import com.intellij.debugger.ui.impl.DebuggerTreePanel; //导入依赖的package包/类
@Nullable
public static DebuggerTreePanel getPanel(DataContext dataContext)
{
return dataContext.getData(DebuggerTreePanel.DATA_KEY);
}
示例7: getContextManager
import com.intellij.debugger.ui.impl.DebuggerTreePanel; //导入依赖的package包/类
@Nullable
public static DebuggerStateManager getContextManager(DataContext dataContext)
{
DebuggerTreePanel panel = getPanel(dataContext);
return panel == null ? null : panel.getContextManager();
}