本文整理了Java中org.eclipse.debug.core.Launch.isTerminated()
方法的一些代码示例,展示了Launch.isTerminated()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Launch.isTerminated()
方法的具体详情如下:
包路径:org.eclipse.debug.core.Launch
类名称:Launch
方法名:isTerminated
暂无
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.debug.core
@Override
public void handleDebugEvents(DebugEvent[] events) {
for (int i = 0; i < events.length; i++) {
DebugEvent event = events[i];
if (event.getKind() == DebugEvent.TERMINATE) {
Object object = event.getSource();
ILaunch launch = null;
if (object instanceof IProcess) {
launch = ((IProcess)object).getLaunch();
} else if (object instanceof IDebugTarget) {
launch = ((IDebugTarget)object).getLaunch();
}
if (this.equals(launch)) {
if (isTerminated()) {
fireTerminate();
}
}
}
}
}
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.launching
if (!launch.isTerminated()) {
launch.terminate();
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jdt.launching
if (!launch.isTerminated()) {
launch.terminate();
内容来源于网络,如有侵权,请联系作者删除!