Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Mobile Tools for Java
Release 1.0

org.eclipse.mtj.core.launching
Class LaunchEnvironment


java.lang.Object
  extended by 
org.eclipse.mtj.core.launching.LaunchEnvironment

public class LaunchEnvironment
extends Object

The launch environment provides the necessary information to an IDevice implementation in order to determine the correct command-line for execution of an emulator.

Since:
1.0
Restriction:
This class is not intended to be subclassed by clients.

Constructor Summary
LaunchEnvironment ()
           
 
Method Summary
 int getDebugListenerPort ()
          Return the port number to be used for debugging.
 ILaunchConfiguration getLaunchConfiguration ()
          Return the launch configuration that was used to launch the emulation.
  IMTJProject getProject ()
          Return the project that contains the resources that may be launched.
 boolean isDebugLaunch ()
          Return a boolean indicating whether the launch should be done for debug or not.
 void setDebugLaunch (boolean debugLaunch)
          Indicate whether the launch should be done for debug or not.
 void setDebugListenerPort (int debugListenerPort)
          Set the port to be listened for debugging.
 void setLaunchConfiguration (ILaunchConfiguration launchConfiguration)
          Set the launch configuration that must be used to launch the emulation.
 void setProject ( IMTJProject mtjProject)
          Set the project that contains the resources that may be launched.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LaunchEnvironment

public LaunchEnvironment()
Method Detail

getDebugListenerPort

public int getDebugListenerPort()
Return the port number to be used for debugging.

Returns:
the debug port number.

getLaunchConfiguration

public ILaunchConfiguration getLaunchConfiguration()
Return the launch configuration that was used to launch the emulation.

Returns:
A launch configuration that describes how to launch the emulator.

getProject

public 
IMTJProject getProject()
Return the project that contains the resources that may be launched.

Returns:
Returns the IMTJProject that resources that may be launched.

isDebugLaunch

public boolean isDebugLaunch()
Return a boolean indicating whether the launch should be done for debug or not.

Returns:
true to indicate that the launch should be made in debug mode, false otherwise.

setDebugLaunch

public void setDebugLaunch(boolean debugLaunch)
Indicate whether the launch should be done for debug or not.

Parameters:
debugLaunch - use true to indicate that the launch should be made in debug mode, false otherwise.

setDebugListenerPort

public void setDebugListenerPort(int debugListenerPort)
Set the port to be listened for debugging.

Parameters:
debugListenerPort - the port to be listened for debugging.

setLaunchConfiguration

public void setLaunchConfiguration(ILaunchConfiguration launchConfiguration)
Set the launch configuration that must be used to launch the emulation.

Parameters:
launchConfiguration - The launch configuration that must be used to launch the emulation.

setProject

public void setProject(
IMTJProject mtjProject)
Set the project that contains the resources that may be launched.

Parameters:
mtjProject - The IMTJProject that contains the resources that may be launched.

Mobile Tools for Java
Release 1.0


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire