1
/*******************************************************************************
2
* Copyright (c) 2004, 2006 QNX Software Systems and others.
3
* All rights reserved. This program and the accompanying materials
4
* are made available under the terms of the Eclipse Public License v1.0
5
* which accompanies this distribution, and is available at
6
* http://www.eclipse.org/legal/epl-v10.html
9
* QNX Software Systems - Initial API and implementation
10
*******************************************************************************/
11
package org.eclipse.cdt.debug.mi.ui;
13
import org.eclipse.cdt.debug.mi.internal.ui.GDBSolibBlock;
14
import org.eclipse.cdt.debug.mi.internal.ui.SolibSearchPathBlock;
15
import org.eclipse.cdt.debug.mi.internal.ui.dialogfields.IListAdapter;
18
* This class provides utilities for clients of the MI UI.
20
public class MIUIUtils {
22
public static IMILaunchConfigurationComponent createGDBSolibBlock( IMILaunchConfigurationComponent solibSearchBlock, boolean autoSolib, boolean stopOnSolibEvents ) {
23
return new GDBSolibBlock( solibSearchBlock, autoSolib, stopOnSolibEvents );
26
public static IMILaunchConfigurationComponent createGDBSolibBlock( boolean autoSolib, boolean stopOnSolibEvents ) {
27
return new GDBSolibBlock( new SolibSearchPathBlock(), autoSolib, stopOnSolibEvents );
30
public static IMILaunchConfigurationComponent createSolibSearchPathBlock( String[] customButtonLabels, IListAdapter listAdapter ) {
31
return new SolibSearchPathBlock( customButtonLabels, listAdapter );