当前位置: 首页>>代码示例>>Java>>正文


Java DebuggerSession.Event方法代码示例

本文整理汇总了Java中com.intellij.debugger.impl.DebuggerSession.Event方法的典型用法代码示例。如果您正苦于以下问题:Java DebuggerSession.Event方法的具体用法?Java DebuggerSession.Event怎么用?Java DebuggerSession.Event使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在com.intellij.debugger.impl.DebuggerSession的用法示例。


在下文中一共展示了DebuggerSession.Event方法的13个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: UpdatableDebuggerView

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
protected UpdatableDebuggerView(final Project project, final DebuggerStateManager stateManager) {
  setLayout(new BorderLayout());
  myProject = project;
  myStateManager = stateManager;

  final DebuggerContextListener contextListener = new DebuggerContextListener() {
    public void changeEvent(@NotNull DebuggerContextImpl newContext, DebuggerSession.Event event) {
      UpdatableDebuggerView.this.changeEvent(newContext, event);
    }
  };
  myStateManager.addListener(contextListener);

  registerDisposable(new Disposable() {
    public void dispose() {
      myStateManager.removeListener(contextListener);
    }
  });

}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:20,代码来源:UpdatableDebuggerView.java

示例2: changeEvent

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
@Override
public void changeEvent(@NotNull DebuggerContextImpl debuggerContext, DebuggerSession.Event event) {
    switch (event) {
        case ATTACHED:
            firstPauseAfterStartOrResume = true;
            break;
        case PAUSE:
            if (firstPauseAfterStartOrResume) {
                trackingEventManager.addEvent(new DebugEventBase(TrackingEventType.SUSPEND_BREAKPOINT, new Date()));
                firstPauseAfterStartOrResume = false;
            }
            break;
        case RESUME:
            trackingEventManager.addEvent(new DebugEventBase(TrackingEventType.RESUME_CLIENT, new Date()));
            firstPauseAfterStartOrResume = true;
            break;
    }
}
 
开发者ID:TestRoots,项目名称:watchdog,代码行数:19,代码来源:DebugEventListener.java

示例3: UpdatableDebuggerView

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
protected UpdatableDebuggerView(final Project project, final DebuggerStateManager stateManager)
{
	setLayout(new BorderLayout());
	myProject = project;
	myStateManager = stateManager;

	final DebuggerContextListener contextListener = new DebuggerContextListener()
	{
		@Override
		public void changeEvent(@NotNull DebuggerContextImpl newContext, DebuggerSession.Event event)
		{
			UpdatableDebuggerView.this.changeEvent(newContext, event);
		}
	};
	myStateManager.addListener(contextListener);

	registerDisposable(new Disposable()
	{
		@Override
		public void dispose()
		{
			myStateManager.removeListener(contextListener);
		}
	});

}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:27,代码来源:UpdatableDebuggerView.java

示例4: rebuildIfVisible

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
public final void rebuildIfVisible(final DebuggerSession.Event event) {
  if(isUpdateEnabled()) {
    myRefreshNeeded = false;
    rebuild(event);
  }
  else {
    myRefreshNeeded = true;
  }
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:10,代码来源:UpdatableDebuggerView.java

示例5: changeEvent

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
protected void changeEvent(final DebuggerContextImpl newContext, final DebuggerSession.Event event)
{
	if(newContext.getDebuggerSession() != null)
	{
		rebuildIfVisible(event);
	}
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:8,代码来源:UpdatableDebuggerView.java

示例6: rebuildIfVisible

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
public final void rebuildIfVisible(final DebuggerSession.Event event)
{
	if(isUpdateEnabled())
	{
		myRefreshNeeded = false;
		rebuild(event);
	}
	else
	{
		myRefreshNeeded = true;
	}
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:13,代码来源:UpdatableDebuggerView.java

示例7: rebuild

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
@Override
protected void rebuild(DebuggerSession.Event event) {
  myRebuildAlarm.cancelAndRequest();
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:5,代码来源:DebuggerTreePanel.java

示例8: changeEvent

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
public void changeEvent(@NotNull DebuggerContextImpl newContext, DebuggerSession.Event event) {
  if(event == DebuggerSession.Event.DETACHED) {
    close(CANCEL_EXIT_CODE);
  }
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:InspectDialog.java

示例9: changeEvent

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
protected void changeEvent(DebuggerContextImpl newContext, DebuggerSession.Event event) {
  if (event != DebuggerSession.Event.THREADS_REFRESH) {
    super.changeEvent(newContext, event);
  }
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:InspectPanel.java

示例10: changeEvent

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
protected void changeEvent(final DebuggerContextImpl newContext, final DebuggerSession.Event event) {
  if (newContext.getDebuggerSession() != null) {
    rebuildIfVisible(event);
  }
}
 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:6,代码来源:UpdatableDebuggerView.java

示例11: rebuild

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
@Override
protected void rebuild(DebuggerSession.Event event)
{
	myRebuildAlarm.cancelAndRequest();
}
 
开发者ID:consulo,项目名称:consulo-java,代码行数:6,代码来源:DebuggerTreePanel.java

示例12: rebuildIfVisible

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
void rebuildIfVisible(final DebuggerSession.Event eventContext); 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:2,代码来源:DebuggerView.java

示例13: rebuild

import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
protected abstract void rebuild(DebuggerSession.Event event); 
开发者ID:jskierbi,项目名称:intellij-ce-playground,代码行数:2,代码来源:UpdatableDebuggerView.java


注:本文中的com.intellij.debugger.impl.DebuggerSession.Event方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。