blob: d1bee1a17dea57f30907f79ecdf68d10ed5a9d80 (
plain)
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
|
package org.yocto.bc.ui.wizards.variable;
import java.util.Hashtable;
import java.util.Map;
import org.eclipse.jface.viewers.IStructuredSelection;
import org.yocto.bc.ui.wizards.FiniteStateWizard;
/**
* This wizard is used to view, filter, and search for BitBake variables and variable contents.
* @author kgilmer
*
*/
public class VariableWizard extends FiniteStateWizard {
private Map model;
public VariableWizard(Map model) {
this.model = model;
setWindowTitle("Yocto Project BitBake Commander");
}
public VariableWizard(IStructuredSelection selection) {
model = new Hashtable();
}
@Override
public void addPages() {
addPage(new VariablePage(model));
}
@Override
public Map getModel() {
return model;
}
@Override
public boolean performFinish() {
return true;
}
}
|