本文整理了Java中org.eclipse.debug.core.Launch.<init>()
方法的一些代码示例,展示了Launch.<init>()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。Launch.<init>()
方法的具体详情如下:
包路径:org.eclipse.debug.core.Launch
类名称:Launch
方法名:<init>
[英]Constructs a launch with the specified attributes.
[中]使用指定的属性构造启动。
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.launching
/**
* Returns a launch object to use when launching the given launch configuration in the given mode. The returned launch object is preconfigured to
* use {@link AdvancedSourceLookupDirector} as the source locator.
*/
public static ILaunch createAdvancedLaunch(ILaunchConfiguration configuration, String mode) throws CoreException {
return new Launch(configuration, mode, createSourceLocator(AdvancedSourceLookupDirector.ID, configuration));
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jdt.launching
try {
p = DebugPlugin.exec(cmdLine, null);
IProcess process = DebugPlugin.newProcess(new Launch(null, ILaunchManager.RUN_MODE, null), p, "JRE Install Detection"); //$NON-NLS-1$
for (int i= 0; i < 600; i++) {
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jdt.launching
IProcess process = DebugPlugin.newProcess(new Launch(null, ILaunchManager.RUN_MODE, null), p, "Library Detection"); //$NON-NLS-1$
for (int i= 0; i < 600; i++) {
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.launching
try {
p = DebugPlugin.exec(cmdLine, null);
IProcess process = DebugPlugin.newProcess(new Launch(null, ILaunchManager.RUN_MODE, null), p, "JRE Install Detection"); //$NON-NLS-1$
for (int i= 0; i < 600; i++) {
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.launching
IProcess process = DebugPlugin.newProcess(new Launch(null, ILaunchManager.RUN_MODE, null), p, "Library Detection"); //$NON-NLS-1$
process.setAttribute(IProcess.ATTR_CMDLINE, String.join(" ", cmdLine)); //$NON-NLS-1$
for (int i= 0; i < 600; i++) {
代码示例来源:origin: org.eclipse.scout.sdk.deps/org.eclipse.jdt.ui
wc.setAttribute(IDebugUIConstants.ATTR_PRIVATE, true);
ILaunch newLaunch= new Launch(wc, ILaunchManager.RUN_MODE, null);
IProcess iprocess= DebugPlugin.newProcess(newLaunch, process, JavadocExportMessages.JavadocWizard_javadocprocess_label);
iprocess.setAttribute(IProcess.ATTR_CMDLINE, buf.toString());
代码示例来源:origin: org.eclipse/org.eclipse.ajdt.ui
wc.setAttribute(IDebugUIConstants.ATTR_PRIVATE, true);
ILaunch newLaunch = new Launch(wc, ILaunchManager.RUN_MODE,
null);
代码示例来源:origin: eclipse/aCute
try {
ILaunchManager launchManager = DebugPlugin.getDefault().getLaunchManager();
ILaunch newLaunch = new Launch(null, ILaunchManager.RUN_MODE, null);
代码示例来源:origin: org.eclipse/org.eclipse.jdt.ui
wc.setAttribute(IDebugUIConstants.ATTR_PRIVATE, true);
ILaunch newLaunch= new Launch(wc, ILaunchManager.RUN_MODE, null);
IProcess iprocess= DebugPlugin.newProcess(newLaunch, process, JavadocExportMessages.JavadocWizard_javadocprocess_label);
iprocess.setAttribute(IProcess.ATTR_CMDLINE, buf.toString());
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.ui
wc.setAttribute(IDebugUIConstants.ATTR_PRIVATE, true);
ILaunch newLaunch= new Launch(wc, ILaunchManager.RUN_MODE, null);
IProcess iprocess= DebugPlugin.newProcess(newLaunch, process, JavadocExportMessages.JavadocWizard_javadocprocess_label);
iprocess.setAttribute(IProcess.ATTR_CMDLINE, buf.toString());
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.jdt.launching
Launch launch = new Launch(null, ILaunchManager.RUN_MODE, null);
if (monitor.isCanceled()) {
return map;
代码示例来源:origin: org.eclipse.jdt/org.eclipse.jdt.launching
Launch launch = new Launch(null, ILaunchManager.RUN_MODE, null);
if (monitor.isCanceled()) {
return map;
代码示例来源:origin: org.eclipse/org.eclipse.jst.server.tomcat.core
VMRunnerConfiguration config = new VMRunnerConfiguration("org.eclipse.jst.server.tomcat.core.internal.ClassDetector", new String[] { file.getAbsolutePath() });
config.setProgramArguments(new String[] { "com.sun.tools.javac.Main" });
ILaunch launch = new Launch(null, ILaunchManager.RUN_MODE, null);
try {
vmRunner.run(config, launch, null);
代码示例来源:origin: org.eclipse.platform/org.eclipse.debug.ui
launch = new Launch(flaunchConfiguration, fMode, null);
} else {
代码示例来源:origin: sdbg/sdbg
/**
* Create a temporary launch with the given id and name. This launch is not yet registered with
* the ILaunchManager.
*
* @param id
* @param name
* @return
* @throws CoreException
*/
public static ILaunch createTemporaryLaunch(String id, String name) throws CoreException {
ILaunchManager manager = DebugPlugin.getDefault().getLaunchManager();
ILaunchConfigurationType type = manager.getLaunchConfigurationType(id);
ILaunchConfigurationWorkingCopy launchConfig = type.newInstance(
null,
manager.generateLaunchConfigurationName(name));
// TODO(devoncarew): is this necessary?
launchConfig.delete();
SDBGSourceLookupDirector sourceLookupDirector = new SDBGSourceLookupDirector();
sourceLookupDirector.initializeDefaults(launchConfig);
return new Launch(launchConfig, ILaunchManager.DEBUG_MODE, sourceLookupDirector);
}
代码示例来源:origin: at.bestsolution.efxclipse.eclipse/org.eclipse.debug.core
launch = new Launch(this, mode, null);
} else {
内容来源于网络,如有侵权,请联系作者删除!