debuggercdi/com.nokia.cdt.debug.launch/src/com/nokia/cdt/internal/debug/launch/newwizard/IDebugRunProcessWizardData.java
changeset 2163 f0a9f2d04d4a
equal deleted inserted replaced
2162:aa3898248f39 2163:f0a9f2d04d4a
       
     1 /*
       
     2 * Copyright (c) 2010 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of the License "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description: 
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 package com.nokia.cdt.internal.debug.launch.newwizard;
       
    20 
       
    21 import java.util.List;
       
    22 
       
    23 import org.eclipse.core.runtime.IPath;
       
    24 
       
    25 /**
       
    26  *
       
    27  */
       
    28 public interface IDebugRunProcessWizardData {
       
    29 
       
    30 	enum EExeSelection {
       
    31 		USE_PROJECT_EXECUTABLE,
       
    32 		USE_REMOTE_EXECUTABLE,
       
    33 		ATTACH_TO_PROCESS,
       
    34 	};
       
    35 	
       
    36 	/**
       
    37 	 * Set the SIS path string
       
    38 	 * @param sisPath String
       
    39 	 */
       
    40 	void setSisPath(String sisPath);
       
    41 	
       
    42 	/**
       
    43 	 * Return the SIS path string
       
    44 	 * @return String
       
    45 	 */
       
    46 	String getSisPath();
       
    47 
       
    48 	/**
       
    49 	 * Return the install option
       
    50 	 * @return boolean
       
    51 	 */
       
    52 	boolean isInstallPackage();
       
    53 
       
    54 	/**
       
    55 	 * Set the install option
       
    56 	 * @param installPackage
       
    57 	 */
       
    58 	void setInstallPackage(boolean installPackage);
       
    59 	
       
    60 	/**
       
    61 	 * Return the exe selection
       
    62 	 * @return EExeSelection
       
    63 	 */
       
    64 	EExeSelection getExeSelection();
       
    65 
       
    66 	/**
       
    67 	 * Set exe selection
       
    68 	 * @param exeSelection EExeSelection
       
    69 	 */
       
    70 	void setExeSelection(EExeSelection exeSelection);
       
    71 	
       
    72 	/**
       
    73 	 * Derive the exe path using the exe selection
       
    74 	 * @return IPath
       
    75 	 */
       
    76 	IPath getExePath();
       
    77 
       
    78 	/**
       
    79 	 * Return all exes
       
    80 	 * @return List<IPath>
       
    81 	 */
       
    82 	List<IPath> getExes();
       
    83 
       
    84 	/**
       
    85 	 * Return a list of launchable exes
       
    86 	 * @return List<IPath>
       
    87 	 */
       
    88 	List<IPath> getLaunchableExes();
       
    89 
       
    90 	/**
       
    91 	 * Return exe selection path value
       
    92 	 * @return IPath
       
    93 	 */
       
    94 	IPath getExeSelectionPath();
       
    95 
       
    96 	/**
       
    97 	 * Set exe selection path value
       
    98 	 * @param path IPath
       
    99 	 */
       
   100 	void setExeSelectionPath(IPath path);
       
   101 
       
   102 	/**
       
   103 	 * Get default executable
       
   104 	 * @return IPath
       
   105 	 */
       
   106 	IPath getDefaultExecutable();
       
   107 
       
   108 	/** 
       
   109 	 * Return whether we can detect that the current connection is Sys TRK.
       
   110 	 * @return Boolean.TRUE if Sys TRK, Boolean.FALSE if App TRK, or <code>null</code> if unknown
       
   111 	 */
       
   112 	Boolean isSysTRKConnection();
       
   113 
       
   114 	/**
       
   115 	 * Return whether Carbide is running in an internal layout.
       
   116 	 * @return true if the installation includes known internal-only plugins
       
   117 	 */
       
   118 	boolean isInternalLayout();
       
   119 
       
   120 	/**
       
   121 	 * Return whether the installing is required for this launch
       
   122 	 * @return boolean
       
   123 	 */
       
   124 	boolean requiresInstallPackage();
       
   125 
       
   126 }