📄 launchenvironment.java
字号:
/**
* Copyright (c) 2003-2005 Craig Setera
* All Rights Reserved.
* Licensed under the Eclipse Public License - v 1.0
* For more information see http://www.eclipse.org/legal/epl-v10.html
*/
package eclipseme.core.model;
import org.eclipse.debug.core.ILaunchConfiguration;
/**
* The launch environment provides the necessary information to an
* instance of IDevice for determining the correct command-line
* for executing the device.
* <p />
* Copyright (c) 2003-2005 Craig Setera<br>
* All Rights Reserved.<br>
* Licensed under the Eclipse Public License - v 1.0<p/>
* <br>
* $Revision: 1.1 $
* <br>
* $Date: 2006/02/11 21:26:57 $
* <br>
* @author Craig Setera
*/
public class LaunchEnvironment {
private boolean debugLaunch;
private int debugListenerPort;
private IMidletSuiteProject midletSuite;
private ILaunchConfiguration launchConfiguration;
/**
* Return the port number to be used for debugging.
*
* @return
*/
public int getDebugListenerPort() {
return debugListenerPort;
}
/**
* Return the launch configuration that was used to
* launch the emulation.
*
* @return
*/
public ILaunchConfiguration getLaunchConfiguration() {
return launchConfiguration;
}
/**
* @return Returns the midletSuite.
*/
public IMidletSuiteProject getMidletSuite() {
return midletSuite;
}
/**
* Return a boolean indicating whether the launch
* should be done for debug or not.
*
* @return
*/
public boolean isDebugLaunch() {
return debugLaunch;
}
/**
* @param debugLaunch The debugLaunch to set.
*/
public void setDebugLaunch(boolean debugLaunch) {
this.debugLaunch = debugLaunch;
}
/**
* @param debugListenerPort The debugListenerPort to set.
*/
public void setDebugListenerPort(int debugListenerPort) {
this.debugListenerPort = debugListenerPort;
}
/**
* @param launchConfiguration The launchConfiguration to set.
*/
public void setLaunchConfiguration(ILaunchConfiguration launchConfiguration) {
this.launchConfiguration = launchConfiguration;
}
/**
* @param midletSuite The midletSuite to set.
*/
public void setMidletSuite(IMidletSuiteProject midletSuite) {
this.midletSuite = midletSuite;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -