blob: 0ca6d2432d7bfa23d8a09df1117f6d0d855b37a5 (
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
46
47
48
49
50
|
/*******************************************************************************
* Copyright (c) 2006, 2012 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 {
@Override
public String getPageOneTitle() {
return Messages.ImportExecutableWizard_pageOneTitle;
}
@Override
public String getPageOneDescription() {
return Messages.ImportExecutableWizard_pageOneDescription;
}
@Override
public String getExecutableListLabel() {
return Messages.ImportExecutableWizard_executableListLabel;
}
@Override
public void setupFileDialog(FileDialog dialog) {
dialog.setText(Messages.ImportExecutableWizard_fileDialogTitle);
}
@Override
public boolean supportsConfigurationType(ILaunchConfigurationType type) {
return true;
}
}
|