blob: 9f3f557d4f01ea62e652dd951f9c8ee7a31adc0c (
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
|
/*******************************************************************************
* Copyright (c) 2017 QNX Software Systems 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
*******************************************************************************/
package org.eclipse.cdt.debug.internal.ui.launch;
import org.eclipse.jface.wizard.WizardPage;
import org.eclipse.swt.SWT;
import org.eclipse.swt.widgets.Composite;
public class NewGenericTargetWizardPage extends WizardPage {
private GenericTargetPropertiesBlock propertiesBlock;
public NewGenericTargetWizardPage() {
super(NewGenericTargetWizardPage.class.getName());
setTitle("Generic Target");
setDescription("Enter name and properties for the target.");
}
@Override
public void createControl(Composite parent) {
propertiesBlock = new GenericTargetPropertiesBlock(parent, SWT.NONE);
setControl(propertiesBlock);
}
public String getTargetName() {
return propertiesBlock.getTargetName();
}
public String getOS() {
return propertiesBlock.getOS();
}
public String getArch() {
return propertiesBlock.getArch();
}
}
|