Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
View | Details | Raw Unified | Return to bug 192300
Collapse All | Expand All

(-)src/org/eclipse/tptp/trace/ui/internal/launcher/core/LauncherUtility.java (+19 lines)
Lines 667-672 Link Here
667
		return list;
667
		return list;
668
	}
668
	}
669
	
669
	
670
	/**
671
	 * Returns a list of the default options -- by default everything is turned off.
672
	 *  
673
	 * @return A default set of options for the Agent Controller
674
	 */
675
	public static ProfilingAttribute[] getDefaultProfilingOptionsAttributes() 
676
	{
677
		String[][] options = Options.OPTIONS_DEFAULT;
678
679
		ProfilingAttribute[] attributes = new ProfilingAttribute[options.length];
680
		
681
		final String PREFIX = "SETOPTION_";
682
		for (int i=0;i<options.length;++i) 
683
		{
684
			attributes[i] = new ProfilingAttribute(PREFIX + options[i][0], options[i][1]);
685
		}
686
		
687
		return attributes;
688
	}
670
	
689
	
671
	/**
690
	/**
672
	 * Removes all duplicate option keys. The resulting value is
691
	 * Removes all duplicate option keys. The resulting value is
(-)src/org/eclipse/hyades/trace/ui/internal/launcher/AttachDelegate.java (+3 lines)
Lines 222-227 Link Here
222
	private Vector retrieveOptions(List selectedAgents, ILaunchConfiguration config)
222
	private Vector retrieveOptions(List selectedAgents, ILaunchConfiguration config)
223
	{
223
	{
224
		final Vector options = new Vector();
224
		final Vector options = new Vector();
225
		
226
		addAttributes(options, LauncherUtility.getDefaultProfilingOptionsAttributes());
227
		
225
		try
228
		try
226
		{			
229
		{			
227
			for (int i = 0, selectedAgentCount = selectedAgents.size(); i < selectedAgentCount; i++)
230
			for (int i = 0, selectedAgentCount = selectedAgents.size(); i < selectedAgentCount; i++)

Return to bug 192300