本文整理汇总了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);
}
});
}
示例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;
}
}
示例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);
}
});
}
示例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;
}
}
示例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);
}
}
示例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;
}
}
示例7: rebuild
import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
@Override
protected void rebuild(DebuggerSession.Event event) {
myRebuildAlarm.cancelAndRequest();
}
示例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);
}
}
示例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);
}
}
示例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);
}
}
示例11: rebuild
import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
@Override
protected void rebuild(DebuggerSession.Event event)
{
myRebuildAlarm.cancelAndRequest();
}
示例12: rebuildIfVisible
import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
void rebuildIfVisible(final DebuggerSession.Event eventContext);
示例13: rebuild
import com.intellij.debugger.impl.DebuggerSession; //导入方法依赖的package包/类
protected abstract void rebuild(DebuggerSession.Event event);