blob: 6039c349c700dbb21d80ba0813e247b3add61711 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
/*******************************************************************************
* Copyright (c) 2006 Nokia and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
* http://www.eclipse.org/legal/epl-v10.html
*
* Contributors:
* Nokia - initial API and implementation
*******************************************************************************/
package org.eclipse.cdt.debug.ui.importexecutable;
import org.eclipse.debug.core.ILaunchConfigurationType;
import org.eclipse.swt.widgets.FileDialog;
/**
* Reference implementation of a wizard that imports executables.
* Create your own version to import specific kinds of executables
* with product specific messages and launch configuration types.
*
*
*/
public class ImportExecutableWizard extends AbstractImportExecutableWizard {
public String getPageOneTitle() {
return Messages.ImportExecutableWizard_pageOneTitle;
}
public String getPageOneDescription() {
return Messages.ImportExecutableWizard_pageOneDescription;
}
public String getExecutableListLabel() {
return Messages.ImportExecutableWizard_executableListLabel;
}
public void setupFileDialog(FileDialog dialog) {
dialog.setText(Messages.ImportExecutableWizard_fileDialogTitle);
}
public boolean supportsConfigurationType(ILaunchConfigurationType type) {
return true;
}
}
|