本文整理匯總了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();
}